Posted by:
miiikkeyyyy
(---.leed.adsl.virgin.net)
i've always used wampserver, ive never had this problem.
at the moment im currently testing scripts out.
i wrote this simple one, just to connect to google..
but it doesn't work.
i uploaded to a webserver, and it works fine.
Script Begin.
------------------
<?php
//-----------------------------------------------------------------
// Connect To Site
//-----------------------------------------------------------------
$url = "[
google.com];;
$connect= @file_get_contents($url) or die('Could not access file: '.$url.'');
?>
------------------
Script Ends.
A bit of server info
-------------------
My PHP Version is: 5.2.5
My Apache Version is: 2.2.8
My WAMP Version is: WampServer 2.0 - default settings.
Thank you in advance,
Mikey