RE: [PHP] How to argue with ASP people...
| From: | Robby Russell | Date: | Fri, 31 Dec 2004 05:40:00 +0000 |
| Subject: | RE: [PHP] How to argue with ASP people... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-205411@lists.php.net to get a copy of this message | ||
sure, add this to the top of your file:
ob_start();
On Fri, 2004-12-31 at 04:50 +0000, mail.pmpa wrote:
> Can I do any session handling before calling header("Location: $url"); ?
>
> Pedro Almeida.
>
>
> -----Mensagem original-----
> De: Rasmus Lerdorf [mailto:rasmus@lerdorf.com]
>
> 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 :)
>
> header("Location: $url");
>
> which, by the way, makes a hell of a lot more sense. It's just an HTTP
> response header like any other response header and it is called
> Location, not Redirect.
>
> -Rasmus
>
--
/***************************************
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | robby@planetargon.com
* 503.351.4730 | blog.planetargon.com
* PHP/PostgreSQL Hosting & Development
* --- Now supporting PHP5 ---
****************************************/