Hi everybody!!!
I have a script (foo.php) which uses GD to create an image and sends it
to the browser:
<?php
$img = imagecreatefrom png("mypng.png" );
/* other stuff */
header("Content-type: image/png");
imagepng($img);
imagedestroy($i mg);
?>
I also have another php script: goofy.php.
How can I use imagecreatefrom png to load the result of foo.php (without
saving it on the hard disk first)?
I tried with: imagecreatefrom png("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
I have a script (foo.php) which uses GD to create an image and sends it
to the browser:
<?php
$img = imagecreatefrom png("mypng.png" );
/* other stuff */
header("Content-type: image/png");
imagepng($img);
imagedestroy($i mg);
?>
I also have another php script: goofy.php.
How can I use imagecreatefrom png to load the result of foo.php (without
saving it on the hard disk first)?
I tried with: imagecreatefrom png("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
Comment