GodsDead Posted April 3, 2006 Report Share Posted April 3, 2006 Well heres the thing, im not sure why this isnt wokign as it seems fine, adn works on other servers, maybe somehtings happedned in apache.. heres the code im trying to work:(index.php) <?php switch($load){ case"": echo"Index"; break; case"about": echo"About my Sexy ass."; break; default; echo"page not found loser"; break; } ?> Pointing your browser to index.php?load=about I still get "index" echoed, and i keep trying arraangements of this code, and there is no reason why it shuld work, It used to work fine.. Any ideas why this isnt working?And i have tryed different directorys and fiddleign the code.. Quote God Is Dead Link to comment Share on other sites More sharing options...
matrey Posted April 6, 2006 Report Share Posted April 6, 2006 Do you tried to use $_GET[load] instead of $load ? Quote Link to comment Share on other sites More sharing options...
olajideolaolorun Posted April 13, 2006 Report Share Posted April 13, 2006 Thats because Register Globals is Off. Quote Best Regards Olajide Olaolorun The Uniform Server Development Team Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.