Hi People!
Can anyone help with this:
Want to pick up variables passed from form in
PHP page and pass to distant site. Can use
long get, but would like to access ALL variables
in the PHP page and pass them forward, without
coding each individual one if possible
If your variables are not more than 4,096 bytes (which I think is limit
for the get string), you can just pass a GET variable whose value is
urlencode (serialize ($_REQUEST));
Marco
--
php|architect - The magazine for PHP Professionals
The first monthly worldwide magazine
Pulling this idea from down south, but could you do serialize($_GLOBALS)
and then POST that to the distant site and unserialize it?
what are you trying to accomplish exactly? A Proxy?
-js
Mike MacDonald wrote:
Hi People!
Can anyone help with this:
Want to pick up variables passed
Are you using array vars in your HTML form?
eg:
input type=text name=form[first_name]
etc etc
Timothy Hitchens (HiTCHO)
[EMAIL PROTECTED]
If you need PHP hosting with an experienced
support team 24/7 then email me today.
On 14 Nov 2002, Mike MacDonald wrote:
Hi People!
Can anyone help
At 00:41 15.11.2002, Mike MacDonald said:
[snip]
Hi People!
Can anyone help with this:
Want to pick up variables passed from form in
PHP page and pass to distant site. Can use
long get, but would like to access ALL variables
in the PHP page and
[EMAIL PROTECTED] (Ernest E Vogelsinger) wrote in
news:5.1.1.6.2.20021115015548.028ef858;mail.vogelsinger.at:
[EMAIL PROTECTED]
Ernest !
I just tried out your solution and it formats up the get string out of
the box! We're really close because although the page still errors, if I
print the
On Friday 15 November 2002 14:32, Mike MacDonald wrote:
$CompositeURL=http://202.20.65.2:3000/sportzHUB/Fletchers/BookingResults
?$post;
echo $CompositeURL;
// Pull in Snoopy
include ProxyInc.html;
$snoopy = new Snoopy;
$snoopy-fetch($CompositeURL);
print $snoopy-results;
The error is
7 matches
Mail list logo