Re: [PHP] Relocating and POSTing

2008-07-11 Thread tedd
At 7:20 PM +0100 7/10/08, Alex Chamberlain wrote: I need to send a header('Location:') and send some data along with it - how would I do this?? Thanks, Alex Alext: Or you could just: ob_clean(); include('theNextScript.php'); exit(); The variable in your parent script will be

RE: [PHP] Relocating and POSTing

2008-07-11 Thread Alex Chamberlain
] Relocating and POSTing At 7:20 PM +0100 7/10/08, Alex Chamberlain wrote: I need to send a header('Location:') and send some data along with it - how would I do this?? Thanks, Alex Alext: Or you could just: ob_clean(); include('theNextScript.php'); exit

Re: [PHP] Relocating and POSTing

2008-07-11 Thread Daniel Brown
On Fri, Jul 11, 2008 at 12:26 PM, Alex Chamberlain [EMAIL PROTECTED] wrote: Ahh, but they are on different webservers That's why I mentioned cURL at the very beginning, if it had to be done as a POST request. At the moment, I am just using a query string. How long is the limit of the

Re: [PHP] Relocating and POSTing

2008-07-11 Thread tedd
At 12:37 PM -0400 7/11/08, Daniel Brown wrote: On Fri, Jul 11, 2008 at 12:26 PM, Alex Chamberlain [EMAIL PROTECTED] wrote: Ahh, but they are on different webservers That's why I mentioned cURL at the very beginning, if it had to be done as a POST request. At the moment, I am just

Re: [PHP] Relocating and POSTing

2008-07-11 Thread Daniel Brown
On Fri, Jul 11, 2008 at 1:07 PM, tedd [EMAIL PROTECTED] wrote: Incidentally, I did some minor testing on this a few years ago and found the lengths vary greatly between servers. and browsers. If I remember correctly, on Winblows alone, Opera is capable of somewhere in the 4,500

Re: [PHP] Relocating and POSTing

2008-07-11 Thread tedd
At 1:19 PM -0400 7/11/08, Daniel Brown wrote: On Fri, Jul 11, 2008 at 1:07 PM, tedd [EMAIL PROTECTED] wrote: Incidentally, I did some minor testing on this a few years ago and found the lengths vary greatly between servers. and browsers. If I remember correctly, on Winblows

[PHP] Relocating and POSTing

2008-07-10 Thread Alex Chamberlain
I need to send a header('Location:') and send some data along with it - how would I do this?? Thanks, Alex No virus found in this outgoing message. Scanned by AVG Free 8.0 Checked by AVG - http://www.avg.com Version: 8.0.138 / Virus Database: 270.4.7/1544 - Release Date: 10/07/2008 07:37

Re: [PHP] Relocating and POSTing

2008-07-10 Thread Richard Heyes
Alex Chamberlain wrote: I need to send a header('Location:') and send some data along with it - how would I do this?? Two methods: 1. Use the query string. Eg header('Location: http://www.xxx.com?name=valuename2=value2'); 2. Use sessions -- Richard Heyes Employ me:

Re: [PHP] Relocating and POSTing

2008-07-10 Thread Daniel Brown
On Thu, Jul 10, 2008 at 2:20 PM, Alex Chamberlain [EMAIL PROTECTED] wrote: I need to send a header('Location:') and send some data along with it - how would I do this?? You probably want to use cURL: http://php.net/curl -- /Daniel P. Brown Dedicated Servers - Intel 2.4GHz

Re: [PHP] Relocating and POSTing

2008-07-10 Thread Daniel Brown
On Thu, Jul 10, 2008 at 2:32 PM, Richard Heyes [EMAIL PROTECTED] wrote: 1. Use the query string. Eg header('Location: http://www.xxx.com?name=valuename2=value2'); That's GET, not POST, as the subject requests. ;-P 2. Use sessions if you're not trying to POST the data and are

Re: [PHP] Relocating and POSTing

2008-07-10 Thread Eric Butera
On Thu, Jul 10, 2008 at 2:58 PM, Daniel Brown [EMAIL PROTECTED] wrote: On Thu, Jul 10, 2008 at 2:32 PM, Richard Heyes [EMAIL PROTECTED] wrote: 1. Use the query string. Eg header('Location: http://www.xxx.com?name=valuename2=value2'); That's GET, not POST, as the subject requests. ;-P

FW: [PHP] Relocating and POSTing

2008-07-10 Thread Alex Chamberlain
To: Daniel Brown Cc: [EMAIL PROTECTED]; Alex Chamberlain; PHP General list Subject: Re: [PHP] Relocating and POSTing On Thu, Jul 10, 2008 at 2:58 PM, Daniel Brown [EMAIL PROTECTED] wrote: On Thu, Jul 10, 2008 at 2:32 PM, Richard Heyes [EMAIL PROTECTED] wrote: 1. Use the query string. Eg

Re: [PHP] Relocating and POSTing

2008-07-10 Thread Shawn McKenzie
Daniel Brown wrote: On Thu, Jul 10, 2008 at 2:32 PM, Richard Heyes [EMAIL PROTECTED] wrote: 1. Use the query string. Eg header('Location: http://www.xxx.com?name=valuename2=value2'); That's GET, not POST, as the subject requests. ;-P 2. Use sessions if you're not trying to

Re: [PHP] Relocating and POSTing

2008-07-10 Thread M. Sokolewicz
Shawn McKenzie wrote: Daniel Brown wrote: On Thu, Jul 10, 2008 at 2:32 PM, Richard Heyes [EMAIL PROTECTED] wrote: 1. Use the query string. Eg header('Location: http://www.xxx.com?name=valuename2=value2'); That's GET, not POST, as the subject requests. ;-P 2. Use sessions