PHP Éú³ÉËæ»úÊý
function randomkeys($length)
{
$key='';
$pattern='123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz';
for($i=0;$i<$length;$i++)
{
$key .= $pattern{mt_rand(0,47)};
}
return $key;
}
echo randomkeys(20);
Ïà¹ØÎĵµ£º
http://fw.qq.com/ipaddress·µ»ØÀàËÆ£ºvar IPData = new Array("61.51.71.183","","±±¾©ÊÐ","");
<?php
function get_ip_place(){
$ip=file_get_contents(http://fw.qq.com/ipaddress);
$ip=str_replace('"',' ',$ip);
$ip2=explode("(",$ip);
$a=substr($ip2[1],0,-2);
$b=explode(",",$a);
return&n ......
<?
$fp = fsockopen ("passport.baidu.com", 80,
$errno, $errstr, 30);
if (!$fp) {
echo "$errstr
($errno)<br>\n";
} else {
$msg="GET
/?login&username=lapiaotuan22&password=oyhz123456
HTTP/1.0\r\n";
$msg.="Host:passport.baidu.com \r\n&quo ......
2008-11-08 23:17
¹«Ë¾µÄ´úÀí·þÎñÆ÷ÓõÄÊÇsquid£¬»ùÓÚIPµØÖ·ºÍMACµØÖ·½øÐÐȨÏÞÑéÖ¤ÔÊÐí²¿·ÖÓû§·ÃÎÊInternet¡£ÎÞÄÎÁÐλ¸ßÊÖÃÇÔçÒÑͨÏþµÁÓÃIP¡¢MACµÄ·½·¨À´ÈƹýsquidµÄÏÞÖÆ¡£½üÀ´¿¼ÂǸÄΪÕʺÅÈÏÖ¤¡£
ÓÉÓÚͬʱÔÚά»¤Ò»¸öÓʼþ·þÎñÆ÷£¨qmail + vpopmail + mysql£©£¬ÓʼþÕʺÅÓÃmysql¹ÜÀí£¬ÄÚÍøÓû§ÈËÊÖÒ»ÓÊÏ䡣ΪÁ˱ãÓÚÓû§ ......
¡¡¡¡php ×÷Ϊ“×î¼òµ¥”µÄ Web ½Å±¾ÓïÑÔ, ÔÚ¹úÄÚµÄÊг¡Ô½À´Ô½´ó£¬phper Ô½À´Ô½¶à£¬µ«ÊǸоõ´ó¶àÊýÈ˺ÃÏñûÓп¼Âǵ½Ä£Ê½ÎÊÌ⣬ʲôÑùµÄÉè¼ÆÄ£Ê½²ÅÊÇ×îÓŵ쬲ÅÊÇ×îÊʺÏ×Ô¼ºÄ¿Ç°¹¤×÷µÄ£¬±Ï¾¹Ð§ÂÊÊÇ×îÖØÒªµÄ£¨ÓÃʡϵÄʱ¼ä´òÓÎÏ·£¬¶àÃÀ°¡...£©¡£MVC Ó¦¸ÃÊÇÊ×Ñ¡£¬www.sourceforge.net ÉÏÓкöàÓÅÐãµÄ»ùÓÚ MVC µ ......
<?php
/*
* Created on 2010-3-11
* author:zhangfei
*ÎÒµÄÑéÖ¤ÂëÀà
*/
session_start();
class Check_Class{
public $h_img ;
public $c_back ;
public $c_front ;
//¹¹Ô캯Êý
function Check_Class(){
$h_img = imagecreate(100,30);
......