I ran a print_r on it and this is the results

Array ( [txtPhoto] => Array ( [name] => g1.jpg [type] => image/pjpeg 
[tmp_name] => /tmp/php3qkA4A [error] => 0 [size] => 17008 ) )

The image received here must be inserted into a database as binary it looks 
like it.
"Colin Guthrie" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Pieter du Toit wrote:
>> Hi
>>
>> I have this weird problem, when i select a file to upload, the variable
>> arrives as an array at the action php file, this is the code, and the
>> variable name is txtPhoto
>
> I'd give a shorter example. People don't want to read through all your
> code..
>
> Also you shoudl post some sort of indication of what you are trying to
> do to get the results you describe... just saying "the variable arrives
> as an array" and we don't really know how you are accessing "the 
> variable".
>
> A short example and expected/actual behaviour listing is good :)
>
> Col
> 



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to