Re: [PHP] curl fails to connect when not port 80

2008-03-13 Thread Chris
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

[PHP] curl fails to connect when not port 80

2008-03-13 Thread Virgil Hilts
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,