[SMTP:[EMAIL PROTECTED]]
Sent:Monday, February 19, 2001 7:33 AM
To:Montgomery-Recht, Evan
Subject:Re: [PHP] HTTP POST Question
You have to use header() function and how POST work you can find in HTTP
RFC
at http://www.w3.org/Protocols/rfc2616/rfc2616.html
---
Hi
I read a article about posting data .. and there was a script but I dont
know resource of this script. But this is working. let me give you a example
?php
// Posting function
function PostToHost($host, $path, $data_to_send) {
$fp = fsockopen($host,80);
fputs($fp, "POST
To: Montgomery-Recht, Evan
Subject: Re: [PHP] HTTP POST Question
You have to use header() function and how POST work you can find in HTTP
RFC
at http://www.w3.org/Protocols/rfc2616/rfc2616.html
-
Milan Mlynarcik
Web Programme
, 2001 9:06 AM
To: Montgomery-Recht, Evan
Subject: Re: [PHP] HTTP POST Question
You can do it with socket functions.
-
Milan Mlynarcik
Web Programmer
Charmed Technology Slovakia
Nam. sv. Egidia 16/37
058 01 Poprad, Slovakia
I've been struggling with the same idea.
I haven't been able to process the returned value, but I've the
following methods to DISPLAY the cgi results. Although, the PHP has no
way of knowing wether the CGI evaluated to a Yes or No result.
If you solve this, then please let me know.
).
-Original Message-
From: Milan Mlynarcik [SMTP:[EMAIL PROTECTED]]
Sent: Monday, February 19, 2001 7:33 AM
To: Montgomery-Recht, Evan
Subject: Re: [PHP] HTTP POST Question
You have to use header() function and how POST work you can find in HTTP
RFC
at http:
6 matches
Mail list logo