The project i am working on is to upload full size images (~10mb) into a main dir , then create tumbnails of these images into a separate directory.then move the images from the main dir into the dir outside of the home dir.
I have everything done in php except for the following
if my home directory is /mydomain.com i want to create a dir called "/images/events "outside of /mydomain.com. I have tried a number of ways the last one is as follows
The dir /images is already created manually
mkdir('/images/events',0777,true);
chmod('/images/events', 0777);
Still doesn't work
Any advice