php-general | 2005051
Date: 05/13/05
- Next message: hima: "[PHP] error display problem"
- Previous message: Brian V Bonini: "Re: [PHP] Re: why are session only working with cookies?"
- In reply to: dan: "Re: [PHP] Form handling"
- Next in thread: Rory Browne: "Re: [PHP] Form handling"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> What other methods would be good to use? Using a giant if statement?
Did you read my code for this? It consisted of two lines, which
basicly did the same thing as your massive ugly switch statment. It
also does a limited amount of error-checking, in that it checks to
make sure that the file actually exists.
> However, since I'm anal, I want the entire page to be named index.php,
> which is why I am stuck on the idea of making each page's "target" set
> to index.php WITH $_SESSION['step'] being set to 1, 2, 3, whichever is
> the next step in the process. If this is bad, what are my alternatives now?
If you ask for alternatives, and then turn them down on the basis that
you're anal, well, I give up.
You could also place the step in form hidden values.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: hima: "[PHP] error display problem"
- Previous message: Brian V Bonini: "Re: [PHP] Re: why are session only working with cookies?"
- In reply to: dan: "Re: [PHP] Form handling"
- Next in thread: Rory Browne: "Re: [PHP] Form handling"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

