Re: [PHP] how to redirect ?

2004-09-10 Thread John Nichel
CBharadwaj wrote: Hi I have used Header (Location:PATH) function for redirection. it is giving some errors. is there any other method other than HEADER() funtion for redirecting ? Bharadwaj What are the errors? Output already started? -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAI

Re: [PHP] how to redirect ?

2004-09-10 Thread Abdul-Wahid Paterson
What errors is it giving? It should work fine. However, remember that since it is part of the HTTP header information it has to come before any of the main output of the script. Do you have a code sample and the error message? Abdul-Wahid On Fri, 13 Aug 2004 16:03:29 -0700, CBharadwaj <[EMAIL PR

Re: [PHP] how to redirect ?

2004-09-10 Thread Heber D'Alberto
CBharadwaj wrote: Hi I have used Header (Location:PATH) function for redirection. it is giving some errors. is there any other method other than HEADER() funtion for redirecting ? Bharadwaj What type of errors have you? Heber D'Alberto -- PHP General Mailing List (http://www.php.net/) To unsubs

Re: [PHP] how to redirect with post method

2004-05-28 Thread Daniel Clark
I don't believe you can sent those post variables on the URL. Either as GET variables on the URL. Set Session variables and read on the next page. Or setup a with hidden post variables populated with the $post variables, and JavaScript to auot submit onload. > Hello, > I have a webpage that I'm

Re: [PHP] how to redirect with post method

2004-05-28 Thread raditha dissanayake
Raúl Castro wrote: Hello, I have a webpage that I'm redirecting to other page with header command, for instance: header("location:information.php?cod1=$cod1&cod2=$cod2&...codn=$codn"); I need send all vars (cod1, cod2, ..codn) on POST method, How Can I do this? thanks. In fact if you redirect f

Re: [PHP] how to redirect with post method

2004-05-28 Thread John Nichel
Raúl Castro wrote: Hello, I have a webpage that I'm redirecting to other page with header command, for instance: header("location:information.php?cod1=$cod1&cod2=$cod2&...codn=$codn"); I need send all vars (cod1, cod2, ..codn) on POST method, How Can I do this? thanks. Easy way, JavaScript. More i

Re: [PHP] How to redirect form results to different server?

2003-03-06 Thread Jonathan Pitcher
Jody, on "frommail.php": Depending on your version of PHP I would guess you are running PHP 4.2 or greater with register_globals = off. That would create the errors that you are getting: Notice: Undefined variable: Name To get around this error Use this $_GET["Name"] this should return the v

RE: [PHP] how to redirect from one page to an other page in PHP ?

2002-10-03 Thread Liam . Gibbs
I think this is what you'll want. <> You need to be careful that you haven't output anything beforehand or you'll get an error message. Even having a blank line before the http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] how to redirect to other page?

2001-03-05 Thread Batonik
On Mon, 5 Mar 2001, JW wrote: > i have used header to redirect to other page. [cut] > if ($result == false) > { > header ("HTTP/1.0 404 Not Found"); > exit; > } > else > { > header ("../Form/first.html"); ^ Accordin