Hi All
Someone knows the right path to put on line trought form some images
i mean one path like this: /account/folder/home/public/
thanks
Hi All
Someone knows the right path to put on line trought form some images
i mean one path like this: /account/folder/home/public/
thanks
The file-system path consists of your home directory followed by public_html then whatever the path is to whatever you're after.
eg. /home[n]/bhuser/public_html/[etc..]/images/
Your home directory is listed under cpanel.
This path is almost never used, since you can use relative paths for better portability (like ./images/).
Have you tried turning it off and on again?
if you don't specify, images are sometimes uploaded to /home/username/tmp/ or temp folder defined in php.ini.
This is safer, as users might not be able to upload runnable scripts to a web directory.
verifying that the image is in fact an image is a good idea as well?
http://www.webdeveloper.com/forum/sh...d.php?t=101466
this one doesn't verify, but the code is more bite-size for quick reading:
http://www.reconn.us/content/view/30/51/
there is no discussion of chmod ? while some web applications use 777 chmod directories for uploaded images, you might find 755 works. or even more, read the comment below this forum post:
http://www.htmlgoodies.com/beyond/we...le.php/3548746