Re: [PHP] Connection error on URI

2009-01-28 Thread Jim Lucas
Skip Evans wrote: > 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); T

Re: [PHP] Connection error on URI

2009-01-28 Thread Skip Evans
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

Re: [PHP] Connection error on URI

2009-01-28 Thread Jan G.B.
2009/1/28 Skip Evans : > 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 t

[PHP] Connection error on URI

2009-01-28 Thread Skip Evans
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($u