Pleas Help Me (File Upload and delete)

This is a discussion on Pleas Help Me (File Upload and delete) within the PHP Language forums, part of the PHP Programming Forums category; hi any one help me to .. fix this problem I am using Windows Xp using Xamp to run my php ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-01-2008
Damodhar
 
Posts: n/a
Default Pleas Help Me (File Upload and delete)

hi any one help me to .. fix this problem


I am using Windows Xp using Xamp to run my php application

while unlink the file i received one error like Access denied in my
local machine how can i give write permission to this particular
folder.

how can i solve please any one help me to fix.

Reply With Quote
  #2 (permalink)  
Old 05-01-2008
Erwin Moller
 
Posts: n/a
Default Re: Pleas Help Me (File Upload and delete)

Damodhar schreef:
> hi any one help me to .. fix this problem
>
>
> I am using Windows Xp using Xamp to run my php application
>
> while unlink the file i received one error like Access denied in my
> local machine how can i give write permission to this particular
> folder.
>
> how can i solve please any one help me to fix.
>


Hi Damodhar,

PHP is just a process, so it runs as a certain user.
Since you installed Xamp, you run Apache.
I am not very knowledgable when it comes to Xamp (I install all by
hand), but I never saw an Apache with a username other that:
- www-data
- nobody
- apache

Look them up in your useradministration thingy.

Then you know which user runs PHP (via Apache).

Make sure that user has rights on the directory or file you want to unlink.

Regards,
Erwin Moller
Reply With Quote
  #3 (permalink)  
Old 05-01-2008
Jerry Stuckle
 
Posts: n/a
Default Re: Pleas Help Me (File Upload and delete)

Damodhar wrote:
> hi any one help me to .. fix this problem
>
>
> I am using Windows Xp using Xamp to run my php application
>
> while unlink the file i received one error like Access denied in my
> local machine how can i give write permission to this particular
> folder.
>
> how can i solve please any one help me to fix.
>
>


Try a Windows newsgroup. They can help you with Windows settings.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

Reply With Quote
  #4 (permalink)  
Old 05-02-2008
Álvaro G. Vicario
 
Posts: n/a
Default Re: Pleas Help Me (File Upload and delete)

Damodhar escribió:
> I am using Windows Xp using Xamp to run my php application
>
> while unlink the file i received one error like Access denied in my
> local machine how can i give write permission to this particular
> folder.


As you've already been told, this is off-topic.

Right click on the folder icon, choose "Properties" and go to the
"Security" tab. Add there the appropriate user and grant the desired
permissions.

What's the user? If you run Apache as a regular program then the user is
*you*. If you run Apache as service then you must find out. Hit Win+R
and type "services.msc". Find "Apache" in the list and double click on
it. The user is specified in the second tab ("Iniciar sesión" in
Spanish, not sure about English versions of Windows). If you're hitting
permission issues I suggest you create a Windows user for Apache and set
it there, rather than using the LOCAL_SYSTEM default user.



--
-- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web: http://bits.demogracia.com
-- Mi web de humor al baño María: http://www.demogracia.com
--
Reply With Quote
  #5 (permalink)  
Old 05-02-2008
C. (http://symcbean.blogspot.com/)
 
Posts: n/a
Default Re: Pleas Help Me (File Upload and delete)

On 2 May, 11:15, "Álvaro G. Vicario"
<alvaroNOSPAMTHA...@demogracia.com> wrote:
> Damodhar escribió:
>
> > I am using Windows Xp using Xamp to run my php application

>
> > while unlink the file i received one error like Access denied in my
> > local machine how can i give write permission to this particular
> > folder.

>
> As you've already been told, this is off-topic.
>


... make sure nothing else is using the file. File locking in
MSWindows is very greedy.

C.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:18 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0