Please, Help Me!
Posted: Thu Feb 12, 2009 11:47 am
Hey there guys,
I'm trying to open a file which is in localhost, but I receive this error message:
Oh, and there's not a "/home/arcamani/public_html/admin/" folder.
Can someone help me, please?
Thank you.
I'm trying to open a file which is in localhost, but I receive this error message:
The code pointed by the message:Warning: fopen(newsletter/smtp.txt) [function.fopen]: failed to open stream: Permission denied in /home/arcamani/public_html/admin/smtp_newsletter.php on line 13
Warning: fwrite(): supplied argument is not a valid stream resource in /home/arcamani/public_html/admin/smtp_newsletter.php on line 14
Warning: fclose(): supplied argument is not a valid stream resource in /home/arcamani/public_html/admin/smtp_newsletter.php on line 15
Code: Select all
$open = fopen("newsletter/smtp.txt","w");
$gravar = fwrite($open,$mens);
fclose($open);Can someone help me, please?
Thank you.