Warning: include() [function.include]: http:// wrapper is disabled in the server configuration by allow_url_include=0 in /Applications/XAMPP/xamppfiles/htdocs/noq/index.php on line 21
Warning: include(http://google.com.au) [function.include]: failed to open stream: no suitable wrapper could be found in /Applications/XAMPP/xamppfiles/htdocs/noq/index.php on line 21
Warning: include() [function.include]: Failed opening 'http://google.com.au' for inclusion (include_path='.:/Applications/XAMPP/xamppfiles/lib/php:/Applications/XAMPP/xamppfiles/lib/php/pear') in /Applications/XAMPP/xamppfiles/htdocs/noq/index.php on line 21
I am running Xampp 1.7.3 on OSX 10.6.8 on a March 2011 Macbook Pro
This is the code for my proxy.pl perl script in the cgi bin
- Code: Select all
use LWP::Simple;
print "Content-type:text/html\n\n";
getprint ($ENV{'QUERY_STRING'});
This is the code for my htaccess file
- Code: Select all
Options +Includes
XBitHack on
- Code: Select all
This is the code for my index.php file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
<div><?php include("http://m.noqapps.com.au"); ?>
</div>
</body>
</html>