i have this simple code put on test,
but it doesn't seem to work, what could be wrong?
how do i create a new folder with php code?
Code Select
<?php
$path = "http://".$_SERVER['HTTP_HOST']."/new";
if(mkdir($path, 0755)){print "folder created";}else{print "failed";}
?>
but it doesn't seem to work, what could be wrong?
how do i create a new folder with php code?