Pieter du Toit wrote:
Just to add, if i try to echo the $_FILES['txtPhoto']['temp_name'] it tells
The above reference is wrong. 'temp_name' should be 'tmp_name'
me that temp_name is also an array, but when i echo $_FILES['txtPhoto']['name'] it gives me the correct name. Also with a vardump i can see that temp name is ["tmp_name"]=> string(14) "/tmp/phplR1WSl" and not an array by itself.
So, like I said before. Use the right key name, and all will be one with your universe.
Im going crazy here
That question is best answered by a professional
-- Jim Lucas "Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them." Twelfth Night, Act II, Scene V by William Shakespeare -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php