When running this same script through apache however, it works fine without
the port directive. However, I get no results when attempting to connect to
port 8080. Command line curl works fine too. It's only when connecting
through apache that my script fails.
Here are some specifics about my
Curl newbie question:
Here is a php script that works fine from the command line with
CURL_OPT_PORT set or not -- either way.
http://ethicshare.cs.umn.edu";;
$ch = curl_init();
$user_agent = "Mozilla/4.0 pp(compatible; MSIE 5.01; Windows NT 5.0)";
curl_setopt ( $ch, CURLOPT_USERAGENT,
2 matches
Mail list logo