Re: client ip in bodyTop_NavigationMain
Sebastian Tänzer <[email protected]>
| Newsgroups | gmane.comp.cms.zms.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello Luis, inside one of your templates (standard_html_header for example) add this: <pre><dtml-var REQUEST></pre> This should show you the available "variables". You can "get" these by using the REQUEST object like this: <dtml-var "REQUEST['REMOTE_ADDR']"> In most cases this should give you the IP of the clients internet connection. As far as I know you can't show the clients local IP (ie. the IP of the workstation). Sincerely, Sebastian Tänzer [tm] taenzer media online media agency Kekuléstr. 39 53115 Bonn Germany Tel +49-228-304134-0 Fax +49-228-304134-99 Mobil +49-174-333-7001 E-Mail [email protected] WWW http://www.taenzer.me Am 12.11.2009 um 14:18 schrieb Alois Blasbichler: > > Hello list > > I am new to this list (but only with this account - i used this list before with a other e-mail-address) > > I have a short (i hope) question: > I want that on the top of my web-Site ther was shown the ip-adress of > the client who visit my site (is it a intranet-site and the ip is > for us very usefull) > > I have seen there is a varibale remote_addr. > Can you please give mne the code how to show this varible in my site. > > > Thank you > luis > > > ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/zms-developers/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/zms-developers/join (Yahoo! ID required) <*> To change settings via email: [email protected] [email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/