Posts Tagged ‘php’

Page 4 of 8« First...23456...Last »

Some unusual comparison operations in PHP

Today I was working for a project and a weired comparison operation in PHP got my brain out for 2 hour and after searching in google I could able to figure out the problem and I'm posting here so that you guys who are unaware of this kind of comparison will not suffer in future. First let's see two examples the unusual comparison in PHP. Full story
Tags:

8 useful server variables available in PHP

You guys must have know about server variables in PHP. Server Variables are those variables which are inside the super global array named $_SERVER available in PHP. There are many server variables in PHP and some of them are very useful for fore developing PHP projects. I'm going to post here some of the very useful server variables available in PHP development. Full story
Tags:

Date format validation in PHP

Today Sushil asked me how can we validate the date which is entered from textbox in "YYYY-MM-DD" format. Well, we can validate the format of the date using regular expression but how to validate weather that date is valid date or not, such as "2007-02-29" is the correct format of the date but it's not the valid date. Full story
Tags:

Understanding and Validating Integers in PHP

I've found many of my friends struggling with the validation of integers i.e. the numbers with only digits in PHP. Some of them were wondering why is_int() or is_integer() functions of PHP sometimes works and sometimes won't. Full story
Tags:

How to redirect browser to https (ssl) in php

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. Full story
Page 4 of 8« First...23456...Last »
Copyright © 2012 Roshan Bhattarai's Blog. All rights reserved.
Powered by WordPress.org, Custom Theme and ComFi.com Calling Card Company.