PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
JellyFish
DevNet Resident
Posts: 1361 Joined: Tue Feb 14, 2006 7:18 pm
Location: San Diego, CA
Post
by JellyFish » Wed Jan 24, 2007 1:33 am
Can php save an image file as a cursor file or an ANI file type?
dibyendrah
Forum Contributor
Posts: 491 Joined: Wed Oct 19, 2005 5:14 am
Location: Nepal
Contact:
Post
by dibyendrah » Wed Jan 24, 2007 6:12 am
Refer to Content-Disposition under header
Refer this URL :
http://www.php.net/header
But I think, only other valid image are supported by header function.
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Wed Jan 24, 2007 9:24 am
They are technically supported by the header() function, however PHP has zero native facilities that can write those types of files.
JellyFish
DevNet Resident
Posts: 1361 Joined: Tue Feb 14, 2006 7:18 pm
Location: San Diego, CA
Post
by JellyFish » Wed Jan 24, 2007 2:13 pm
I see. Would this open up to the possibility of taking a gif image and changing it's header into a cursor file, thus a online converter program?
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Wed Jan 24, 2007 11:38 pm
They aren't simple translations of the headers of an image type, they have extra information incorporated into them that it critical to how they function.