i was having fun with php until i hit this road block...
geolocation.class.php is in the same directory as my index.php.. anyone has any idea why it can't find it? =(
/*
* this is part of the index.php
* /
<div id="midBox">
<table border="0" align="left">
<tr><td><script type="text/javascript">
var date= new Date();
document.write(date);
</script>
</td>
</tr>
<tr><td><?php $visitorIP= $_SERVER['REMOTE_ADDR']; echo "Your IP is: " .$visitorIP; ?></td></tr>
<tr><td><?php include('geolocation.class.php') or die(); // not found
//Load the class (city precision)
$geolocation = new geolocation(true);
?>
</td>
</tr>
</table>
</div>
error message
Warning: include(1) [function.include]: failed to open stream: No such file or directory in C:\wamp\www\index.php on line 58
Warning: include() [function.include]: Failed opening '1' for inclusion (include_path='.://C:/wamp/www') in C:\wamp\www\index.php on line 58
Fatal error: Class 'geolocation' not found in C:\wamp\www\index.php on line 61