Hi all
Currently trying to read an http stream from an asp.net server. The scenario is as follows.
My PHP cURL code is requesting a file on the .NET server which if, the parameters are correct in the URL, processes the .NET file and a return code of 200 with extra information streamed back and displayed on the browser page.
However, on error the ASP.net server returns a 400 code also with extra information streamed in a text stream. Unfortunatley the only information I get on the page is Bad Request which is displayed as a result of the 400 code being pushed to the browser.
I have tried alternatives to cURL including file_get_contents, fopen etc but these fail as well.
My question is how do I get the streamed info in PHP. Also tried this in ASP but not .NET and failed too.
All help is welcome and appreciated
Thanks
Mick
mymapofseychelles
eWOC
LookandBookIt
Rotography
Currently trying to read an http stream from an asp.net server. The scenario is as follows.
My PHP cURL code is requesting a file on the .NET server which if, the parameters are correct in the URL, processes the .NET file and a return code of 200 with extra information streamed back and displayed on the browser page.
However, on error the ASP.net server returns a 400 code also with extra information streamed in a text stream. Unfortunatley the only information I get on the page is Bad Request which is displayed as a result of the 400 code being pushed to the browser.
I have tried alternatives to cURL including file_get_contents, fopen etc but these fail as well.
My question is how do I get the streamed info in PHP. Also tried this in ASP but not .NET and failed too.
All help is welcome and appreciated
Thanks
Mick
mymapofseychelles
eWOC
LookandBookIt
Rotography