Okay, I'm having quite a time trying to figure this out... any assistance is greatly appreciated 🙁
I am using IIS 6.0, PHP 5.02, IE 6.02, Windows XP environment (if you need anything else just post)
I'm making an "fopen" call in one of my PHP pages. It works perfectly when I have Anonymous Access ENABLED on my website.
if (($fd = @fopen("http://mysite/htmlfiletoread.html", "rb")) === FALSE) {
echo "Unable to open file, exiting\n";
exit -1;
}
However, as soon as I DISABLE Anonymous Access in IIS (for other security reasons) I get the following error:
PHP Warning: main(http://mysite/htmlfiletoread.html)
It would seem obvious to me that this is a file permissions error... but I have given Full Control to Everyone, Authenticated Users, IUSR<servername>, IUSR_WPG, <server>Users, SYSTEM... that's everyone I could possibly think of and I have given them full file permission control (just to eliminate that as the problem) and I still get the above error.
Any ideas as to why that doesn't work? I have Integrated Windows Authentication selected when I disable Anonymous Access. I can get to all the webpages just fine. I am trying to call fopen to another webpage on my site (which I can also get to just fine when Anonymous Access is disabled) I just can't perform an "fopen" on it.
Please let me know what I'm missing? :queasy:
Thanks!!