html - PHP Script mkdir "No error, but no directory" -


i learning , messing around html , php on personal website. need create "new directory" using php.

i using, http://dummycode.com/projects/projectform/form.html in order try , make happen. running php script not creating new directory under /projects/projectform/dir

here code form.php file:

    <?php $result = mkdir("http://dummycode.com/projects/projectform/dir", 0700); if ($result == 1) {     echo "success creating directory!"; } else {     echo "error creating directory!"; }  ?> 

i cannot seem find issue because every time says "error creating directory!" php not throwing errors.

is there simple missing, or being stupid?

thanks, henry harris

have tried using relative path rather url?


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -