Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

values not passed (sometimes) 1

Status
Not open for further replies.

euskadi

Programmer
Oct 4, 2001
179
US
I am doing this with mixed results:

mydomain.com/dir/action.php?mode=new

----
I have two domains with the same hosting company, on one this works ($mode == 'new') and on the other it doesn't (isset($mode) == false). The pages are otherwise identical!

Any clue as to why this is so???
 
one domain may have register_globals turned on and the other off...

For the one that doesn't work try using

$mode = $_GET['mode'];
 
Thanks! that solved the problem.

I didn't think that would do it since I'm not submitting a form using 'post' to link to the page, but it works.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top