Re: Variable post as array
| From: | Pieter du Toit | Date: | Wed, 05 Mar 2008 11:35:36 +0000 |
| Subject: | Re: Variable post as array | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-271004@lists.php.net to get a copy of this message | ||
This is my problem
Warning: fopen() expects parameter 1 to be string, array given in
/usr/www/users/zululr/marketplace/myzululand/specials_proc.php on line 49
"Colin Guthrie" <gmane@colin.guthr.ie> wrote in message
news:fqlupu$mm7$1@ger.gmane.org...
> 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
>