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
] 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
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
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
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
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
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
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:
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
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
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
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
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
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
14 matches
Mail list logo