tarun Posted December 26, 2006 Share Posted December 26, 2006 i want to make a internal(onsite) messaging system so users can pm each otherall user data is stored in a directory called "accounts" and the userz data is in a file like http://www.example.com/accounts/tarun.phpand the file looks sumthin like dis[code]<?php$username='tarun';$password='testpass';$age='12';$profile='';?>[/code]and mayb PMs cud b stored as $pm1 $pm2 etc in the users data filethe users data iz accessed like diseg Edit Profile Page[code]<?phpinclude(accounts/$un.php);echo'<form action="editprofile.php"><textarea>$profile</textarea><input type=submit value=Change Profile></form>';?>[/code]any1 gt any bitz ov code or a website 2 lk@ or any advice 2 saythnx pplappreicate hlp Quote Link to comment Share on other sites More sharing options...
AndyB Posted December 26, 2006 Share Posted December 26, 2006 [quote]any1 gt any bitz ov code or a website 2 lk@ or any advice 2 say[/quote]Care to rephrase all of that in English? Quote Link to comment Share on other sites More sharing options...
tarun Posted December 26, 2006 Author Share Posted December 26, 2006 it is in englishREMEMBER IM ONLY 12 YRz OLDit meanz has anyone got any php code or a website to look at or any advice Quote Link to comment Share on other sites More sharing options...
marcus Posted December 26, 2006 Share Posted December 26, 2006 You should just use a database so you don't have to go haywire in having to have php write to files Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.