my problem is when i come to the secind bit of code that counts the unique ip addresses and then outputs them.
my code is sommat roughly like this
(xxx is filled in by the user)
[Admin Edit:
Code: Select all
Code: Select all
<?php
$userid = XXX
$password = XXX
$unique = XXX //1 = true
...
?>the remote page would be something like:
Code: Select all
http://monger.homeftp.net/gethit.php?id=<?php echo $userid; ?>&pass=<?php echo $password; ?>&unique=<?php echo $unique;?>my problem is that i only want users to have access to small segments of my code and not the whole thing which obviously includes my username and password for my SQL database.
does this make sense?
any suggestions?