> 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
t;
> Let me know if you'll find a SECURE one :-)
>
> Cheers,
> Maxim Maletsky
>
>
>
> -Original Message-
> From: elias [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 29, 2001 4:25 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Post but not Post
>
&g
find a SECURE one :-)
Cheers,
Maxim Maletsky
-Original Message-
From: elias [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 29, 2001 4:25 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Post but not Post
Hello.
we all know that we can send variables to another PHP file via tag
and with
Hello.
we all know that we can send variables to another PHP file via tag
and with post method.
now i wonder if i can send variables from a script to another like POST
method but not using form tags.
like my question is how can i transfer data from form to form like the POST
of the tag, but w/o
7 matches
Mail list logo