I need help with fopen()
| From: | Rob Hermann | Date: | Wed, 17 Sep 2003 19:30:32 +0000 |
| Subject: | I need help with fopen() | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-21407@lists.php.net to get a copy of this message | ||
$profilename="f:/inetpub/wwwroot/PHP_HeadHunterWebSite/HeadHunter/".$FIRSTNA
ME."_".$LASTNAME."_MemberProfile.html";
OR
$profilename="f:\inetpub\wwwroot\PHP_HeadHunterWebSite/HeadHunter\".$FIRSTNA
ME."_".$LASTNAME."_MemberProfile.html";
@unlink($profilename);
$htmlfile=fopen($profilename,"w");
I'm woirkign on a windows2000 server php 4.3.1
I've check all my permissions .. they are fine .. any other suggestions
Warning:
fopen(f:/inetpub/wwwroot/PHP_HeadHunterWebSite/HeadHunter/test_test_MemberPr
ofile.html) [function.fopen]: failed to create stream: Permission denied in
f:\inetpub\wwwroot\PHP_HeadHunterWebSite\HeadHunter\creatememberprofile_crea
teit.php on line 31