
- You are not logged in. | Login
April 25, 2007 11:02 am
- ieee1294
- Member


problem configuring PHProxy
Hello. I'm a beginner in PHP. I've been trying to implement the PHProxy script from (http://whitefyre.com/poxy/). I have tried using both version 0.5 and 0.4 but I couldn't figure out how to configure it. I've been asking for help in the websites' forum and emailed their support, but no response so far. I hope I could find help in this forum 
Here are my questions:
In my HTML i used:
<form method="get" action="index.php"> <input type="text" name="q" value="http://www.google.com"> <input type="hidden" name="hl" value="" /> <input type="submit" /></form>
// My Test file is available @ www.proxyds.com/php/index.html
// the phproxy program is @ www.proxyds.com/php/index.php
// PHP folder is version 0.4 of the software
// version 0.5 is located @ www.proxyds.com/php2/index.html and index.php
I have used this for both 0.4 and 0.5 version of PHProxy but none of them worked. I've changed the HTML form method from get to post and didn't work either. I'm not sure if I have to set any of the scripts' permission level to something else...?
I wanted this basic form to work because I would like to change my website's (proxyds.com) proxy from CGI to PHP. Hope someone had experience in this area. Thanks! ^^
April 26, 2007 8:29 am
- phppat
- Member


Re: problem configuring PHProxy
Hi
Try the following code for the form in the index.html file:
<form method="post" action="index.php"> <input type="text" name="q" value=""> <input type="hidden" name="hl" value="" /> <input type="submit" /> <input type="hidden" value="1" name="hl[include_form]" checked="checked" /> <input type="hidden" value="1" name="hl[remove_scripts]" checked="checked" /> <input type="hidden" value="1" name="hl[accept_cookies]" checked="checked" /> <input type="hidden" value="1" name="hl[show_images]" checked="checked" /> <input type="hidden" value="1" name="hl[show_referer]" checked="checked" /> <input type="hidden" name="hl[rotate13]" /> <input type="hidden" value="1" name="hl[base64_encode]" checked="checked" /> <input type="hidden" value="1" name="hl[strip_meta]" checked="checked" /> <input type="hidden" name="hl[strip_title]" /> <input type="hidden" value="1" name="hl[session_cookies]" checked="checked" /> </form>
PHP monster
April 26, 2007 8:31 am
- phppat
- Member


Re: problem configuring PHProxy
Also use the POST method (method="post") for correct data transmission from the form to the phpproxy
PHP monster


