blog*spot
blog*spot
blog*spot
blog*spot
get rid of this ad | advertise here
--> czarenel


*me *
# CzareneL
# 19 yrs old
# Modelle

*mood swings *

you can get your mood at www.unkymoods.com

*wishlist *

:: watch Devil's Wears Prada ::
:: finish my revision ::
:: good results ::
:: be PMS ::

*hangouts *

:: chanel ::

*tag me *

you can get a tagboard at www.tagboard.com =)



Saturday, September 30, 2006

What is PHP?

Definition: The PHP Hypertext Preprocessor (PHP -- yes, the first "P" in the acronym does indeed stand for PHP!) allows web developers to create dynamic content that interacts with databases. PHP applications are normally found on Linux servers and in conjunction with MySQL databases. It provides those servers with functionality similar to that provided to the Windows platform by Active Server Pages technology.

Sample Codes:
Print out environment variables.

// Print Environment Variables echo "Environment Variables from $HTTP_ENV_VARS

"; reset($HTTP_ENV_VARS); while (list ($key, $val) = each ($HTTP_ENV_VARS)) { print $key . " = " . $val . "
"; }
// Print GET Variables echo "
"; echo "GET Variables from $HTTP_GET_VARS

"; reset($HTTP_GET_VARS); while (list ($key, $val) = each ($HTTP_GET_VARS)) { print $key . " = " . $val . "
"; }
// Print POST Variables echo "
"; echo "POST Variables from $HTTP_POST_VARS

"; reset($HTTP_POST_VARS); while (list ($key, $val) = each ($HTTP_POST_VARS)) { print $key . " = " . $val . "
"; }
// Print COOKIE Variables echo "
"; echo "COOKIE Variables from $HTTP_COOKIE_VARS

"; reset($HTTP_COOKIE_VARS); while (list ($key, $val) = each ($HTTP_COOKIE_VARS)) { print $key . " = " . $val . "
"; }
// Print SESSION Variables echo "
"; echo "SESSION Variables from $HTTP_SESSION_VARS

"; reset($HTTP_SESSION_VARS); while (list ($key, $val) = each ($HTTP_SESSION_VARS)) { print $key . " = " . $val . "
"; } ?>Call the file with the following at any point in your page where you would like the variables output.

-----------------------------------------------------------
Czarenel Modelesque out
@ |4:02 AM|