NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page How?

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 11-04-2004, 08:37 PM THREAD STARTER               #1 (permalink)
DSL
Senior Member
Join Date: Jun 2003
Posts: 2,115
DSL is a jewel in the roughDSL is a jewel in the roughDSL is a jewel in the rough
 



How?


Anyone know how I would use the fsocketconnect command to connect to a proxy server and use the get_file_contents function? If you can can you provide an example here?

Thank you.
DSL is offline  
Old 11-05-2004, 07:11 AM   #2 (permalink)
New Member
 
wcolby's Avatar
Join Date: Nov 2004
Posts: 13
wcolby is an unknown quantity at this point
 



Assuming you a referring to PHP and to fsockopen you may wish to save your self sometime and grab the http class from phpclasses.org http://www.phpclasses.org/browse/package/3.html

This should save you some time. When you connect in php through a proxy you first have to connect to the proxy and then send a http header with the correct get request. If you don't want to use the class just let me know more details about what you are trying to do and I'll post some code.
__________________
SEO News | Free Link Popularity Checker
Last edited by wcolby; 11-05-2004 at 07:17 AM.
wcolby is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 04:30 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger