Archive for June, 2009
Flat Input box with CSS
Posted by in CSS on June 29th, 2009
{
border: 1px solid;
}
If you want to change the input box background do as follow:
{
border: 0px solid;
}
Google maps code sample
Posted by in PHP code on June 20th, 2009
This article is a sample for google maps. You just need to download the code here. In the example, I show Google Headquarters in Google Maps. But before you download, you need to sign up for Google Maps API here and get a key that you will use in the code. From the code that you have download, find the following code:
<script src=”http://maps.google.com/maps?file=api&v=2&key=change-this-to-your-google-api” type=”text/javascript”></script>
and change “change-this-to-your-google-api” to your key. If you have any problem just comment below.
Stop and play MARQUEE
Posted by in PHP code on June 18th, 2009
Captcha Script
Posted by in PHP code on June 14th, 2009
CAPTCHA (Completely Automated Public Turing test to tell Computers and Humans Apart) are of challenge-response test used in computing to ensure that the response is not generated by a computer. Because application are unable to solve the CAPTCHA, anyone providing a correct solution is assumed to be human. Here’s the sample.

Download here for the code.
Set cookie with php
Posted by in PHP code on June 14th, 2009
Here’s the code to set and get cookie
<?php
//set cookie
setcookie(”Cookie1″, $value);
setcookie(”Cookie2″, $value, time()+3600);
//get cookie
echo $_COOKIE["Cookie2"];
?>
Paypal donation code
Posted by in PHP code on June 14th, 2009
- Login to your paypal account

- Go to merchant services at the main menu
- Go to “Donations” at the right of your screen
- You can then set your buttons and you will have your code
- You can put the code at your sidebar’s blog.









