View Single Post
Old 11-02-2009, 04:43 AM   #2 (permalink)
Village Idiot
Wizard
Top Contributor 
 
Village Idiot's Avatar
 
Join Date: Sep 2007
Posts: 1,299
Thanks: 17
Village Idiot is on a distinguished road
Default

Quote:
Originally Posted by Dave View Post
I like to read simple scripts in hopes that I might accidentally learn something. I downloaded a one-file script entitled "guestbook.php. The notes said:

--> Doesn't use database. Writes all info to entries.php.

My question is, what might "entries.php" look like? Don't mean a long, involved description, just a quick thought.

Thanks!
Dave
Never directly write to a PHP file, or any other executable file for that matter. If you don't want to use a database, use a CSV file.
__________________

Village Idiot is offline  
Reply With Quote
The Following User Says Thank You to Village Idiot For This Useful Post:
Dave (11-02-2009)