Jump to content

[SOLVED] 'mkdir' problem!


sean14592

Recommended Posts

Hi, I need to create a directory named after the username which is stored in a session, Though I ge the following error....

 

Warning: mkdir(http://www.************.com/properties/temp_images/sean844) 
[function.mkdir]: No such file or directory in /home/*******/public_html/pages/oaddprop12.php on line 177

 

My code is:

$username = $_SESSION['username'];
mkdir("".$siteurl."properties/temp_images/".$username."");

 

Can anyone see anythign wrong?

 

Cheers

Sean

Link to comment
https://forums.phpfreaks.com/topic/108979-solved-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.