I have the below code and when I have globals set to on it workls, but when I set globals to off it does not do anything but show the same page. I thought the $_server['PHP'] was used when globals are set to off? Did I miss something.
Any help would be appreciated.
Thanks!
echo "<p><table width=100% cellspacing=10><tr><td>";
switch($action) {
//////////////////////////////////
// main features (read-only)
case "getovercrdrpt":
overcredrpt($startdate, $enddate, $ODBCName, $login, $pass);
break;
case "getrecvdetail":
rec_detail($startdate, $enddate, $ODBCName, $login, $pass );
break;
case "getcreddetail":
cred_detail($startdate, $enddate, $ODBCName, $login, $pass );
break;
case "gettop25detail":
reports_top25($startdate, $enddate, $ODBCName, $login, $pass );
break;
/* case "getprodsummary":
batchsummary($startdate, $enddate, $f_employeeid, $f_shift);
break;
*/
case "getovercrd":
GetDates("Over Credit Report","getovercrdrpt");
break;
case "getrecdet":
GetDates("Receiving Productivity","getrecvdetail");
break;
case "getcrecdet":
GetDates("Credit Lines Productivity","getcreddetail");
break;
case "gettop25det":
GetDates("Top 25 Damages Report","gettop25detail");
break;
/* ---------------------------------/
/ general browse
/
/ the home page - browse screen
/ -----------------------------------*/
case "":
// menu_header("","Browse","folder.jpg");
echo "<table width=100%><tr><td valign='top' width=50%>\n";
default:
echo "<center><font class='text18bold' color='#4600FF'>Welcome to the Warehouse Operations Page<br></font></center>";
echo "<table width=100% bgcolor='#ffffff' cellspacing=1 cellpadding=1>";
echo "<tr valign='top' align='left' bgcolor='#ffffff'><td> </td></tr></table>";
echo "<center>";
echo "<a href=".$_SERVER['PHP_SELF']."?action=getovercrd class='text10'>Over Credit Report</a>        ";
echo "<a href=".$_SERVER['PHP_SELF']."?action=getrecdet class='text10' align='center'>Receiving Productivity Detail</a>        ";
echo "<a href=".$_SERVER['PHP_SELF']."?action=getcrecdet class='text10' align='center'>Credit Lines Finalized Productivity Detail</a>";
echo "<table width=100% bgcolor='#ffffff' cellspacing=1 cellpadding=1>";
echo "<tr valign='top' align='left' bgcolor='#ffffff'><td> </td></tr></table>";
echo "<a href=".$_SERVER['PHP_SELF']."?action=gettop25det class='text10' align='center'>Top 25 Damages Report</a>";
echo "</center>";
/* echo "<a href=".$_SERVER['PHP_SELF']."?action=showservices class='text10'>View Customer Services</a><br> ";
echo "<a href=".$_SERVER['PHP_SELF']."?action=showcontacts class='text10'>View Key Contacts</a><br> ";
echo "<a href=".$_SERVER['PHP_SELF']."?action=showotherprgms class='text10'>View Other Programs</a><br> ";
*/
}