[KLUG Members] web question

Rusty Yonkers members@kalamazoolinux.org
Mon, 22 Dec 2003 13:43:51 -0800 (PST)


WOW PHP ROCKS!!!!! This is even cooler than LOTR ROTK!!!

It took me a couple of minutes to realize that I needed to name the
file with a php extension to get it to work but the test file I put
together is working great.  I also went to the link for the php
website for the documentation and am totally geeked at being able to
do so much.  I know what I am going to be doing most of my
vacation!!!!


--- bill <bill@billtron.com> wrote:
> <?php
> $ip = getenv ("REMOTE_ADDR"); // get the ip number of the user
> echo "$ip"; // print the ip number to the screen
> ?>
> 
> Put the above PHP code wherever you need it in your html.
> 
> My advice: avoid SSI.
> 
> kind regards,
> 
> bill
> 
> Rusty Yonkers wrote:
> 
> > Ok ... here is an interesting one for those who do web
> programming...
> > 
> > I have to manage a number of Windows desktops.  We have active
> > desktop activated and displays the main web page for the internal
> > website that runs on a Linux box running Apache.  
> > 
> > I want to have something in the page that will display the ip
> address
> > of the workstation.  Is there some way to gather this information
> > when the computer connects and then put that into the page
> display? 
> > I would assume that it would be some sort of server-side include
> > similar to like page count.  We want to display this in the upper
> > corner of the page so that if we are having a problem with a
> > particular machine that we can simply find it by looking at the
> > display...
> > 
> > 
> > 
> > =====
> > Rusty Yonkers
> > CNE, MCP, A+, CCNA, Linux+, Server+, Network+ certified
> > -----------------------------------------
> > An Atomic Supergeek with an attitude!
> > -----------------------------------------
> > Currently using SuSE 8.2, Mac OS X, and WinXP (would love to get
> rid of last one)
> > 
> > ................looking for penguin
> domination.....................
> > 
> > __________________________________
> > Do you Yahoo!?
> > New Yahoo! Photos - easier uploading and sharing.
> > http://photos.yahoo.com/
> > _______________________________________________
> > Members mailing list
> > Members@kalamazoolinux.org
> > 
> > 
> > 
> 
> _______________________________________________
> Members mailing list
> Members@kalamazoolinux.org
> 


=====
Rusty Yonkers
CNE, MCP, A+, CCNA, Linux+, Server+, Network+ certified
-----------------------------------------
An Atomic Supergeek with an attitude!
-----------------------------------------
Currently using SuSE 8.2, Mac OS X, and WinXP (would love to get rid of last one)

...............looking for penguin domination.....................

__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/