[advanced search]
 

Go Back   NamePros.com > Discussion > Web Design & Development > Programming

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


Closed Thread
 
LinkBack Thread Tools
Old 11-04-2004, 07:37 PM   #1 (permalink)
DSL
Account Closed
 
Join Date: Jun 2003
Posts: 2,122
115.45 NP$ (Donate)

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, 06:11 AM   #2 (permalink)
New Member
 
wcolby's Avatar
 
Join Date: Nov 2004
Posts: 13
18.50 NP$ (Donate)

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 06:17 AM.
wcolby is offline  
Closed Thread


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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Site Sponsors
Advertise your business at NamePros

All times are GMT -7. The time now is 02:41 AM.


Powered by: vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Template-Modifications by TMS
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85