Help with HTML ( easy )
hes talking about fwrite in php. Its easy to get on.
You can do this by:
You can do this by:
Code: Select all
I wont do it all for you but you can figure it out from here//Overwrites all text.
$fp = fopen("layout/logs/chat.php", 'w');
fwrite($fp, "Writes over everything");
fclose($fp);
//Adds text to file.
$fp = fopen("layout/logs/chat.php", 'a');
fwrite($fp, "Adds to text.");
fclose($fp);
//Will print to screen.
$fp = fopen("layout/logs/chat.php", "r");
$contents = fread($fp, filesize("layout/logs/chat.php"));
fclose($fp);
echo $contents;
Copyright Information
Copyright © Codenstuff.com 2020 - 2023