yes at last!
November 4th, 2008premade siggies ..
October 2nd, 2008block IP address
September 25th, 2008this is just a simple php code to block an IP[Internet Protocol] address ..
just study the code to add more
<?php
$deny = array(”111.111.111“, “222.222.222“, “333.333.333“);
if (in_array ($_SERVER[’REMOTE_ADDR’], $deny)) {
//redirect thee blocked viewer to ..
header(”location: http://www.google.com/“);
exit();
} ?>
enjoy the code 
techy border
September 25th, 2008Now I like to share the tutorial i have made, you can make a cool techy border .. check out the tut here
GIMP: An alternative for Photoshop
September 23rd, 2008GIMP stands for GNU Image Manipulation Program, an alternative to Photoshop when editing images. This is a very good software for open-source software lovers like me. GIMP is intended for UNIX platforms but there are versions of GIMP for Windows and Mac OS.
GIMP is expandable and extensible. You can augment plug-ins and extensions to perform simple task to complex image manipulations.
To know more about GIMP, check this out for Introduction to GIMP.
Itching to try it out? Download your copy of GIMP, install it and let’s start gimping!!
php date()
September 22nd, 2008The PHP date() function is used to format a time or a date.
The PHP date() function formats a timestamp to a more readable date and time.
Syntax:
date(format,timestamp)
the format of the timestamp
date and time (as a timestamp)
PHP Date - What is a Timestamp?
A timestamp is the number of seconds since January 1, 1970 at 00:00:00 GMT. This is also known as the Unix Timestamp.
A timestamp is the number of seconds since January 1, 1970 at 00:00:00 GMT.
This is also known as the Unix Timestamp.
PHP Date - Format the Date
The first parameter in the date() function specifies how to format the
date/time. It uses letters to represent date and time formats. Here are some of
the letters that can be used:
- d - The day of the month (01-31)
- m - The current month, as a number (01-12)
- Y - The current year in four digits
An overview of all the letters that can be used in the format parameter, can
be found in our PHP Date reference.
Other characters, like”/”, “.”, or “-” can also be inserted between the
letters to add additional formatting:
<?php
echo date("Y/m/d");
echo "<br />";
echo date("Y.m.d");
echo "<br />";
echo date("Y-m-d");
?>
|
The output of the code above could be something like this:
2006/07/11 2006.07.11 2006-07-11


(No Ratings Yet)







