Re: [PHP] Serving pages based on user input

2008-09-11 Thread prasad
Jochem Maas wrote: tedd schreef: At 10:02 PM -0700 8/23/08, Prasad Chand wrote: Thanks for that information. But in my case I need to serve pages based on selection of US states. There are 50 of them, so generating pages dynamically would have been a nice idea. WTF? do you have any idea why

Re: [PHP] Serving pages based on user input

2008-08-29 Thread Thodoris
O/H Jochem Maas έγραψε: Robert Cummings schreef: On Sun, 2008-08-24 at 13:35 +0100, Ashley Sheridan wrote: On Sat, 2008-08-23 at 22:17 -0400, Robert Cummings wrote: On Sun, 2008-08-24 at 01:32 +0200, Jochem Maas wrote: Ólafur Waage schreef: You can read about the header function.

Re: [PHP] Serving pages based on user input

2008-08-24 Thread Robert Cummings
On Sun, 2008-08-24 at 13:35 +0100, Ashley Sheridan wrote: On Sat, 2008-08-23 at 22:17 -0400, Robert Cummings wrote: On Sun, 2008-08-24 at 01:32 +0200, Jochem Maas wrote: Ólafur Waage schreef: You can read about the header function.

Re: [PHP] Serving pages based on user input

2008-08-24 Thread Jochem Maas
tedd schreef: At 9:55 PM -0700 8/23/08, Prasad Chand wrote: This is off-topic, but the reason I was touchy about includes was because it could create seo problems. http://forums.digitalpoint.com/showthread.php?t=31519 any takers on how the above link was found? lol Bttt -- nope --

Re: [PHP] Serving pages based on user input

2008-08-24 Thread Jochem Maas
Robert Cummings schreef: On Sun, 2008-08-24 at 13:35 +0100, Ashley Sheridan wrote: On Sat, 2008-08-23 at 22:17 -0400, Robert Cummings wrote: On Sun, 2008-08-24 at 01:32 +0200, Jochem Maas wrote: Ólafur Waage schreef: You can read about the header function.

Re: [PHP] Serving pages based on user input

2008-08-24 Thread Jochem Maas
tedd schreef: At 10:02 PM -0700 8/23/08, Prasad Chand wrote: Thanks for that information. But in my case I need to serve pages based on selection of US states. There are 50 of them, so generating pages dynamically would have been a nice idea. WTF? do you have any idea why we write scripts as

Re: [PHP] Serving pages based on user input

2008-08-24 Thread Robert Cummings
On Sun, 2008-08-24 at 21:53 +0200, Jochem Maas wrote: Robert Cummings schreef: On Sun, 2008-08-24 at 13:35 +0100, Ashley Sheridan wrote: On Sat, 2008-08-23 at 22:17 -0400, Robert Cummings wrote: On Sun, 2008-08-24 at 01:32 +0200, Jochem Maas wrote: Ólafur Waage schreef: You can read

Re: [PHP] Serving pages based on user input

2008-08-24 Thread tedd
At 10:02 PM +0200 8/24/08, Jochem Maas wrote: tedd schreef: You don't have to generate 50 pages dynamically to do it -- try this: http://webbytedd.com/bbb/map/ That demo is done with just pure css -- no php nor javascript a version of europe actually :-P I saw that after I had done mine.

[PHP] Serving pages based on user input

2008-08-23 Thread Prasad Chand
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

Re: [PHP] Serving pages based on user input

2008-08-23 Thread Ólafur Waage
You can read about the header function. http://is2.php.net/manual/en/function.header.php Ólafur Waage 2008/8/23 Prasad Chand [EMAIL PROTECTED]: 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

Re: [PHP] Serving pages based on user input

2008-08-23 Thread Jochem Maas
Prasad Chand schreef: 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

Re: [PHP] Serving pages based on user input

2008-08-23 Thread Jochem Maas
Ó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

Re: [PHP] Serving pages based on user input

2008-08-23 Thread tedd
At 2:03 PM -0700 8/23/08, Prasad Chand wrote: 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

Re: [PHP] Serving pages based on user input

2008-08-23 Thread tedd
At 1:21 AM +0100 8/24/08, Ashley Sheridan wrote: On Sat, 2008-08-23 at 20:07 -0400, tedd wrote: At 2:03 PM -0700 8/23/08, Prasad Chand wrote: 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).

Re: [PHP] Serving pages based on user input

2008-08-23 Thread Prasad Chand
Jochem Maas wrote: Prasad Chand schreef: 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

Re: [PHP] Serving pages based on user input

2008-08-23 Thread Prasad Chand
Thanks for that information. But in my case I need to serve pages based on selection of US states. There are 50 of them, so generating pages dynamically would have been a nice idea. tedd wrote: At 1:21 AM +0100 8/24/08, Ashley Sheridan wrote: On Sat, 2008-08-23 at 20:07 -0400, tedd wrote:

Re: [PHP] Serving pages based on user input

2008-08-23 Thread tedd
At 9:55 PM -0700 8/23/08, Prasad Chand wrote: This is off-topic, but the reason I was touchy about includes was because it could create seo problems. http://forums.digitalpoint.com/showthread.php?t=31519 Bttt -- nope -- two different types of includes. The link above is discussing

Re: [PHP] Serving pages based on user input

2008-08-23 Thread Robert Cummings
On Sun, 2008-08-24 at 01:32 +0200, Jochem Maas wrote: Ó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

Re: [PHP] Serving pages based on user input

2008-08-23 Thread tedd
At 10:02 PM -0700 8/23/08, Prasad Chand wrote: Thanks for that information. But in my case I need to serve pages based on selection of US states. There are 50 of them, so generating pages dynamically would have been a nice idea. Really, there are 50 of them!?!? :-) You don't have to