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); ?> Quote 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 Quote 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 Quote Link to comment https://forums.phpfreaks.com/topic/65799-solved-mkdir-fails/#findComment-328727 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.