Re: Passing POST variables w/out a FORM submit

From: Date: Thu, 13 Nov 2003 21:40:56 +0000
Subject: Re: Passing POST variables w/out a FORM submit
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-169585@lists.php.net to get a copy of this message
--- Damon Hill <damon@office.IFWORLD.com> wrote: > I am not privy to how to create the POST or GET response without a > FORM. GET is easy, because you can just use fopen to open a remote URL just as if it were a local file, so long as this is set in your php.ini: allow_url_fopen = On As for POST, there are a number of options. You can use cURL, any of the PEAR classes that allow you to make HTTP requests, or you can do it manually: 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/ RAMP Training Courses http://www.nyphp.org/ramp

« previous php.general (#169585) next »