Apr 12, 2012

PHP Function / is_int

Description

This conditional function checks if the given variable is an integer type. This is a boolean function, meaning it returns either TRUE or FALSE.

Apr 10, 2012

PHP Function / is_string

Description

This conditional function checks if the given variable is a string type. This is a boolean function, meaning it returns either TRUE or FALSE.

$_SERVER['SCRIPT_NAME'] in PHP

$_SERVER['SCRIPT_NAME'] Returns the filename that is being used together with the pre-directory path only. It excludes query/variable appended and any post sub directory.