0

我有一个例子:当我输入链接 url(例如:http://test.html)并且喜欢这个页面中的 facebook

<div id="fb-root"></div>
<fb:like send="true" layout="button_count" width="50" show_faces="false" href="<?php echo JURI::current(); ?>" action="like" colorscheme="light" font=""></fb:like>

但是当我访问 facebook 是 url 是:

http://test.html?fb_action_ids=214927585304828&fb_action_types=og.likes&fb_source=aggregation&fb_aggregation_id=288381481237582

如何解决它,结果是http://test.html

4

1 回答 1

0

尝试使用$_SERVER["REQUEST_URI"];这可能会给你正在寻找的东西......

干杯。

于 2012-10-03T03:01:56.930 回答