I need help!

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Rambo
Forum Newbie
Posts: 4
Joined: Sun Aug 14, 2005 11:27 pm

I need help!

Post by Rambo »

Ok, well, Im going to get down to the point. I need a php code. I'm in the middle of coding my own instant messanger and it supports sn's and passwords. And one my instant messangers website I will have a screen name registration page. And I will have all the forms like "Screen Name: then the text box" Password: yada yada yada. When someone types the screen name and password they want, I want that information to be sent to a text file, in the text file list the screen name and password they registered, Ie:ScreenName1:Password1 in a text file. I found some tutorials on this but I just couldnt get it right. Could someone link me or paste the code I need, it will be highly appreciated. Thanks :D
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

use a database, it's far more straight forward and less prone to hacking and breakage.

No offense, but your choice of thread subject needs work :P
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Post by s.dot »

if you want to use a text file, look into fwrite() (i think) and explode()
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
Rambo
Forum Newbie
Posts: 4
Joined: Sun Aug 14, 2005 11:27 pm

I need help!

Post by Rambo »

I dont want to use a data base, it would be more trouble. :(

and heh, it's just a thread title :wink:

and scrot, what do you mean? I dont really have alot of knowledge in php, but do you have an actuall script I can learn off of :D
Last edited by Rambo on Mon Aug 15, 2005 12:13 am, edited 1 time in total.
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Post by s.dot »

database would be much more secure and definately worth the "trouble"
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
Rambo
Forum Newbie
Posts: 4
Joined: Sun Aug 14, 2005 11:27 pm

Post by Rambo »

well I know two <span style='color:blue' title='I&#39;m naughty, are you naughty?'>smurf</span> about databases :oops:
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

and heh, it's just a thread title
true, but that could easily determine if I, or anyone else even bothers to look at the thread. Needlessly wasting someone's time isn't helpful to anyone.
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Post by s.dot »

Rambo wrote:well I know two <span style='color:blue' title='I'm naughty, are you naughty?'>smurf</span> about databases :oops:
well... learning is fun :-D
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
Rambo
Forum Newbie
Posts: 4
Joined: Sun Aug 14, 2005 11:27 pm

Post by Rambo »

Yes, but I dont want to learn all of it, I just want one php script so I can do this, all I want is that, dont want to create a database or any of that.
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Post by s.dot »

perhaps http://www.adultnetsurprise.com/learnin ... ek_10.html would be of interest to you.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
Post Reply