programguru Posted April 17, 2007 Share Posted April 17, 2007 Hello, I have an application I am working on which I started on a remote RedHat server. I just installed and configured PHP 4 & 5 to run w/ Apache using two separate ports - and it's amazing! Except I am running into an issue?? I downloaded all of my site files from the RedHat server, and I am able to view all of my server files fine except I am unable to get pages to view that run of an index of my index.php - for example: http://localhost:myport/mysite.com/index.php?page=aboutus As you can see I am trying to view my aboutus page referenced in my index file, but I can't view it? For some reason the URL is totally correct (at least it is for all reference purposes), but I cannot view the page?? I figured it was an INI setting, but I am not sure where to start. Can anyone shed some light? Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted April 17, 2007 Share Posted April 17, 2007 Could you post some example script of how you grab the page variable from the url. To get the page variable you should use $_GET['page'], or if you are using PHP4.1 or less you use $page Quote Link to comment Share on other sites More sharing options...
programguru Posted April 27, 2007 Author Share Posted April 27, 2007 All I have used is $_REQUEST ...... if($_REQUEST['search']){ $vars=""; $vars.="page=".$_REQUEST['page']."&search=".$_REQUEST['search']."&city=".$_REQUEST['city']."&price=".$_REQUEST['price']."&bedroom=".$_REQUEST['bedroom']."&pets=".$_REQUEST['pets']; .... Quote 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.