View Single Post
  #1 (permalink)  
Old 01-11-04, 10:17 PM
tiny tiny is offline
Newbie Coder
 
Join Date: Jan 2004
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
php write to file

I am ok with php but the script I need seems out of my league. I need a script that lets a user enter a name in a Text box and then hits Submit. Upon doing this I need the data he/she entered to write to a simple prewritten .txt file and launch a cgi program.

Here is the best example I can give.
1. user enters name (tiny)
2. hits submit
3. Name(tiny) is writen to the .txt file like this /name:tiny

4. cgi program is launched.

Example of prewrittem txt file.

Text jjjjjjjjj
Text lllllllll
Text jjjjjjjj
Text iiiiiiiiiii /sample /name:tiny (<-----written from script)

The cgi program actually reads this text file and needs it to launch the program.

Hope you all can Help


Thanks,
Tiny
Reply With Quote