Posted by Darkbyte [Work] on 01/03/06 21:57
Hi everybody!!!
I have a script (foo.php) which uses GD to create an image and sends it
to the browser:
<?php
$img = imagecreatefrompng("mypng.png");
/* other stuff */
header("Content-type: image/png");
imagepng($img);
imagedestroy($img);
?>
I also have another php script: goofy.php.
How can I use imagecreatefrompng to load the result of foo.php (without
saving it on the hard disk first)?
I tried with: imagecreatefrompng("foo.php") but doesn't work...
Can anyone help me, please?
I'm sorry for my bad english...
--
Quando noi ignoranti eravamo di più, tutto era più bello...
(A. Celentano)
Per rispondermi in privato:
s e p r a n o(punto)a n t o n i o(chiocciola)l i b e r o(punto)i t
Navigation:
[Reply to this message]
|