Hello!
Now I will push my luck here. :rolleyes:
I do have this code, how do I plese make so:
1)If the file don't exists, make one automatic and
set the rights so it can be written to(or do I have to do that manually in the FTP program?)
2) Add the date and time to the textfile in the beginning for every entry
3)Get a new entry below the existing ones
Thats all. 🙂
<?
//This writes the data to the textfile
$filename = "contactinfo.txt";
//Opends the file
$open_file = fopen($filename, "w");
fwrite($open_file, "\n\nFile: $file\nname: $name\n company: $company\n email: $email\n phone: $phone");
//Closes the file
fclose($open_file);
?>