jgbishop Posted March 5, 2007 Share Posted March 5, 2007 I'm porting some code from C++ to PHP, and the C++ application I'm porting from uses the cURL library (http://curl.haxx.se/). The library is used to both make requests to a internal website at my work and to look at returned response codes (200, 401, 404, etc). It then takes appropriate action, based on the response code that was returned. Due to a number of issues, many of which I cannot control, I am unable to make use of the PHP port of the cURL library. I need to do user authentication, and check response codes for websites (again, codes like a 404 not found). How can I go about doing this without using the cURL library? Are there native calls available for me to do this kind of thing? If so, what are they? What other alternatives exist? Native alternatives would be ideal, since I'd like to avoid third-party dependencies if possible. Thanks in advance for any help you might be able to provide! Jonah Link to comment https://forums.phpfreaks.com/topic/41345-curl-functionality-without-using-curl/ Share on other sites More sharing options...
HalfBrian Posted March 5, 2007 Share Posted March 5, 2007 As far as I know... there is no other cURL-like extension for PHP, but what is your problem with cURL? Link to comment https://forums.phpfreaks.com/topic/41345-curl-functionality-without-using-curl/#findComment-200333 Share on other sites More sharing options...
mattd8752 Posted March 5, 2007 Share Posted March 5, 2007 Snoopy does that. Look for it on source forge. It does require cURL for SSL connections, but it can do http connections easily. Link to comment https://forums.phpfreaks.com/topic/41345-curl-functionality-without-using-curl/#findComment-200346 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.