Re: send a POST to a URL from within PHP code

From: Date: Mon, 26 Jan 2004 16:53:26 +0000
Subject: Re: send a POST to a URL from within PHP code
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-175781@lists.php.net to get a copy of this message
--- Vincent DUPONT <Vincent.dupont@ausy.be> wrote: > I would like to simulate sending a form in POST to a specified URL > through PHP. You can do this with a number of PEAR classes (search on http://pear.php.net/), the cURL extension (if you have it), or manually with PHP (if you have the allow_url_fopen directive enabled): http://shiflett.org/hacks/php/http_post Hope that helps. Chris ===== Chris Shiflett - http://shiflett.org/ PHP Security Handbook Coming mid-2004 HTTP Developer's Handbook http://httphandbook.org/

« previous php.general (#175781) next »