cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: please help

From: Mark E <mark_at_edwards.org>
Date: Sat, 27 Oct 2007 16:22:22 -0600

Mark E wrote:

> Detect and print IP to the browser screen:
>
> <?php
> $ip = $ip=$_SERVER['REMOTE_ADDR'];
> echo $ip;
> ?>

Correction due to cut and paste error:

<?php
   $ip = $_SERVER['REMOTE_ADDR'];
   echo $ip;
?>

Mark
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2007-10-28