Jump to content

mkdir() problem


lewis987

Recommended Posts

i want to make a folder everytime someone registers using the mkdir() function

 

$host = "localhost";

$user = "root";

$pass = "lancer";

$db  = "login";

$ID = '';

$USR = $_POST["usr"];

$PWD = md5($_POST["pwd"]);

$MD = mkdir("website/upload/$USR");

 

but the variable doesnt work within the string some some reason

 

any help appreciated

Link to comment
https://forums.phpfreaks.com/topic/51546-mkdir-problem/
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.