
- 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
April 17, 2010 11:26 am
- donaldjeo
- Member


Re: problem configuring PHProxy
i read a tutorial about proxy setting and that is
A proxy server is one that receives requests intended for another server and that acts on the behalf of the client (as the client proxy) to obtain the requested service. A proxy server is often used when the client and the server are incompatible for direct connection. For example, the client may be unable to meet the security authentication requirements of the server but may be required to access some services. It may also be used for screening purposes to enable the administrator to control access to undesirable sites. The proxy server may also be used for caching purposes which enables faster access to frequently used websites. All the computers connected to the LAN access the Internet through a single IP address which results in improved security simply because the number of ports exposed is reduced.
Proxy servers work on the seventh layer (the Application Layer) of the OSI model thus tending to be application dependent unlike firewalls that work at lower layers. They are also more difficult to install and maintain than firewalls, as proxy functionality for each application protocol like HTTP, SMTP, or SOCKS must be configured individually. However, a properly configured proxy server improves network security and performance. Since proxy servers function at the OSI Application layer, their filtering capabilities are relatively intelligent. For example, proxy web servers can check the URL (Uniform Resource Locator) of outgoing requests for Web pages by inspecting HTTP GET and POST messages. Using this feature, network administrators can bar access to illegal domains but allow access to other sites. Ordinary firewalls, in contrast, cannot see Web domain names inside those messages. Likewise for incoming data traffic, ordinary routers can filter by port number or network address, but proxy servers can also filter based on application content inside the messages.
WinProxy
One of the most popular proxy servers available for windows based systems is WinProxy. One of the reasons for its popularity is that no software has to be installed on the client systems. This is possible since WinProxy is a transparent proxy server meaning that it also provides NAT (Network Address Translation). Due to this the client system is virtually unaware of the existence of the proxy server. Apart from the usual caching and security features it also supports important protocols like HTTP, Real Audio/Video, Mail, FTP, NNTP News, Telnet, Socks, Secure Sockets, DNS, IMAP 4, etc.
The WinProxy Server may be installed and configured as follows as follows:
1. Install the TCP/IP protocol on all systems connected to the network.
2. Run the Install Wizard. The first screen is the product registration screen which require you to enter the product key.
3. The next two screens require information about your Internet connection. Select the type of connection and the name of your connection.
4. Enter the username and password of the Internet connection to be used.
5. WinProxy then configures the internal and external IP addresses. It automatically assigns a unique address to each device on the LAN as internal addresses. The IP address assigned to the modem/router by your ISP is taken as the external address.
6. WinProxy then prompts you to disconnect from the Internet if you are already connected.
7. In the final step WinProxy works through all the steps and verifies that all operations have been performed properly.
If any body did not understand then he/she can read this tutorial too.....
---------------------
Post by mcitp


