Re: Post Without Return

From: CountScubula (me_at_scantek.hotmail.com)
Date: 01/29/04


Date: Thu, 29 Jan 2004 19:57:58 GMT

open up a socket, this should get you started:
http://www-3.gzentools.com/snippetview.php?c=HTTP&v=getresource.php

just add code to send POST data, it is in the header just like a GET, last
line in header add
var=bla&var2=bla....etc

--
Mike Bradley
http://www.gzentools.com  -- free online php tools
"Tyrone Slothrop" <ts@paranoids.com> wrote in message
news:6gji1056fa4anpf1a8j27i8dkr6g265psl@4ax.com...
> I have used fsockopen() and cURL for posting to remote servers where I
> wanted to get a return value, but how do you post to a remote server
> programatically where you want to go to the result page on that
> server?  I am sure this is something simple, but my befuddled mind is
> failing.  Too much coding and too little sleep.!  ;-)


Relevant Pages

  • Re: Redirect with POST
    ... a location header is included to show the url to go to. ... "Thom Little" wrote: ... just javascript in the page. ... POST data (i.e., formatted like a form. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: How to retrieve raw HTTP Post Data
    ... in the html payload, the cookie is in the header, and is just before the ... Is there a way to separate the POST data? ... On Nov 15, 12:48 pm, bruce barker ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: "Warning: Page has Expired" - How to aviod when using browserback button?
    ... The visitor's browser will have to submit the POST data twice ... Sending a "Location" header with PHP simply isn't good ... phil [dot] ronan @ virgin net ...
    (comp.lang.php)
  • Re: post image to webhoster - upload file with http
    ... I want to upload an image to imageshack in C++. ... where I can specify a url, post data and header. ... String boundary, sHeader, sPostData, sFileContent; ...
    (alt.php)