Showing posts with label safe_mode. Show all posts
Showing posts with label safe_mode. Show all posts

Thursday, 4 February 2016

How to Create a Proxy Server With PHPIn Feburary 2016 04,

In Feburary 2016 04,
Search online for a good Web hosting company that offers support for PHP and sign up for an account. Because PHP is so widely used, most companies offer support for it by default. Furthermore, you can run PHP scripts on almost any free Web host.
Use a FTP client to log in to your Web hosting account. Navigate to the 'public_html' folder and open the 'php.ini' file in a text editor ( for example, Notepad or WordPad). Set the 'safe_mode' setting to 'Off' and the 'allow_url_fopen' setting to 'On' to allow the proxy server to connect to other servers. Save and close the file. If these two settings are not present, add them at the bottom of the file.
Open your favorite Web browser on your computer and navigate to the 'code.google.com/p/caprio' Web page. Click on the 'Downloads' link in the navigation bar and click on the 'PHP Proxy Script' link in the next page. Click on the 'CaprioPHP-Script.zip' link and save the archive on your hard disk drive.
Right-click on the archive and select 'Extract' from the resulting menu. Select a location to save the script to and click the 'Extract' button. Upload the 'PHProxy.class.php,' 'index.php,' 'url_form.inc,' 'javascript.js' and 'style.css' files to the root of your Web hosting account.
Use the Web browser to navigate to your account's URL and enter the destination URL in the box. Click on 'OK' to save the changes and your proxy server is up and running. It will forward all requests from your users to the destination URL.
In Feburary 2016 04,