Hi, I am new to Linux and I have a wee problem i think this forum can help me with -
I have a script that uploads a users profile image successfully to a folder and successfully storing the image path to a mysql database.
The problem im having is when that user logs in, he / she is unable to view their profile image ??
I have been wrecking my head to why this is happening.
I have a dedicated server running CENTOS v5 Linux -
The above script works great when local via wampp -
through my script i an using mkdir("uploaded/$lastid", 0755);
the image uploads and the directory is created but I am unable to view any images ??
Any help or pointers to this would be muchly appreciated,
How can I create a group locally on the live server and add the local apache user to that group and set permissions that will enable members to view their profile image.