Here's the output with the call to error_reporting(255); in place.
Calling Sassnet...
Warning:
file_get_contents(http://xx.xx.xx.xx:1972/csp/test/SASS.Web1.cls?soap_method=FindMemBySASSNum&SNum=59)
[function.file-get-contents]: failed to open stream:
Connection timed out in
/usr/sites/sassnet.com/members/www/url_test.php on line 6
I think the issue is not programming, but might be that the
target server is not accepting requests from calling server.
Skip
Jan G.B. wrote:
2009/1/28 Skip Evans <skip@xxxxxxxxxxxxxxxxx>:
Hey all,
$url="http://xx.xx.xx.xx:1972/csp/test/SASS.Web1.cls?soap_method=FindMemBySASSNum&SNum=".$user_sass;
$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.
Please call error_reporting(255); before your http-request starts,
then post the error message you get.
bye
--
====================================
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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php