You are here: Re: [PHP] simple-ish question but something i never knew « PHP « IT news, forums, messages
Re: [PHP] simple-ish question but something i never knew

Posted by Robert Cummings on 12/10/05 09:15

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. |
`------------------------------------------------------------'

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация