Ad block is installed and active. Please support us by disabling it.
HomeSaturday, January 20, 2018, 16:53:21


Tuesday, February 10, 15, 12:00:44, 3 Yaers Ago Via wain, Hits: 3496
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



MySQL – Select from two tables

Select data from two tables, PHP MySQL

Email to Friend - PHP Script

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

Link Base 1.1. - Free PHP Link Index Script

Manage your links using a MySQL database. Features easy install, user submission, and an admin panel to add, edit and remove categories and links.

MySQL Inner Join

MySQL Inner Join - Creating Dynamic Webpages Using PHP and MySQL, Requirement(s): PHP Server, MySQL

PHP Trim

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

Sitemap Website Sitemap

PHP getdate

Returns an associative array containing the date information of the timestamp, or the current local time if no timestamp is given.

PHP Mail

Sends an email.

Upload Image with PHP [Example2]

[Example2] Tutorial - How to upload and resize image with PHP

Contact Us PHP Form 1.1.

A contact us form with email and form field validation. It allows your visitors to send you an email directly from your website.
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.