Re: question about some php code

  • From: Alex Parks <mehgcap@xxxxxxx>
  • To: programmingblind@xxxxxxxxxxxxx
  • Date: Sun, 21 Oct 2007 13:15:06 -0400

This didn't work; it just prints nothing. I tried putting single quotes around the $remote_addr; but that didn't work either.


Have a great day,
Alex

----- Original Message -----
From: "Matthew Horspool" <matthew@xxxxxxxxxxxxxxxx
To: <programmingblind@xxxxxxxxxxxxx
Date sent: Sun, 21 Oct 2007 08:27:01 +0100
Subject: Re: question about some php code

Hi Alex,

I'd try this code instead:

<p>Your IP address is
<?php echo $REMOTE_ADDR; ?
..</p

Matthew

__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind


__________
View the list's information and change your settings at //www.freelists.org/list/programmingblind

Other related posts: