Hey everyone!
I need some help with mkdir in my .php file. It’s not creating the directory.
I’m currently running Centos 6.6 web server, I have all folders chmod 755 and owner = Apache.
My code is as follows:
[php]<?php $chars = “abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789”;
$rand_dir_name = substr(str_shuffle($chars), 0, 15);
mkdir("…/userdata/profile_pics/".$rand_dir_name);
?>[/php]
No error messages are shown and I’m 100% sure that the path /userdata/profile_pics exists.
Any help?