在Ajax shoutbox中获取IP地址 [英] Get IP address in Ajax shoutbox

查看:67
本文介绍了在Ajax shoutbox中获取IP地址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好fren ...

我在我的网站上使用joomla软件。

我放了一个shouth box ...而且那个shoutbox我'我正在使用Ajax shoutbox,当有人通过Guest使用或者成员ip永远不会出现时。

我想在那里显示ip地址in shoutbox谁曾在soutbox中发送消息所以请帮助编写代码并通过本网站发送给我或发送给我

一更多的事情... ip只能由管理员查看网站。不是每个人都注册。或谁在线。

希望你明白我的观点

谢谢。

直接在我的电子邮件ID中。

** ** - 已删除电子邮件

hello fren...
i''m using joomla software in my website.
There i put one shouth box... and for that shoutbox i''m using Ajax shoutbox, there when ever people shouth using through Guest or the member ip never shows up.
I wan to show there ip address int he shoutbox who ever send messages in the soutbox so do help write the code and send me using through this site or send me
One more thing... the ip can be view by the Adminsitrator only of th site. not every one who register. or who is online.
hope you get my point
Thank you.
directly in my e-mail id.
**** - email removed

推荐答案

Heya,rinawmt。欢迎来到TSDN!


如果您在获取IP地址时遇到问题,那就是服务器端问题(我假设您没有通过IP AJAX请求,因为它太容易欺骗了。


你在服务器端使用什么语言?
Heya, rinawmt. Welcome to TSDN!

If you''re having trouble getting the IP address, that''s a server-side problem (I''m assuming that you are not passing the IP in the AJAX request because that''s too easy to spoof).

What language are you using server-side?


我已经为你改变了主题标题。


这可以帮助人们更轻松地找到类似的问题/解决方案,人们可​​以一眼就看出主题是什么。


MODERATOR
I''ve changed the thread title for you.

This helps people find similar problems/solutions more easily and people can tell a a glance what the thread is about.

MODERATOR



Heya,rinawmt。欢迎来到TSDN!


如果您在获取IP地址时遇到问题,那就是服务器端问题(我假设您没有通过IP AJAX请求,因为它太容易欺骗了。


你在服务器端使用什么语言?
Heya, rinawmt. Welcome to TSDN!

If you''re having trouble getting the IP address, that''s a server-side problem (I''m assuming that you are not passing the IP in the AJAX request because that''s too easy to spoof).

What language are you using server-side?



[PHP]<?php


/ *

* @package Joomla_1。 0.x

* @copyright(C)2004 - 2006 Siemens-mobiles.org

* @license http://www.gnu.org/copyleft/gpl.html GNU / GPL

* Joomla是免费软件

* /


//一次观看时应显示的评论数量。

[PHP]<?php

/*
* @package Joomla_1.0.x
* @copyright (C) 2004 - 2006 Siemens-mobiles.org
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* Joomla is Free Software
*/

// The number of comments that should show up in one viewing.

这篇关于在Ajax shoutbox中获取IP地址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆