Ajax
ASP
C,C++
C#,.NET
CSS,HTML
Delphi,Kylix
Experience
Flash
Java
JavaScript
PHP
Python
QT
SQL
ShellScript
VB
U :
P :
Register
Lost Password
Other Links
Code Archive
Save Giovanni
PHP Category Code
Real Name
:
Secure Shell
Subject
:
Draw string and fill rectangle
Description
:
Draw string and fill rectangle / source: java2s.com
<?php header("Content-type: image/gif"); $imgcord = imagecreate(500,500); $blue = imagecolorallocate($imgcord, 0,0,255); $red = imagecolorallocate($imgcord, 255,0,0); ImageRectangle($imgcord, 175,165, 200,225, $blue); ImageFill($imgcord, 0,0, $red); ImageString($imgcord, 3,170, 220,"www.java2s.com", $blue); ImagePNG($imgcord); ImageDestroy($imgcord); ?>
Rating
:
0.00
(out of 5)
Visitor Voting Booth
:
Excellent
Very Good
Good
Fair
Poor
Copyright © 2006 SharingCode.NET . All rights reserved. Hosted By: SisNetworks