Re: Preserving URL after redirect?
| From: | Richard Lynch | Date: | Fri, 07 Mar 2008 15:26:15 +0000 |
| Subject: | Re: Preserving URL after redirect? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-271128@lists.php.net to get a copy of this message | ||
On Wed, March 5, 2008 11:18 am, Skip Evans wrote:
> "shortname", in this case "madison", and then sets
> a session variables for school ID that allows the
> user to access this school's data.
>
> Then it redirects back to
>
> http://prepcube.com/
Don't redirect to this.
Your session data has "wi/madison" in it, redirect to that:
header("Location:
http://precube.com/$_SESSION[state]/$_SESSION[shortname]");
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/from/lynch
Yeah, I get a buck. So?