Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
Pages: [1]
Send this topic | Print
Topic: Form help...  (Read 2958 times)
« on: January 25, 2005, 05:28:57 PM »
Senior Member
NOA_JOSH Offline
Senior Member
Member

View Profile WWW
***
Posts: 167



I want to make a form i'm using that will store the information entered in it to a .txt file but I don't realy know how to do that.


Can anyone help?
 huh
Report to moderator   Logged


 
« Reply #1 on: January 25, 2005, 05:30:36 PM »
The Super Moderator
Kistler Offline
The Super Moderator
Global Moderator
Sr. Member

View Profile
*****
Posts: 449



i am doing that for some one at the moment sorta
Report to moderator   Logged
« Reply #2 on: January 25, 2005, 08:49:07 PM »
Junior Member
St3v3 Offline
Junior Member
Newbie

View Profile
*
Posts: 18



Do you want it all in seperate txt files, or just in one? Here is a simple script for all in one file:


Put this in your site where you want the  form to be.

Code:

Message:







This form sends the information to post.php, create this one now:

Code:
$seperate =" || ";
$data = "information.txt";
$file = fopen($data, "a+");
fputs($file, "");
fclose($file);
echo ("Your information has been sent");
?>



Now just make an empty file called information.txt, put this all in the same directory and it should work.  cool

Hope it'll help ya,

Peace, St3v3
Report to moderator   Logged
« Reply #3 on: January 25, 2005, 09:17:40 PM »
Senior Member
NOA_JOSH Offline
Senior Member
Member

View Profile WWW
***
Posts: 167



Thanks once again  cool
Report to moderator   Logged

« Reply #4 on: January 25, 2005, 09:19:31 PM »
The Super Moderator
Kistler Offline
The Super Moderator
Global Moderator
Sr. Member

View Profile
*****
Posts: 449



yeah thats what i did for the mario guy but he wants more of a forum not a shout. so i am slowly working on scripting somthing or finding one
Report to moderator   Logged
« Reply #5 on: January 25, 2005, 09:23:54 PM »
Junior Member
St3v3 Offline
Junior Member
Newbie

View Profile
*
Posts: 18



hmmm for a simple forum I advise you to check out http://www.spoono.com  There's a tutorial there on how to code a really simple but nice one.

EDIT: a link directly to the tutorial - http://www.spoono.com/php/tutorials/tutorial.php?id=43
Report to moderator   Logged
« Reply #6 on: January 25, 2005, 09:24:48 PM »
Senior Member
NOA_JOSH Offline
Senior Member
Member

View Profile WWW
***
Posts: 167



Quote from: Kistler
yeah thats what i did for the mario guy but he wants more of a forum not a shout. so i am slowly working on scripting somthing or finding one



Hmmmm.... scripting a forum can be alot of work... have you showed him the navboard flat file forum?
Report to moderator   Logged

« Reply #7 on: January 25, 2005, 09:29:29 PM »
Junior Member
St3v3 Offline
Junior Member
Newbie

View Profile
*
Posts: 18



That one does uses mysql though. don't know if that's a problem?
Report to moderator   Logged
« Reply #8 on: January 25, 2005, 09:36:41 PM »
Senior Member
NOA_JOSH Offline
Senior Member
Member

View Profile WWW
***
Posts: 167



Quote from: St3v3
That one does uses mysql though. don't know if that's a problem?




Navboard? I don't remember it using SQL *go's to check*
Report to moderator   Logged

« Reply #9 on: January 25, 2005, 09:39:05 PM »
Junior Member
St3v3 Offline
Junior Member
Newbie

View Profile
*
Posts: 18



No navboard doesn't.

Quote from: St3v3
hmmm for a simple forum I advise you to check out http://www.spoono.com  There's a tutorial there on how to code a really simple but nice one.

EDIT: a link directly to the tutorial - http://www.spoono.com/php/tutorials/tutorial.php?id=43


That's what I was talkin about when I referred to the use of MySQL Wink
Report to moderator   Logged
« Reply #10 on: January 25, 2005, 10:33:43 PM »
The Super Moderator
Kistler Offline
The Super Moderator
Global Moderator
Sr. Member

View Profile
*****
Posts: 449



i found a txt forum, i am testing it now
Report to moderator   Logged
 
Pages: [1]
Send this topic | Print
Jump to:  

Powered by SMF | SMF © 2006-2008, Simple Machines LLC