Jump to content

HUH??? HeLp please


tarun

Recommended Posts

i want to make a internal(onsite) messaging system so users can pm each other
all user data is stored in a directory called "accounts" and the userz data is in a file like http://www.example.com/accounts/tarun.php
and 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 file

the users data iz accessed like dis
eg Edit Profile Page

[code]
<?php
include(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 say

thnx ppl
appreicate hlp
Link to comment
https://forums.phpfreaks.com/topic/31895-huh-help-please/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.