I have several applications i built and have been using for some time on my Windows machine, and some that are on remote Linux servers.
The applications are mostly multi-purpose pages; they have forms on them formatted like this:
<form action="<?=$PHP_SELF?>" method="post">
<!-- blah blah -->
<input type="submit" value="Add Job" name="add_job">
and then the apps do different things like
<?
IF (isset($add_job)):
?>
...either because someone pushed the button named "add_job" or they clicked a link with the variable in the URL e.g.
http://localhost/billing/index.php?add_job
All my apps have quit displaying anything that's an IF or an ELSEIF or anything that gets it's values from HTTP.
I understand that i'm supposed to be doing something to specifically capture my variables, but i don't understand exactly what or how.
I have register_globals OFF in my php.ini and it's been that way all along.
I'd like to know how i'm supposed to properly post and get my variables, either intra-page or inter-page, before i go tearing apart my Windows and Apache installations trying to find something wrong with them.
My scripts work fine on my remote Linux/Apache servers and my local Linux box. My Windows PHP version is 4.4.0.
Thanks