how to change the file name created using the GD lib
Posted 23 August 2006 - 01:14 PM
if I create a jpeg within test.php with imagejpeg(“$im); which outputs it to the browser.
when I right click the image its called “test.php” how do I make it called “something.jpg” instead?
I’m thinking my visitors will save it with the .php extension and get confused.
I don’t want to save it as a file if I can help it because there will be many of them.
Posted 23 August 2006 - 02:52 PM
test.php, right click, save as
Now how to remove the .php. is a good question
Posted 23 August 2006 - 04:13 PM
and you can choose type "GIF (*.gif)" or BMP
Posted 23 August 2006 - 05:30 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users