cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: exec("curl https://www..sitename.com") returns empty string in php 4 or 5

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 19 May 2008 09:07:46 +0200 (CEST)

On Sat, 17 May 2008, Aleksandar Sabotinov wrote:

> $respond = shell_exec("curl https://www.sitename.org?param1=ttt");

Then check the return code from the curl tool. Or since this is the
curl-and-php list, consider using the PHP/CURL binding functions directly...

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2008-05-19