Blog Archives


Sep
6

0


{code type=php}echo $_SERVER['PHP_SELF'];{/code} {code type=php}echo $_SERVER['SCRIPT_NAME'];{/code} {code type=php}echo $_SERVER['REQUEST_URL'];{/code} {code type=php}echo getenv['SCRIPT_NAME'];{/code} {code type=php}echo getenv['REQUEST_URL'];{/code}
Read More

Sep
6

PHP/HTML

Posted in PHP/HTML by Admin

0


Data Types integer, float, boolean, string, array, object, resource, NULL Variable Declarations $variablename = “value”; $anothervariable = & $variablename; (Assign by Reference) Declare Array $arrayname = array(); Initialize Array $arrayname = array(<value1> , <value2> , <value3>); $arrayname = array(<key> => <value> , <key> => <value> ; (Define Keys) $multiarray = array(<key> => array(value1> , <value2>)); (Multi-dimensional) Common Array Functions sort(<array>); (Sort array assigns new keys)
Read More

Sep
6

0


How to redirect pages with PHP, HML, htaccess, and JavaScript Redirect Via php {code type=php}<? header( ‘Location: http://www.FremontTech.com’ ) ; ?> <html> <head> </head> <body> </body> </html>{/code} ImportantThis must be the very first thing on the page!! Redirect Via html {code type=html}<html> <head> <meta http-equiv=”refresh” content=”5; url=http://www.FremontTech.com/”> </head> <
Read More