by Shashi Dhar Kumar | Dec 23, 2010 | PHP
Potential of PHP really is a superior choice for the web, you’re going to need to have a clear-cut set of reasons why you believe PHP is the superior language. This short list should help you get started: PHP is cross-platform. It can be run on Windows, Linux,...
by Shashi Dhar Kumar | Dec 3, 2010 | HTACCESS, Open-Source, PHP, Programming
Most of the e-commerce website uses payment gateway for online payment. And, those sites uses SSL (secure socket layer) connection to transfer data to and from the payment gateway. Most of the sites uses “http” protocol and you can see “http” in the browser’s address...
by Shashi Dhar Kumar | Sep 13, 2010 | PHP, Programming
Here the function that comes under php i.e wordwrap(). You can use it for wrapping you long string text into multiple lines and easy to read. Following are the code that help you. Copy and paste the code into your editor save the code as php file and run into you...
by Shashi Dhar Kumar | Jul 21, 2010 | PHP, Programming
The PHP super global $_SERVER contains all the information you need to access various information about the URL and can even carry variables. Often you need to get the full URL of the page you are on and this requires piecing together several of the $_SERVER variables...
by Shashi Dhar Kumar | Feb 13, 2010 | PHP, Programming
The Substr () PHP Function is used to return part of a string. It is written as substr (string, start, optional length);.The string is whatever string you want to return a portion of. The start is how many characters in to skip before starting. Setting this to 3 would...
by Shashi Dhar Kumar | Nov 10, 2009 | PHP, Programming
I have come across code that checks for empty or null values, or if a variable is set. Many of these checks fail as the wrong function is being used to assert the correct value. While it is important to be checking values, it is equally important to understand the...