Changes

Quick Reference for PHP

388 bytes added, 20:24, 18 April 2014
The following lines were added (+) and removed (-):
<?  <?  header('Location: http://members.robotz.com/');    header('Location: http://members.robotz.com/'); ?>  ?>== Read Query String ==  <?    $qString = $_SERVER['QUERY_STRING'];    $qString = preg_replace('#[^a-zA-Z0-9_-]#', '', $qString);    print "QUERYSTRING= $qString<BR>";    if ($qString == "") $qString = "home";    if ($qString == "home") {      ?><i>Viewing the HOME PAGE</i></a> <?    } elseif ($qString == "other") {      ?><i>Viewing some other page</i></a> <?    }&nbsp;
Bureaucrat, administrator
16,192
edits