Posts

Showing posts from June, 2010

PHP : Get Current Page URL

Below is the PHP code snippest to get Current page URL.need to use $_SERVER array to get the server information. $pageURL = 'http'; if ($_SERVER["HTTPS"] == "on") {$pageURL .= "s";} $pageURL .= "://"; if ($_SERVER["SERVER_PORT"] != "80") { $pageURL .= $_SERVER["SERVER_NAME"].":". $_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"] } else { $pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"]; } echo $pageURL;

JQuery - JavaScript Library

JQuery is JavaScript Library which enables to do most of the things easily. It reduces code and time of development. Most of the functionalities can be done easily such as event handling, documnet traversingm animation and Ajax interaction. jQuery is designed to change the way that you write JavaScript. You can find more info @ http://jquery.com/

Mozilla.org - the internet should be public, open and accessible.

Mozilla.org, a global community belives that the internet should be public, open and accessible. Learn more about mozila @ http://www.mozilla.org/ Contribute to Mozilla, learn more @ http://www.mozilla.org/contribute/