Re: Serving pages based on user input

From: Date: Sat, 23 Aug 2008 23:32:35 +0000
Subject: Re: Serving pages based on user input
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-278574@lists.php.net to get a copy of this message
Ólafur Waage schreef:
You can read about the header function. http://is2.php.net/manual/en/function.header.php
hi Ólafur, his situation doesn't require a redirect (he only thinks it does), and redirects suck when used unecessarily. (plenty of info on the web about why this is so ... hunt for a 'rant' by the formidable Richard Lynch in the archives of this list for instance)
Ólafur Waage 2008/8/23 Prasad Chand <prasad.chand@gmail.com>:
Hi, I am fairly new to PHP. I would like to serve a page to a user based on his input. Say, I have a page 1 where user has 3 options(drop down menu). Based on his selection I would like a php script to direct him to another page (to pages 2,3,4 based on what he selected). I am unable to figure how to do this in php. Can you please give me some pointers. Is there any function which takes path and directs the user to that page? Thanks, Prasad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.general (#278574) next »