PHP mkdir() Invalid Path -


i'm trying save files on server, , prerequisite, create directories don't exist.

i running script, dl.php, @ /home/public_html/www3/scripts/dl.php:

$request['savedir'] = '/home/public_html/www3/scripts/images/logs'; if( !is_dir($request['savedir']) )     mkdir($request['savedir']); 

and get:

warning: mkdir(): invalid path in /home/public_html/www3/scripts/dl.php 

the "images" exist.

please check "images" folder owner , permissions. requires write enabled used "apache" user/group when executed in browser. error "permissions" since not visible "apache" user.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -