On Fri, 2004-12-31 at 02:49 +0000, mail.pmpa wrote: > Don't mean to start a discussion whatsoever, I love php, but one thing i > can't do in php is Response.Redirect . > Apart from that no complains so far :) > > * Happy New Year * > > Pedro Almeida. > Sure you can.. class Response { function redirect($location) { header("Location: " . $location); } function write($text) { print $text; } } Response::Redirect("http://www.planetargon.com/"); Response::Write("bar"); There, now we can compete with ASP. ;-) -- /*************************************** * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | robby@xxxxxxxxxxxxxxx * 503.351.4730 | blog.planetargon.com * PHP/PostgreSQL Hosting & Development * --- Now supporting PHP5 --- ****************************************/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php