mkdir ("users/$user_name", 0755) or error_html("Could not create user directory");
$index = fopen ("users/$user_name'}/index.html", 'r') or error_html("Could not create default user page");
ob_start();
?>
<head>
<title><? print $in{'username'};?>'s homepage</title>
</head>
<body bgcolor="#FFFFFF">
<big><big><?print $in{'username'};?>'s homepage</big></big><p>
Sorry, my homepage is under construction.<br>
Please come back at a later time.
</body>
<?
$str = ob_get_contents();
ob_end_clean();
fwrite($fp, $str);
fclose ($index);
} ?>
I thought this would create a directory of the users name, then a default page, it was supposed to be used in tims AUTH SYSTEM from phpbuilder, but i cant get it to work. ne one can help? also if u know how to integrate it into the confirm or register function of tim's auth system, that would be brill! :-)