Navigation :
HomeSource code
Tutorials
RSS feeds
Articles
Wordpress plugins
Blog
Books
Software
Downloads
Hosting
manuals
Script directory
Training
Our Links
Site Sponsors :
- Load Cells
- mothers day replica rolex watches today
- Free partition data recovery utilities
- cheap reseller hosting
- MySQL & Best PHP Web Hosting + save 50%
Bookmark :
Links :
software directorydropshippers
dvd information
Downloads :
Misc :
Webmaster ResourcesOnly PHP
ScriptSearch.com
Scripts.com - Get the best scripts NOW!
AndreaPHP Programming
image_string example
image_string example
<?php
Header("Content-type: image/jpeg");
//width and height of image
$width = 468;
$heigth = 60;
$image = ImageCreate($width,$heigth);
//black background
$black = ImageColorAllocate($image,0,0,0);
//for the text
$white = ImageColorAllocate($image,255,255,255);
/*
parameters for imagestring:
1: resource image, in this case $image
2: font, 1 to 5 are built in fonts in this case 3
3: int x, x co-ordinate in this case 10
4: int y, y co-ordinate in this case 20
5: string s, the string to be displayed in this case "hello world"
6: int col. the color to display the text in, in this case the variable $white
*/
imagestring($image,3,10,20,"Hello World",$white);
//output jpeg
ImageJpeg($image);
//clean up
ImageDestroy($image);
?>
Books :
Sponsors :
Random Code :
Generate a random password(randomizing)Browser Detection(internet)
Date/Time examples(date and time)
Random Article :
PHP General ScriptingPHP Server to Client with No Refresh
Network:
Programming resourcesTutorials directory
Hosting resources
ASP site
Domain names
Progged
Maxi directory
bigarticle : free articles
A Code
Code N Tutorials
Del.icio.us
Digg
Furl
Newsvine
Netscape
Reddit
StumbleUpon
Technorati
Squidoo
Windows Live
Yahoo MyWeb
Ask
Google