Search found 2 matches
- Sat Oct 22, 2011 10:35 am
- Forum: Tutorials
- Topic: API tutorial help
- Replies: 1
- Views: 548
API tutorial help
I'm having problems getting the api_interfece.php code to work :( <?php class foodclass{ const API_URL = 'http://localhost/food/api.php'; // internal function for sending post data private static function send_post_data($data) { $url = parse_url(self::API_URL); $boundary = md5(microtime(true)); $pos...
- Fri Oct 21, 2011 6:20 pm
- Forum: PHP
- Topic: Wrong IP Address outputted ?
- Replies: 1
- Views: 357
Wrong IP Address outputted ?
For some reason, when I output my ip address in PHP, I get this result:
Does anyone know what is happening ? This is really bugging me and I can't seem to find a solution
echo $_SERVER['REMOTE_ADDR'];
::1I'm running an XAMPP installation on a new windows 7 64bit machine.
Does anyone know what is happening ? This is really bugging me and I can't seem to find a solution