working with uploaded tmp images
Posted: Mon Jul 19, 2010 8:19 pm
Hi, I have almost completed my first registration form and now i only need to overcome this issue with images in the tmp folder prior to output... I have my registration process as index.php(the registration form) => process.php (validation) then if avatar was uploaded then it will be sent to crop.php otherwise confirmed.php.... so yh thats the brief overview... in my crop.php i have a js cropping gui tool that i want the user to use before i store the file into the users folder.. unfortuantly i cant seem to have the image displayed even though the image source (img src="......") displays the tmp name and ive even tried with adding an extension to the tmp name eg. <img src="< ? php $tmp . '.jpg' ? > without success which kinda makes sense coz html isnt able to directly access the tmp folder (i guess)... so any help will greatly be appreciated... thanks