Need Some Webdev Help.


NssOne

I am One with the DarkNss
Joined
Jun 11, 2003
Messages
1,108
Age
41
Location
RIGHT BEHIND YOU! Scary, huh?
Website
www.gp32us.com
I'm looking for some kind of code or script that I can use in a website that will allow somebody to type into a form and when done updates on the website without the website being databsase-driven. Anybody know of stuff like this?
 
You'll need to use some Server Side Scripting. PHP, Perl, ASP or something. Then make a text file, and you can add things to it with the script. There are lots of tuts for things like that, google it :)
 
I did that once...

Useful PHP functions:

Code:
$file_handle = fopen("afile.txt", "a+");
open a file name "afile.txt" in append mode.

Code:
fwrite($file_handle, "hello world");
write "hello world" to the file

Code:
fclose($file_handle);
close the file
 
If you just want form entries sent to you via email, that's easy thanks to a form mailer script. If you actually want the stuff updating in real time, yes you will have to use PHP or similar.
 
Back
Top