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
Post a Comment