MIME file and gd
- From: amit <amit.kohan@xxxxxxxxx>
- Date: Fri, 28 Mar 2008 17:58:50 -0700 (PDT)
Hello group,
I'm uploading some image files such as jpeg, png and gif. However, I
must convert time to jpeg type. I have few questions:
1) Can I convert time in using gd library?
2) Currently, I check the MIME file to see what is holding (thanks to
Michael ) like image/jpg or image/gif or image/png. But what should be
the criteria? I'm checking:
if ($img_array_info[mime] == "image/jpg" {
...
}
However, there are some files that rather image/jpg they have image/
jpeg as mime in their headers. Should I compare it agaisnt these two
criteria or there are other things I have to consider too?
Thanks,
Amit
.
- Follow-Ups:
- Re: MIME file and gd
- From: amit
- Re: MIME file and gd
- Prev by Date: Re: Can a website block the use of file_get_contents ?
- Next by Date: Re: MIME file and gd
- Previous by thread: Apache php module docs?
- Next by thread: Re: MIME file and gd
- Index(es):
Relevant Pages
|