Archive for the ‘PHP’ category

HowTo: Create your own Bit.ly website from Scratch – Part 2

November 8th, 2009

I hope you all got a clear picture in the first part. We only covered the CSS and Front End part, now we need to create actions and validations page to shorten the link successfully.
For validating and showing results we will be using Mootools (a AJAX framework) i will not be explaining in detail on mootools right now.

» Read more: HowTo: Create your own Bit.ly website from Scratch – Part 2

Share this Article with your friends & colleagues using the below icons
  • Digg
  • Facebook
  • StumbleUpon
  • Reddit
  • del.icio.us
  • Mixx
  • DZone
  • Google Bookmarks
  • LinkedIn
  • Print
  • email
  • RSS

HowTo: Create your own Bit.ly website from Scratch – Part 1

November 8th, 2009

Shortening a long URL into a short one is now becoming very famous and especially in sites like twitter and blogs. I was always think that i need to share something that is useful for people and finally decide to show you guys how to create a tiny url site like Bit.ly or Tinyurl.com

First the requirements:

If you are doing on your local machine:

You require the following
1. Apache
2. PHP
3. MySQL

» Read more: HowTo: Create your own Bit.ly website from Scratch – Part 1

Share this Article with your friends & colleagues using the below icons
  • Digg
  • Facebook
  • StumbleUpon
  • Reddit
  • del.icio.us
  • Mixx
  • DZone
  • Google Bookmarks
  • LinkedIn
  • Print
  • email
  • RSS

PHP: A IP Log system without any database

September 27th, 2009

Yesterday night my friend asked he requires a IP log to store all new users IP who logs in, but he wanted without any database. So i came across creating the below code.

The code is simple and works perfectly. Put this code to login page so after login this code must run and store his or her IP address or in general if you want to log all users who come to you site then put it on main page.

» Read more: PHP: A IP Log system without any database

Share this Article with your friends & colleagues using the below icons
  • Digg
  • Facebook
  • StumbleUpon
  • Reddit
  • del.icio.us
  • Mixx
  • DZone
  • Google Bookmarks
  • LinkedIn
  • Print
  • email
  • RSS

Join the Zend PHP Conference 2009

September 20th, 2009

Zend and S&S media  is organizing a PHP conference from October 19th to 22nd @ San Jose, California. It will be the biggest PHP event, you come to meet all other PHP developers, designers.

The main talk for the show will be regarding the scalability, easy implementation, usage, deploying and more.

Also you get a chance to write free Zend Certification Exam at the conference. Prior you need to be registered before.

» Read more: Join the Zend PHP Conference 2009

Share this Article with your friends & colleagues using the below icons
  • Digg
  • Facebook
  • StumbleUpon
  • Reddit
  • del.icio.us
  • Mixx
  • DZone
  • Google Bookmarks
  • LinkedIn
  • Print
  • email
  • RSS

PHP Snippet: Convert lower case letters to uppercase and vice versa

September 11th, 2009

This code snippet will help you to convert a text into lower case letter or uppercase letter.

Take a new php document and save it as textcase.php or anything you like.

Now you need to create two php functions.

1. Uppercase  – This function converts all text to uppercase letters.

2. Lowercase  – This function converts all text to lowercase letters.

» Read more: PHP Snippet: Convert lower case letters to uppercase and vice versa

Share this Article with your friends & colleagues using the below icons
  • Digg
  • Facebook
  • StumbleUpon
  • Reddit
  • del.icio.us
  • Mixx
  • DZone
  • Google Bookmarks
  • LinkedIn
  • Print
  • email
  • RSS

Switch to our mobile site