Re: How to $POST variables to php-fpm with nginx

2015-02-22 Thread Steve Holdoway
curl is the simplest... $Request = curl_init(); curl_setopt ( $Request, CURLOPT_URL, "http://api.example.com"; ); curl_setopt ( $Request, CURLOPT_ENCODING, 'gzip' ); curl_setopt ( $Request, CURLOPT_RETURNTRANSFER, true ); curl_setopt ( $Request, CURLOPT_POST

How to $POST variables to php-fpm with nginx

2015-02-20 Thread David Benfell
Hi all, In one of my sites, sks.disunitedstates.com, I have a single index page--index.html--which has a number of forms, one of which calls a php script named server-lookup.php. It means to pass a $POST variable to this script but instead, I get "No input file specified." Obviously, the variable