RE: How to argue with ASP people...

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

 



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@xxxxxxxxxxx] 
> 
> 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@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


[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