Re: Re[2]: [PHP] Re: need help with uploading images

2002-07-30 Thread Deadsam
wow I like it :) thanks alot Tom you've been a big help and showed me something I never knew before also at the time Thanks to all who help me with this , it's very much appreciated Deadsam "Tom Rogers" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > >

Re[2]: [PHP] Re: need help with uploading images

2002-07-30 Thread Tom Rogers
Hi, Tuesday, July 30, 2002, 1:53:50 PM, you wrote: D> This looks good but I just have one question about it if you don't mind, D> what if someone was uploading a gif or a PNG file? can it be made to only D> detect jpgs? D> Thanks in advance D> Deadsam >> Try it this way, it will check if it is a

Re: [PHP] Re: need help with uploading images

2002-07-29 Thread Deadsam
This looks good but I just have one question about it if you don't mind, what if someone was uploading a gif or a PNG file? can it be made to only detect jpgs? Thanks in advance Deadsam > Try it this way, it will check if it is a jpeg and it has a horizontal > and vertical size so you can be pret

Re: [PHP] Re: need help with uploading images

2002-07-29 Thread Tom Rogers
Hi, Tuesday, July 30, 2002, 3:52:23 AM, you wrote: D> maybe it would be easier to show you the part of code I'm using, D> } D> /** Check for the type of the image : only allow jpeg's */ D> if($_FILES['uploadFile']['name']['type']!="image/jpeg"){ D> echo "You can only upload jpg images."; D>

[PHP] Re: need help with uploading images

2002-07-29 Thread Deadsam
maybe it would be easier to show you the part of code I'm using, echo $HTTP_POST_FILES['uploadFile']['size'] . "::". $HTTP_POST_FILES['uploadFile']['name']['type'] . "::"; echo $HTTP_POST_FILES['uploadFile']['name'] . "::". $HTTP_POST_FILES['uploadFile']['tmp_name']; */ ?> http://www.php.net/) T

[PHP] Re: need help with uploading images

2002-07-29 Thread Richard Lynch
>I'm trying to get an uploader to work, where you check to make sure it's a >jpeg file that's being uploaded, and no other files allowed. the server is >unix linux using php4.1 http://php.net/getimagesize -- Like Music? http://l-i-e.com/artists.htm I'm looking for a PRO QUALITY two-input sound