Re: simple-ish question but something i never knew

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2005-12-10 at 02:07, matt VanDeWalle wrote:
> I am wanting to forward a user on a signup or similar page (based on a few 
> of their answers) and so far i have it split into  basically a two-step 
> process where i have on the first part, an option list with 4 choices, 
> they hit continue or some such labled link, and then having passed all the 
> session variables and making the decision in the next script it would 
> forward them to the right page automatically, do I have to use meta tags 
> to do this  or is there  some simple way e.g, 
> "url=http://rightpage.php?SID"; of course without the "'s except for in the 
> actual url
> I could have probably done this "switch on the fly" like some pages do but 
> I was told that requires java and i don't have or want to use java lol
> matt
> if possible i want to keep my webpages java free

header( 'Location: http://www.somewhere.com/the/page/to/load.php' );

The parameter to the Location header should be a full URL, although many
browsers tolerate relative.

Cheers,
Rob.
-- 
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for       |
| creating re-usable components quickly and easily.          |
`------------------------------------------------------------'

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux