<?php
$user = $HTTP_GET_VARS['user'];
$pass = $HTTP_GET_VARS['pass'];
$newloc = "/home/httpd/vhosts/eprod.freephp.digiro.net/htdocs/forums/free/$user";
$contents = "
<?php
\$name = $user
\$table1 = 'funkcats$user';
\$table2 = 'forums$user';
\$table3 = 'list$user';
\$table4 = 'posts$user';
\$table5 = 'members$user';
\$table6 = 'status$user';
\$table7 = 'templates$user';
?>
";
$newfile = "$newloc/data.php";
$fe = fopen ($newfile, "w");
fputs ($fe, $contents);
fclose ($fe);
echo "Thanks";
?>
whats wrong with that script?? it just returns nothing in the browser, and doesnt write to data.php, it worked before i added the ' in the variables that i wrote.