soycharliente Posted May 28, 2010 Share Posted May 28, 2010 Anyone know what the PHP equivalent of http://msdn.microsoft.com/en-us/library/system.net.webproxy.aspx would be? I'm trying to use an API and they only give .NET code examples. They say you can do it in PHP but you have to pay for them to help you. I'm just trying to figure out where to start looking in PHP. Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/203172-php-equivalent-of-net/ Share on other sites More sharing options...
pornophobic Posted May 28, 2010 Share Posted May 28, 2010 I'm going to take a stab at this and guess you're trying to connect to a web proxy? I haven't the slightest about .NET fsockopen would be an ideal place to start. If that doesn't suit your needs, there is always the wonderful cURL extension. Quote Link to comment https://forums.phpfreaks.com/topic/203172-php-equivalent-of-net/#findComment-1064590 Share on other sites More sharing options...
Adam Posted May 28, 2010 Share Posted May 28, 2010 There's also stream_context_create available to you. Quote Link to comment https://forums.phpfreaks.com/topic/203172-php-equivalent-of-net/#findComment-1064593 Share on other sites More sharing options...
soycharliente Posted May 28, 2010 Author Share Posted May 28, 2010 Thanks for the links guys. I'll see where this leads me. Quote Link to comment https://forums.phpfreaks.com/topic/203172-php-equivalent-of-net/#findComment-1064615 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.