How do I use gd that comes with PHP?
Posted: Wed May 07, 2003 7:02 pm
I cant use imagegif() function (I read about what happened with gif format), but that is all my book has examples with, what other functions do I use to show as JPG or PNG?
Code: Select all
<?php
$id = imagecreate(200, 200 );
print $id; //this works, but after this, how do I show the 200x200 box
?>
<html>
<head>
<title> .:DynaMo` grafX:. </title>
</head>
<body>
<img src="grafx.php" alt="PHP generated">
</body>
</html>