Hypermx Posted September 22, 2009 Share Posted September 22, 2009 Hey. Ive started a project, Where you can type something in a textbox, and then press a button. What you've typed in the textbox should be saved to the php. And the php proxy will visit a site, ex google: Sketch: <?php $textbox = $_GET['textbox']; phpproxy_goto('http://www.Google.com/search?hl=en&q=' $textbox); ?> So the my website shows the site: http://www.google.dk/search?hl=en&q={the textbox} and google whould think it was showed from the servers IP instead of the real clients IP But i think its hard just to code something like that, thats why i wanted some help in here. Link to comment https://forums.phpfreaks.com/topic/175120-php-proxy/ Share on other sites More sharing options...
bb2120 Posted September 22, 2009 Share Posted September 22, 2009 PHProxy is a good, open source script http://sourceforge.net/projects/poxy/ Link to comment https://forums.phpfreaks.com/topic/175120-php-proxy/#findComment-922980 Share on other sites More sharing options...
Hypermx Posted September 23, 2009 Author Share Posted September 23, 2009 Okay, I've installed PHProxy and i get these errors: Warning: fwrite(): supplied argument is not a valid stream resource in /www/hostrator.com/h/y/p/hypermx/htdocs/proxy2/index.php on line 682 Warning: fgets(): supplied argument is not a valid stream resource in /www/hostrator.com/h/y/p/hypermx/htdocs/proxy2/index.php on line 690 Warning: fclose(): supplied argument is not a valid stream resource in /www/hostrator.com/h/y/p/hypermx/htdocs/proxy2/index.php on line 862 Warning: Cannot modify header information - headers already sent by (output started at /www/hostrator.com/h/y/p/hypermx/htdocs/proxy2/index.php:682) in /www/hostrator.com/h/y/p/hypermx/htdocs/proxy2/index.php on line 1169 Warning: Cannot modify header information - headers already sent by (output started at /www/hostrator.com/h/y/p/hypermx/htdocs/proxy2/index.php:682) in /www/hostrator.com/h/y/p/hypermx/htdocs/proxy2/index.php on line 1176 Warning: Cannot modify header information - headers already sent by (output started at /www/hostrator.com/h/y/p/hypermx/htdocs/proxy2/index.php:682) in /www/hostrator.com/h/y/p/hypermx/htdocs/proxy2/index.php on line 1176 So i looked it up and found something about permissions. So i set the permissions for the proxy folder to 777 and each file to 666 But this didn't help it. Link to comment https://forums.phpfreaks.com/topic/175120-php-proxy/#findComment-923391 Share on other sites More sharing options...
Hypermx Posted September 25, 2009 Author Share Posted September 25, 2009 bump Link to comment https://forums.phpfreaks.com/topic/175120-php-proxy/#findComment-924651 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.