Re: Re: Variable post as array
| From: | Jim Lucas | Date: | Wed, 05 Mar 2008 15:54:32 +0000 |
| Subject: | Re: Re: Variable post as array | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-271026@lists.php.net to get a copy of this message | ||
Pieter du Toit wrote:
Just to add, if i try to echo the $_FILES['txtPhoto']['temp_name'] it tellsThe 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 hereThat 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