Re: mkdir not working




"Michael Fesser" <netizen@xxxxxx> wrote in message
news:g361q3ds70v9t9veq9hdg93uovmjmskd7t@xxxxxxxxxx
.oO(John)

The following does not create a directory neither does it give any error
message. Any ideas?

$umask=umask(0);
$where="/var/www/vhosts/example.com/httpdocs/friday/";
mkdir ($where,0777);
umask($umask);

error_reporting set to E_ALL|E_STRICT? display_errors ON?

Micha

Thanks. Now got a message.

Warning: mkdir() [function.mkdir]: Permission denied in
/home/john/example.com/adhoc.php on line 25

[Line 25 is mkdir]

Regards
John





.