01-19-2008, 11:29 PM
|
#14 (permalink)
|
|
how quixotic are you?
Join Date: Dec 2007
Location: Lapeer, MI
Posts: 445
Thanks: 37
|
Some code from the install.php file in my new CMS that is to be released on the 26th. ;)
PHP Code:
mysql_query("INSERT INTO users VALUES ('$admin', '$admin_pass', '$admin_email', '$first', '$last')");
$profile = 'This is your profile. Click the link below this box to edit it. :)';
$file = fopen("bin/users/$admin.txt","w"); fwrite($file, "$profile"); fclose($file);
|
|
|
|