I'm working on an internal website and have full control of the web server and php scripts. I do not, however, have the ability to change or modify internet access to allow me to get past the proxy server. The web server is in the local network (behind the proxy), running Windows 2003 with Apache web server, and PHP 5. I can use the include functions to include page content from my local server, and other servers local to my machine. When I try to include page content over the proxy I get only blank pages. The code I use is very simple.
<?php include('http://10.14.41.149:8080/index.php'); ?>
This returns the compiled out of the page, like I want it to. But if I put in any URL that is not local I get a blank page.
<?php include('http://www.yahoo.com'); ?>
Or if I put the include inside the HTML tags of the page I only get a blank where the page shoudl have been included.
I put the proxy information in the php.ini and this does nothing.
I have also used fopen with the same results.
Anyone have any ideas?