RE: [PHP-WIN] Rights to delete?
| From: | Styve Couture | Date: | Thu, 22 Feb 2007 15:33:03 +0000 |
| Subject: | RE: [PHP-WIN] Rights to delete? | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-27513@lists.php.net to get a copy of this message | ||
I really don't know. I didn't succeeded when trying the last time. And since I have been
move to another project, I haven't finished my migration from Apache to IIS on my previous
project so...
And it was my last thing to solve if I remember right. :( It is why I'm interested in the
solution. :)
Sorry that I can't help much more.
Regards
Styve
-----Message d'origine-----
De : Gustav Wiberg [mailto:gustav@hmn.se]
Envoyé : 22 février 2007 10:18
À : Styve Couture; 'php-windows@lists.php.net'
Objet : RE: [PHP-WIN] Rights to delete?
Hi there!
I know which user it is. The problem is that nothing happens with the permissons... I assign the
Internet IUSR to a specific folder.
Then I try and run my php-script. Do I have to restart IIS?
Best regards
/Gustav Wiberg
-----Original Message-----
From: Styve Couture [mailto:styve.couture@novo.ca]
Sent: Thursday, February 22, 2007 3:42 PM
To: Gustav Wiberg; php-windows@lists.php.net
Subject: RE: [PHP-WIN] Rights to delete?
I had the same problem when I have tried to migrate from Apache to IIS.
What I know is that with IIS and ASP.NET you have to go under the security option for your folder
and give the right "modify" for the user NETWORK_SERVICE (under 2003 Server). This allows
ASP.NET to delete files (like old logs for example).
So I thing you may have to find the right user (the one PHP use for executing its script) and gave
it the right rights.
Please keep me informed if you find something.
Regards
Styve
-----Message d'origine-----
De : Gustav Wiberg [mailto:gustav@hmn.se]
Envoyé : 22 février 2007 09:04
À : 'php windows' (php-windows@lists.php.net)
Objet : [PHP-WIN] Rights to delete?
Hello!
This is not strictly a PHP-question, but I hope anyone can help me... :-)
What has to be done on the webserver (IIS6.0) and the server if I want to delete a file from a
PHP-script?
I have tested with settings right IUSER.. On the server. But I still can't delete the files in
a specific folder (like images/products)
Best regards
/Gustav Wiberg
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php