PHP forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.
March 2024
SunMonTueWedThuFriSat
     12
3456789
10111213141516
17181920212223
24252627282930
31      

Calendar Calendar

Latest topics
» Kabaddi, Kabaddi, Kabaddi, Kabaddi......PHP?
image creation EmptyFri Jul 22, 2011 1:37 pm by shyamsunder

» Thousands of Free PHP Scripts Recommended
image creation EmptyWed May 18, 2011 10:33 am by bizboy12

» PHP form validation problem?
image creation EmptyWed Jan 12, 2011 1:25 pm by simy202

» string wrap
image creation EmptySat Aug 02, 2008 2:06 pm by scvinodkumar

» retrieving current date rows
image creation EmptyTue Jul 15, 2008 3:25 am by scvinodkumar

» number in words
image creation EmptyTue Apr 29, 2008 3:10 pm by scvinodkumar

» Simple PHP Form Field Generator
image creation EmptyFri Apr 25, 2008 12:28 pm by scvinodkumar

» PHP password generator
image creation EmptyFri Apr 18, 2008 7:24 pm by scvinodkumar

» PHP Script to Extract Email Address from any text
image creation EmptyFri Apr 18, 2008 7:18 pm by scvinodkumar

Search
 
 

Display results as :
 


Rechercher Advanced Search

Affiliates
free forum
 


Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

image creation

Go down

image creation Empty image creation

Post  scvinodkumar Sat Mar 29, 2008 10:14 pm

<?php
header("Content-type: image/png");
$im = @imagecreate(110, 20)
or die("Cannot Initialize new GD image stream");
$background_color = imagecolorallocate($im, 0xFF, 0x99, 0xFF);
$text_color = imagecolorallocate($im, 256, 256, 256);
imagestring($im, 1, 5, 5, "A Simple Text String", $text_color);
imagepng($im);
imagedestroy($im);
?>

scvinodkumar
Admin

Posts : 40
Join date : 2008-01-30

https://solutions.aforumfree.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum