PHP Coding Rewrite Help?

Steven C

New member
I have the following script,

<?php
if ($quest) {
include ("$quest.php");
} else {
?>
show text when nothing is called from url such as (http://exmaple.net/index.php?quest=blah)
<?php
}
?>

That reads the URL and displays the data requested, such a s index.php?quest=google but only works with register_globals_on. Is there any way I can rewrite the script without having it turned on for security reasons?

Thanks
Thank you Shrander!
It worked perfect and no register_globals (:
 
Back
Top