Connection error on URI
| From: | Skip Evans | Date: | Wed, 28 Jan 2009 17:55:03 +0000 |
| Subject: | Connection error on URI | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-287276@lists.php.net to get a copy of this message | ||
Hey all,
I'm working on someone else's code that tries to read an XML transaction from a remote server with the following code.
$url="http://xx.xx.xx.xx:1972/csp/test/SASS.Web1.cls?soap_method=FindMemBySASSNum&SNum=".$user_sass;
// $url = urlencode($url);
$xml_response = file_get_contents($url, true);
But this transaction times out and returns an empty transaction, even with the call to urlencode, which I tried as a quick fix.
If I paste the identical transaction into a browser it works fine.
Any suggestions would be greatly appreciated.
Peace, Love & Curly Fries,
Skip
--
====================================
Skip Evans
Big Sky Penguin, LLC
503 S Baldwin St, #1
Madison WI 53703
608.250.2720
http://bigskypenguin.com
------------------------------------
Those of you who believe in
telekinesis, raise my hand.
-- Kurt Vonnegut