Re: [PHP] FUNCTION TO CHECK IMAGE

2006-09-12 Thread BBC
BBC wrote: What types of images are these? JPG, PNG, GIF? Its jpg. Look... I don't know exactly what your point, I'm just asking you about the function to resolve the size of image like the codes below: if (file_exists($img_path)){ list($width,$height) = getimagesizes($img_path); }else{ $width

Re: [PHP] FUNCTION TO CHECK IMAGE

2006-09-11 Thread Christopher Weldon
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 BBC wrote: >> What types of images are these? JPG, PNG, GIF? > Its jpg. Look... I don't know exactly what your point, I'm just asking you > about the function to resolve the size of image like the > codes below: > if (file_exists($img_path)){ > list($

Re: [PHP] FUNCTION TO CHECK IMAGE

2006-09-11 Thread BBC
> What types of images are these? JPG, PNG, GIF? Its jpg. Look... I don't know exactly what your point, I'm just asking you about the function to resolve the size of image like the codes below: if (file_exists($img_path)){ list($width,$height) = getimagesizes($img_path); }else{ $width = $ height =

Re: [PHP] FUNCTION TO CHECK IMAGE

2006-09-11 Thread Christopher Weldon
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 BBC wrote: >> BBC wrote: >>> Hi all. >>> I'm having a problem regarding image handling. Sometimes an image can be >>> showed in browser normally (in my computer) but when I >>> upload it into my site that image is not valid, so there is an issue in my

Re: [PHP] FUNCTION TO CHECK IMAGE

2006-09-11 Thread tedd
At 11:40 PM -0700 9/10/06, BBC wrote: > At 12:49 AM -0700 9/10/06, BBC wrote: >Hi all. >I'm having a problem regarding image handling. Sometimes an image >can be showed in browser normally (in my computer) but when I >upload it into my site that image is not valid, so there is an issue >in

Re: [PHP] FUNCTION TO CHECK IMAGE

2006-09-10 Thread BBC
> At 12:49 AM -0700 9/10/06, BBC wrote: > >Hi all. > >I'm having a problem regarding image handling. Sometimes an image > >can be showed in browser normally (in my computer) but when I > >upload it into my site that image is not valid, so there is an issue > >in my getimagesizes() function. > >Is

Re: [PHP] FUNCTION TO CHECK IMAGE

2006-09-10 Thread BBC
> BBC wrote: > > Hi all. > > I'm having a problem regarding image handling. Sometimes an image can be > > showed in browser normally (in my computer) but when I > > upload it into my site that image is not valid, so there is an issue in my > > getimagesizes() function. > > Is there any function t

Re: [PHP] FUNCTION TO CHECK IMAGE

2006-09-10 Thread Christopher Weldon
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 BBC wrote: > Hi all. > I'm having a problem regarding image handling. Sometimes an image can be > showed in browser normally (in my computer) but when I > upload it into my site that image is not valid, so there is an issue in my > getimagesizes() fu

Re: [PHP] FUNCTION TO CHECK IMAGE

2006-09-10 Thread tedd
At 12:49 AM -0700 9/10/06, BBC wrote: Hi all. I'm having a problem regarding image handling. Sometimes an image can be showed in browser normally (in my computer) but when I upload it into my site that image is not valid, so there is an issue in my getimagesizes() function. Is there any functio

[PHP] FUNCTION TO CHECK IMAGE

2006-09-10 Thread BBC
Hi all. I'm having a problem regarding image handling. Sometimes an image can be showed in browser normally (in my computer) but when I upload it into my site that image is not valid, so there is an issue in my getimagesizes() function. Is there any function to recover such problem? I used "if(f