At 10:18 AM 5/17/01 -0700, [EMAIL PROTECTED] wrote:
I have what I feel to be a strange problem (I'm most likely wrong here).
I have page A, which is an internal page, which posts to page C which is
external (belongs to another company). What I would like is to insert a
preprocessing script
Try going to the page with the vars you need in the URL. i.e.:
http://www.www.com/cgi-bin/script?var1=testvar2=testing
If that works then just use a simple header location forward in script 'b':
// process vars
header(LOCATION:http://www.www.com/cgi-bin/script?var1=testvar2=testing;);
That
Unfortunately, I don't control page c, or else this would be a mute point. That's why
I need page B. Good idea though.
At 10:18 AM 5/17/01 -0700, [EMAIL PROTECTED] wrote:
I have what I feel to be a strange problem (I'm most likely wrong here).
I have page A, which is an internal page, which
This is a fairly solid suggestion, and it may be what I have to do. But,
unfortunately, Page C is expecting a POST, not a GET, which may make it not work.
Also, I would like to avoid this if possible due to some of the sensitive information
that will be being passed to and fro. Even if it
At 10:48 AM 5/17/01 -0700, [EMAIL PROTECTED] wrote:
Unfortunately, I don't control page c, or else this would be a mute point.
That's why I need page B. Good idea though.
Well, it sounds like an auto-redirect is about your only choice.
--
Dave's Engineering Page: http://www.dvanhorn.org
]
Sent: Thursday, May 17, 2001 11:51 AM
Subject: RE: Re: [PHP] preprocessing
This is a fairly solid suggestion, and it may be what I have to do. But,
unfortunately, Page C is expecting a POST, not a GET, which may make it not
work. Also, I would like to avoid this if possible due to some
to B with just a Submit button, with a message Please
click the Submit button to continue.
Kirk
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 17, 2001 11:51 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: Re: [PHP] preprocessing
There's a public domain function kicking around called post_to_host or
something like that which will do exactly what you wish. If you search the
list archives I'm sure there will be several pointers to where you can find
it.
- Tim
--
PHP General Mailing List (http://www.php.net/)
To
Louis, if you track this down, please post back to the list what you find.
TIA
Kirk
-Original Message-
From: infoz [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 17, 2001 12:21 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] preprocessing
There's a public
Thanks, Tim!
http://marc.theaimsgroup.com/?l=php-generalm=98582357009336w=2
Kirk
-Original Message-
From: infoz [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 17, 2001 12:21 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] preprocessing
There's a public domain
.
:)
- Tim
- Original Message -
From: Johnson, Kirk [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, May 17, 2001 2:31 PM
Subject: RE: [PHP] preprocessing
Thanks, Tim!
http://marc.theaimsgroup.com/?l=php-generalm=98582357009336w=2
Kirk
--
PHP General
]
- Original Message -
From: Nathan Cook [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; Php List [EMAIL PROTECTED]
Sent: Thursday, May 17, 2001 11:54 AM
Subject: Re: Re: [PHP] preprocessing
In that case you may be able to assemble the headers of a get using the
header()
function. I will look up a few
Well, one solution may be (although might not easy) to make your page A to
submit to page B which process information and submits to page C via PHP -
Curl functions. You may POST variables and even use SSL connection. It
worked just fine for me. It is more reliable any javascript solution and
13 matches
Mail list logo