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 proxy script connects to entered proxy/port and fetches target website

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 04-23-2007, 11:56 PM THREAD STARTER               #1 (permalink)
Senior Member
 
Ferman's Avatar
Join Date: Aug 2004
Location: Criticize BUSH at CRITICIZE.TV
Posts: 1,155
Ferman has a spectacular aura aboutFerman has a spectacular aura about
 



Question proxy script connects to entered proxy/port and fetches target website


is there such a script ?

visitor enters a proxy server name, port and target website he/she wants to visit
then click connect
script connects to entered proxy/port and fetches target website over that proxy and shows it on browser
Ferman is offline  
Old 04-24-2007, 01:57 PM THREAD STARTER               #2 (permalink)
Senior Member
 
Ferman's Avatar
Join Date: Aug 2004
Location: Criticize BUSH at CRITICIZE.TV
Posts: 1,155
Ferman has a spectacular aura aboutFerman has a spectacular aura about
 



web ftp scripts work in this way
connect to ftp address, show files
i need a browser based proxy script which connects to the address via proxy server written in form
Ferman is offline  
Old 04-25-2007, 02:42 AM THREAD STARTER               #3 (permalink)
Senior Member
 
Ferman's Avatar
Join Date: Aug 2004
Location: Criticize BUSH at CRITICIZE.TV
Posts: 1,155
Ferman has a spectacular aura aboutFerman has a spectacular aura about
 



anyone ?
Ferman is offline  
Old 04-29-2007, 10:05 AM   #4 (permalink)
New Member
Join Date: Feb 2007
Posts: 7
brendandonhue is an unknown quantity at this point
 



This is pretty easy to do using PHP and cURL (supports HTTP, SOCKS4 and SOCKS5 proxies.)
brendandonhue is offline  
Old 04-29-2007, 10:07 AM THREAD STARTER               #5 (permalink)
Senior Member
 
Ferman's Avatar
Join Date: Aug 2004
Location: Criticize BUSH at CRITICIZE.TV
Posts: 1,155
Ferman has a spectacular aura aboutFerman has a spectacular aura about
 



could you show me the code please ?
Ferman is offline  
Old 04-29-2007, 10:16 AM   #6 (permalink)
New Member
Join Date: Feb 2007
Posts: 7
brendandonhue is an unknown quantity at this point
 



Well I don't have the whole script written but here's an outline that should help if you know some PHP
PHP Code:
$results shell_exec('curl --proxy 127.0.0.1:80 http://google.com'); 
????: NamePros.com http://www.namepros.com/programming/320147-proxy-script-connects-entered-proxy-port.html
That would connect to the proxy at 127.0.0.1 on Port 80 and fetch Google.com

(You can also do this using the curl_exec functions but it won't support as many proxies if you're using PHP version 4)
brendandonhue is offline  
Old 04-29-2007, 10:24 AM THREAD STARTER               #7 (permalink)
Senior Member
 
Ferman's Avatar
Join Date: Aug 2004
Location: Criticize BUSH at CRITICIZE.TV
Posts: 1,155
Ferman has a spectacular aura aboutFerman has a spectacular aura about
 



if you code it fully for me i can pay you via namepros bucks

here is a working example
curlproxy (.) com
(difference of what i need is visitors will enter proxy server adress/port anc click submit to browse target website)

script is needed to browse pages of a target website. output the entire contents to the browser. The script will get target page with proxy, parse page, extract links and change to script link, included links. cgiproxy and phproxy does this thing via the server it is installed on. but i need a script which does this via the proxy server visitor entered
Last edited by Ferman; 04-29-2007 at 11:08 AM.
Ferman is offline  
Old 04-29-2007, 09:02 PM   #8 (permalink)
NamePros Regular
Join Date: Feb 2006
Posts: 584
jerometan is a name known to alljerometan is a name known to alljerometan is a name known to alljerometan is a name known to alljerometan is a name known to alljerometan is a name known to alljerometan is a name known to alljerometan is a name known to all
 



You can try PHProxy.

It uses alot of CPU though, so watch out.
jerometan is offline  
Old 04-29-2007, 09:05 PM   #9 (permalink)
New Member
Join Date: Feb 2007
Posts: 7
brendandonhue is an unknown quantity at this point
 



PHProxy does not allow you to enter a proxy by server/port.
brendandonhue 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 02:25 PM.

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