Back in the day, getting GD library into a PHP-Nuke setup was a common hurdle for dynamic signatures. Today, the landscape is simpler, but the core concept remains: you need GD (or ImageMagick) on the server to generate images on the fly.
Checking GD Availability
First, check if GD is already enabled. Create a PHP file with <?php phpinfo(); ?> and look for ‘gd’ section. Alternatively, run:
php -m | grep gd
On most modern shared hosting (including Xisto), GD is pre-installed. If not, you may need to enable it in php.ini or contact support.
Enabling GD on Xisto
Xisto’s cPanel provides PHP Selector where you can enable GD extension. Go to Select PHP Version in cPanel, check the gd box, and save. That’s it.
Modern Dynamic Signature with GD
Here’s a minimal example that generates a signature image using GD:
<?php
// Create a blank image
$width = 400;
$height = 60;
$image = imagecreatetruecolor($width, $height);
// Allocate colors
$bg = imagecolorallocate($image, 255, 255, 255);
$text_color = imagecolorallocate($image, 0, 0, 0);
// Fill background
imagefill($image, 0, 0, $bg);
// Add text
$text = "Your Dynamic Signature";
imagestring($image, 5, 20, 20, $text, $text_color);
// Output image
header('Content-Type: image/png');
imagepng($image);
imagedestroy($image);
?>
Save this as signature.php and link to it via <img src="http://yourdomain.com/signature.php"> in your forum signature.
Alternatives
- ImageMagick: More powerful but heavier. Usually not needed for simple signatures.
- External services: There are free dynamic signature generators, but hosting your own gives you full control.
Xisto’s Credit System & Hosting
With your Xisto free hosting (1GB space, cPanel), you can easily host such PHP scripts. Just upload via FTP, enable GD via PHP Selector, and you’re set. Remember to keep your forum activity up to earn credits for continued hosting.
If you run into issues, check the server’s error logs or post in the Xisto forums for specific help.

