> I was just doing this a while back and ran into problems when going to
443.
> Any ideas on that? A regular fsockopen failed because of the security
> needed.
>
> -Bob
Probably because you weren't following the SSL protocol
You'll find the curl functions useful for SSL posting - or even non SSL
; [EMAIL PROTECTED]
Subject: Re: [PHP] Post but not Post
Use fsockopen to send the data:
$host = "your.host";
$port = 80;
$postdata = "field1=value1&field2=value2&field3=value3";
if ($sp = fsockopen($host, $port)) {
fputs($sp,"POST /path/to/script.php HTTP/1.
Use fsockopen to send the data:
$host = "your.host";
$port = 80;
$postdata = "field1=value1&field2=value2&field3=value3";
if ($sp = fsockopen($host, $port)) {
fputs($sp,"POST /path/to/script.php HTTP/1.0\n");
fputs($sp,"Host: $host\n");
fputs($sp,"Content-type: application/x-www-form-urlen
only way i can think of is to use session and pass them across in session varibles ..
providing your using php4
-Original Message-
From: elias [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 29, 2001 5:25 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Post but not Post
Hello.
we
Maxim,
I just want them to be passed same as if passed via a with a POST
method.
can i simulate the POST?
Like i tried to put then in the $HTTP_POST_VARS[] but ofcourse, won't be for
any good,
unless...hmm... i never tried it though, and i have no good knowledge about
it, but here's my idea:
usu
no other way.
Unless you identify the user somehow VERY WELL, write the staff into the
file, and then read the file on other page.
But, basically - the values are being passed with - urls, forms, cookies,
sessions (still cookies or urls). No other ways are out there.
Let me know if you'll find
6 matches
Mail list logo