Re: [PHP] page redirect question

2004-11-10 Thread M Saleh EG
The keyword you are looking for is ob_start() Or Output Buffering ! Check that out. On Wed, 10 Nov 2004 09:39:06 +0530, Zareef Ahmed <[EMAIL PROTECTED]> wrote: > > Hi, > > Alas there is no any other way to redirect the page without sending > headers in PHP. > You may use javascript for this p

RE: [PHP] page redirect question

2004-11-09 Thread Zareef Ahmed
Hi, Alas there is no any other way to redirect the page without sending headers in PHP. You may use javascript for this purpose. Well it is matter of programming practice. We must do processing before presenting the content to users. It will be helpful in many situations. So instead of doin

Re: [PHP] page redirect question

2004-11-09 Thread Minuk Choi
Victor, try this. at the TOP of your HTML, put then you can have all your regular HTML/PHP/JAVASCRIPT/ETC code, and somewhere(in the middle, in the end), you can call where $URL is a variable that contains a URL and it will work. ?> - Original Message - From: "Victor C." <[EMAIL PROTEC

Re: [PHP] page redirect question

2004-11-09 Thread Klaus Reimer
Victor C. wrote: Is there anyway to redirect php page other than using HEADER("LOCATION:URL") ? Header can only be called if nothing is written to HTML... Is there anyway around it? You can use output buffering. Then it doesn't matter where you call header(). But if you do a redirect you should cl

Re: [PHP] page redirect question

2004-11-09 Thread Richard Davey
Hello Victor, Tuesday, November 9, 2004, 4:07:12 PM, you wrote: VC> Is there anyway to redirect php page other than using VC> HEADER("LOCATION:URL") ? VC> Header can only be called if nothing is written to HTML... Is there anyway VC> around it? Not really, no. Maybe with a meta refresh tag or so