PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.lang.php > Pleas Me (File Upload and delete)
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Pleas Me (File Upload and delete)

Réponse
 
LinkBack Outils de la discussion
Vieux 01/05/2008, 13h11   #1
Damodhar
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Pleas Me (File Upload and delete)

hi any one 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 me to fix.

  Réponse avec citation
Vieux 01/05/2008, 13h26   #2
Erwin Moller
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Pleas Me (File Upload and delete)

Damodhar schreef:
> hi any one 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 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
  Réponse avec citation
Vieux 01/05/2008, 13h30   #3
Jerry Stuckle
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Pleas Me (File Upload and delete)

Damodhar wrote:
> hi any one 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 me to fix.
>
>


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

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

  Réponse avec citation
Vieux 02/05/2008, 11h15   #4
Álvaro G. Vicario
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Pleas 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
--
  Réponse avec citation
Vieux 02/05/2008, 11h54   #5
C. (http://symcbean.blogspot.com/)
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Pleas 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.
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 08h10.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,14577 seconds with 13 queries