<tfoot id='0mX2k'></tfoot>

      <small id='0mX2k'></small><noframes id='0mX2k'>

      <legend id='0mX2k'><style id='0mX2k'><dir id='0mX2k'><q id='0mX2k'></q></dir></style></legend>

      <i id='0mX2k'><tr id='0mX2k'><dt id='0mX2k'><q id='0mX2k'><span id='0mX2k'><b id='0mX2k'><form id='0mX2k'><ins id='0mX2k'></ins><ul id='0mX2k'></ul><sub id='0mX2k'></sub></form><legend id='0mX2k'></legend><bdo id='0mX2k'><pre id='0mX2k'><center id='0mX2k'></center></pre></bdo></b><th id='0mX2k'></th></span></q></dt></tr></i><div id='0mX2k'><tfoot id='0mX2k'></tfoot><dl id='0mX2k'><fieldset id='0mX2k'></fieldset></dl></div>

          <bdo id='0mX2k'></bdo><ul id='0mX2k'></ul>
      1. 计算链接上的点击次数(没有 onclick)

        Count Number of Clicks on a link (Without onclick)(计算链接上的点击次数(没有 onclick))
      2. <tfoot id='CuXY3'></tfoot>

          <small id='CuXY3'></small><noframes id='CuXY3'>

            • <bdo id='CuXY3'></bdo><ul id='CuXY3'></ul>
              <legend id='CuXY3'><style id='CuXY3'><dir id='CuXY3'><q id='CuXY3'></q></dir></style></legend>

                <tbody id='CuXY3'></tbody>
              <i id='CuXY3'><tr id='CuXY3'><dt id='CuXY3'><q id='CuXY3'><span id='CuXY3'><b id='CuXY3'><form id='CuXY3'><ins id='CuXY3'></ins><ul id='CuXY3'></ul><sub id='CuXY3'></sub></form><legend id='CuXY3'></legend><bdo id='CuXY3'><pre id='CuXY3'><center id='CuXY3'></center></pre></bdo></b><th id='CuXY3'></th></span></q></dt></tr></i><div id='CuXY3'><tfoot id='CuXY3'></tfoot><dl id='CuXY3'><fieldset id='CuXY3'></fieldset></dl></div>
                  本文介绍了计算链接上的点击次数(没有 onclick)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我有这样的链接

                  """<a href="http://xyz.com/pz/jjjjj/"><img src="http://xyzsho/mbd.com/42/1319/11110/" alt="" border="0"></a>""""
                  

                  存储在 mysql 数据库中.用户从其他网站复制这些链接并将其上传到数据库.这些链接现在将显示在我们的网站上.如何计算和存储每个链接的点击次数.这里我无法使用 onclick.

                  stored in a mysql database. The user copies these links from some other website and uploads it to the database. These links are now to be displayed on our site. How can I count and store the number of clicks on each link. Here i am unable to use onclick.

                  我正在使用 PHP 和 MySQL.

                  I am using PHP and MySQL.

                  谢谢

                  推荐答案

                  您需要重写 URL 以首先访问可用于收集统计信息的其他服务器,然后将用户重定向到他们的初始 URL.

                  You need to rewrite the URL to first hit some other server you can use for statistics gathering, and then redirect the user to their initial URL.

                  这是 Twitter 或 Facebook 在您点击其中一个站外链接时使用的那种东西.

                  This is the sort of thing used by Twitter or Facebook any time you click one of their off-site links.

                  本质上,您正在编写 URL 缩短器.

                  Essentially, you're writing a URL shortener.

                  这篇关于计算链接上的点击次数(没有 onclick)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  PHP Upload File Validation(PHP 上传文件验证)
                  PHP Error - Uploading a file(PHP 错误 - 上传文件)
                  How can I write tests for file upload in PHP?(如何在 PHP 中编写文件上传测试?)
                  php resizing image on upload rotates the image when i don#39;t want it to(php在上传时调整图像大小会在我不想要它时旋转图像)
                  How to send additional data using PLupload?(如何使用 PLupload 发送附加数据?)
                  change button text in js/ajax after mp4 =gt;mp3 conversion in php(在 php 中的 mp4 =gt;mp3 转换后更改 js/ajax 中的按钮文本)
                    <tfoot id='9eUeH'></tfoot>
                  • <small id='9eUeH'></small><noframes id='9eUeH'>

                          <tbody id='9eUeH'></tbody>

                        <i id='9eUeH'><tr id='9eUeH'><dt id='9eUeH'><q id='9eUeH'><span id='9eUeH'><b id='9eUeH'><form id='9eUeH'><ins id='9eUeH'></ins><ul id='9eUeH'></ul><sub id='9eUeH'></sub></form><legend id='9eUeH'></legend><bdo id='9eUeH'><pre id='9eUeH'><center id='9eUeH'></center></pre></bdo></b><th id='9eUeH'></th></span></q></dt></tr></i><div id='9eUeH'><tfoot id='9eUeH'></tfoot><dl id='9eUeH'><fieldset id='9eUeH'></fieldset></dl></div>
                          • <bdo id='9eUeH'></bdo><ul id='9eUeH'></ul>
                            <legend id='9eUeH'><style id='9eUeH'><dir id='9eUeH'><q id='9eUeH'></q></dir></style></legend>