Let you have your own QQ online display code (again turn, hehe)

Source: Internet
Author: User
Tags explode php file php code
Show | Online occasionally get <script from somewhere src=http://www.homecgi.com/oicq.php?oicq= your OICQ number ></script>
I went and looked, and sure enough I could.
But then think about how he is connected with the Tencent database?
Oh ~ Make one yourself! The original code as follows, own PHP space, you can also provide QQ online JS code Services! Connection code <script src=http://your space address/oicq.php?oicq= your OICQ number ></script>
Save the following code as a PHP file! I think he's connected to someone else's data, too. I'll connect him, too.
?
$file =fopen ("http://www.homecgi.com/oicq.php?oicq=". $oicq, "R");
$a =fread ($file, 1000);
echo $a;
?>
The PHP code is as follows

<?php
if ($oicq = = "") {}else{$url = "http://search.tencent.com/cgi-bin/friend/oicq_find?oicq_no= $oicq";} if (Isset ($url) && $url!= "") {$str = Implode ("", File ($url)); $str _ary = Explode ("Showresult", $str); $str _ary = Explode ("</script>", $str _ary[2]); $str _ary = explode ("\", \ "", $str _ary[0]); echo "document.write (' <a href=http://search.tencent.com/cgi-bin/friend/user_show_info?ln= $oicq Target=_blank ></a> '); ";}
?>


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.