Ad block is installed and active. Please support us by disabling it.
HomeThursday, September 21, 2017, 03:26:16


Tuesday, February 10, 15, 12:00:44, 3 Yaers Ago Via wain, Hits: 2744
Draws a line between the two given points.
header("Content-type: image/png");
//create a new palette based image (350(width), 30(height))
$im = imagecreate(350, 30);
//background color
$background = imagecolorallocate($im, 255, 250, 205);
//border color
$border = imagecolorallocate($im, 162, 37, 0);
//text color
$color = imagecolorallocate($im, 050, 050, 050);
//imagestring($im, 2(font size), 5(margin-left), 18(margin-top)
imagestring($im, 2, 15, 8, "PHP is an open-source server-side scripting language.", $color);
//imageline - draws a line between the two given points.
imageline($im, 0, 0, 0, 30, $border);
imageline($im, 0, 0, 350, 0, $border);
imageline($im, 349, 0, 349, 29, $border);
imageline($im, 0, 29, 349, 29, $border);
//imagepng - output image to the browser

Sign In



Addslashes - Stripslashes

addslashes — quote string with slashes, stripslashes — un-quotes a quoted string

Convert pdf to image - mpdf

Convert pdf file to jpg with php and mpdf

PHP Trim

trim() Strip whitespace (or other characters) from the beginning and end of a string.

PHP Form Validation

PHP form validation :: PHP tutorial, requirement(s): PHP Server

PHP Redirect

Header (location) redirect must be processed before any output to the browser.

PHP File Create

Create and write data to a file using the php frwite function.

Upload and Resize an Image with PHP

Tutorial - How to upload and resize image with PHP

Upload Attachment - PHP Tutorial

Upload attachment with PHP example, Requirement(s): PHP server

Tell A Friend with Captcha

This form allows your visitors to suggest your site to a friend. It features an HTML email format and an admin notification email.

MySQL – Select from two tables

Select data from two tables, PHP MySQL
About Author


Date Registered: Sun, Feb 8, 15
Last Time Online: Thu, Jun 15, 17
So far has created 115 entries.
This author has not yet filled in any details.