Re: a clean way to upload
| From: | Matt Hedges | Date: | Fri, 16 Jan 2004 16:24:34 +0000 |
| Subject: | Re: a clean way to upload | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-174842@lists.php.net to get a copy of this message | ||
?
"Jason Wong" <php-general@gremlins.biz> wrote in message
news:200401170012.19752.php-general@gremlins.biz...
> On Friday 16 January 2004 23:55, Matt Hedges wrote:
>
> > How would I do that? I mean, what would I put instead of
> >
> > > > if ($_FILES['imagefile']['type'] != "image/pjpeg")
>
> > > the browser sets, it is more reliable to get the image type from
> > > getimagesize().
>
> --
> Jason Wong -> Gremlins Associates -> www.gremlins.biz
> Open Source Software Systems Integrators
> * Web Design & Hosting * Internet & Intranet Applications Development *
> ------------------------------------------
> Search the list archives before you post
> http://marc.theaimsgroup.com/?l=php-general
> ------------------------------------------
> /*
> Q: What is purple and commutes?
> A: An Abelian grape.
> */