wmguk Posted August 20, 2007 Share Posted August 20, 2007 I have a mkdir script but it doesnt work, the file locations are correct 100% and so is $login but it doesnt create the folder and chmod it... any thoughts? <?php $login = $_GET['login']; mkdir("/var/www/vhosts/website.co.uk/subdomains/demo/httpdocs/clients/$login"); chmod("/var/www/vhosts/website.co.uk/subdomains/demo/httpdocs/clients/$login", 0777); ?> Link to comment https://forums.phpfreaks.com/topic/65799-solved-mkdir-fails/ Share on other sites More sharing options...
wmguk Posted August 20, 2007 Author Share Posted August 20, 2007 ok, scrub that, ive was calling the wrong script... all done Link to comment https://forums.phpfreaks.com/topic/65799-solved-mkdir-fails/#findComment-328723 Share on other sites More sharing options...
itsmeArry Posted August 20, 2007 Share Posted August 20, 2007 dose this folder has write permissions.. /var/www/vhosts/iwphoto.co.uk/subdomains/demo/httpdocs/clients/ and also are you getting anything $login Link to comment https://forums.phpfreaks.com/topic/65799-solved-mkdir-fails/#findComment-328727 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.