Re: [PHP] FUNCTION TO CHECK IMAGE

2006-09-13 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{

Re: [PHP] FUNCTION TO CHECK IMAGE

2006-09-11 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 to recover

Re: [PHP] FUNCTION TO CHECK IMAGE

2006-09-11 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 there any

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 my

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 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: 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)){

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

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()