?
Path : /home/admin/public_html/old/hotel/ |
Current File : /home/admin/public_html/old/hotel/img.php |
<?php session_start(); $_SESSION["nspam"] = substr(md5(time()),0,4); header("Pragma: no-cache"); header("Cache-Control: no-cache"); header("Content-type: image/png"); $image = imagecreate(50, 22); $white = imagecolorallocate($image, 255, 255, 255); $black = imagecolorallocate($image, 0, 0, 0); imagestring ($image, 3, 10, 4, $_SESSION["nspam"], $black); imagepng ($image); imagedestroy($image); ?>