On 6/16/07 12:15 PM, "Andy Dirnberger" <[EMAIL PROTECTED]> wrote:
> It looks like all the C# does is decode the URL of the page to which you > want to redirect. The page then uses JavaScript (window.location.replace) > to actually handle the redirect. > > You should be able to accomplish this with something like: > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > <?php > $to = urldecode ($_GET ['to']); > ?> > <html xmlns="http://www.w3.org/1999/xhtml" > > <head> > <script type="text/javascript" language="javascript"> > <!-- > window.location.replace ("<?php echo $to; ?>"); > --> > </script> > <title></title> > </head> > <body></body> > </html> Andy: Awesome! Seems simple now that you "decoded" it. When I first saw the foreign language, it looked like gibberish. Cliff _______________________________________________ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 Presentations Online http://www.nyphpcon.com Show Your Participation in New York PHP http://www.nyphp.org/show_participation.php