NYCPHP Meetup

NYPHP.org

[nycphp-talk] URL Trick...

LIAO YANG heli_travel at yahoo.com
Thu Jun 19 13:12:16 EDT 2003


you need to set up your redirect rule first.
some thing like this:

switch(url)
{
   match format a: go to page b; break;
   match format b: go to page c; break;
   ---
   --
   defaut: go to page a;
}

--- "Pete Czech - New Possibilities Group, LLC"
<pete at npgroup.net> wrote:
> Hey all:
> 
> I want to redirect a user to a page based on a URL, but the
> URL doesnt exist. IE, if I had:
> 
> www.xyz.com/123
> 
> it would redirect to:
> 
> www.xyz.com/somepage.php?variable=123
> 
> Anyone have any idea how to do it???
> 
> Thanks,
> 
> Pete Czech
> Director of Technology
> New Possibilities Group, LLC
> pete at npgroup.net
> http://www.npgroup.net
> 
> 
> 
> --- Unsubscribe at http://nyphp.org/list/ ---
> 
> 


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com



More information about the talk mailing list