PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
This site is visited 28 times.
Uhoh! The PHP script cant open hits.txt #2PHP Warning: fopen(hits.txt): failed to open stream: Permission denied in C:\web\dnb\index.php on line 62
hits.txt includes the number 28!
I2m running PHP under IIS. I think it's a problem with IIS...
You can set permissions for any object in IIS, including Web sites, folders, files, and scripts. To set the permissions for an object in IIS:
Log on to the Web server computer as an administrator.
Click Start, point to Settings, and then click Control Panel.
Double-click Administrative Tools, and then double-click Internet Services Manager.
Right-click the Web site that you want to configure in the left pane, and then click Properties.
If you want to set the permissions for a Web site's home folder, click the Home Directory tab.
If you want to set the permissions for a folder in a Web site, click the Directory tab.
If you want to set the permissions for a file or a script in a folder, click the File tab.
Click the corresponding permissions that you want to set for the object.
Click OK
Last edited by JayBird on Mon Sep 01, 2003 6:52 am, edited 5 times in total.
Oh, sorry. Totally missed that in your first post. =/
It really looks like an IIS issue, but my knowledge about that is not to good. http://se.php.net/manual/en/install.iis.php has some interesting user notes about user permissions that might be helpful.