Hi All
I have the following script to create a user directory after a user signs up for free hosting:
<?
$base_dir="C:/Program Files/Apache Group/Apache2/htdocs/";
$data = "C:/Program Files/Apache Group/Apache2/data.txt";
mkdir("$base_dir$login");
echo "You have successfully set up your site at:";
echo " ";
echo "http://ozpacific.com.au/$login";
?>
That works all fine, now how do i automatically create a index.html file after the mkdir() has created the directory???
As you may see i am running Windows XP, Apache 2.0.44 and PHP 4.3.0
Matt