Re: Preserving URL after redirect?

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

 



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?


-- 
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