Home > php教程 > PHP源码 > body text

刷积分脚本

PHP中文网
Release: 2016-05-25 17:09:48
Original
1480 people have browsed it

使用方法:在自己的服务器上创建这个脚本。。 

然后在OSChina.NET上插入图片:http://脚本URL地址/xxx.jpg 
然后就等有人不停的顶你的分享吧。。!!!好邪恶。。可惜已经修复了。。。 

<?php
        //刷OSChina.NET积分代码
        //By 蟋蟀哥哥
        $voteID = array(
                                "5368",
                                "14273",
                                "14274",
                                "14275",
                                "9261",
                                "7165",
        );//顶的帖子的ID号
        $idCount = count($voteID)-1;
        $random = rand(0,$idCount);//随机顶不动的帖子
        $URL=&#39;http://www.oschina.net/action/code/vote?id=&#39;.$voteID[$random].&#39;&vote=true&#39;.&#39;&voteid=&#39;.$voteID[$random];//构造顶贴的URL
        header("Content-type: text/html; charset=utf-8");
        header("location:$URL");//重定向到这个URL就刷分成功。。
		//大家可以继续发挥,只要找到get请求就可以利用。
Copy after login

                   


                   

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!