
January 9th, 2000, 03:50 PM
|
|
Junior Member
|
|
Join Date: Jan 2000
Location: Belgium
Posts: 7
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
Hi all,
I made a script for logging the emails that they send on my site. It works fine on windows 98 version, but when I upload it to a Linux computer it fails.
Here are the first lines of the script:
$file = fopen("log/index.html", "a+");
$today = date("G:i, l jS Y");
if ($argv[0] == "contact")
{
if ($name == "")
{
fputs($file, "Text comes here";
fclose$file);
}
Then the output is:
Warning: fopen("log/index.html","a+") - Permission denied in /home/jonathan/public_html/beftubbies/email.php3 on line 3
Warning: Unable to find file identifier 0 in /home/jonathan/public_html/beftubbies/email.php3 on line 30
Warning: Unable to find file identifier 0 in /home/jonathan/public_html/beftubbies/email.php3 on line 31
Thank you.
-Jonathan
http://www.sterkwater.net/~jonathan/beftubbies
|