how do I know by which user the new directory is owned? How do I change the user?
I tried it like this: chown("$id","30");
and I'm getting:
Warning: unable to find uid for 30 in /home/uhuclan_com/htdocs/pphlogger/create_user.php3 on line 13
<...
Include, ReadFile, Fopen, File, Link, Unlink, Symlink, Rename, RmDir, ChMod, ChOwn, ChGrp
Owner of file to be included must either be the PHP UID or the directory in which the file resides must be owned by the PHP UID. ...>