--- In [email protected], Pete <[EMAIL PROTECTED]> wrote:
>
> In message <[EMAIL PROTECTED]>, Marian Briones
> <[EMAIL PROTECTED]> writes
> >I'm having trouble with my $_FILES variable. What my program does is
> >allow a person to have an image file on their web page. So if there
> >is an upload, it processes it (resizes it if need be). If they choose
> >to keep their old picture, it isn't supposed to do anything, but it
> >still seems to be passing in a $_FILES variable ANYWAY!
>
> Can't you check to see if the variable is empty before processing it?
That's what I do with the code:
if ($_FILES)
{
Run the code that processes the upload
}
It acts like there is something there! Driving me nuts!
>
> >Thanks in advance,
> >Marian
> >(Riding her Harley into the sunset)
>
> It's a bit dull and wet... but next week...
>
> --
> Pete Clark
>
> http://www.hotcosta.com
> http://www.spanishholidaybookings.com
>
Community email addresses:
Post message: [email protected]
Subscribe: [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
List owner: [EMAIL PROTECTED]
Shortcut URL to this page:
http://groups.yahoo.com/group/php-list
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/php-list/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/