Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

php ͼƬÑéÖ¤Âë

ͼƬÑéÖ¤ÂëµÄÔ­ÀíÊÇ·ÀÖ¹¶ñÒâ×¢²á£¬ÊµÏÖ·½·¨
ÑéÖ¤Â룺<input type="text" name="yanzhengma" />
<iframe src="code/middle.php" height="20px" width="65px" frameborder="0" id="chkimg" scrolling="no" style=" margin-top:5px">
</iframe>
<a  href="javascript:chkimg.location.reload();">¿´²»Ç壬»»Ò»ÕÅ</a>
 
code/middle.phpÖеĴúÂ룺
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB18030" />
<title>Insert title here</title>
</head>
<body style="margin:0; padding:0">
  <img src="code.php" />
       
</body>
</html>
 
code.phpÖеĴúÂ룺
<?php
/*---------------×ÏÉ«·çÁå--------------
*  Info:ÑéÖ¤ÂëÉú²ú³ÌÐò£»
*  Autore: gb2312
*  Time £º 10-1-7 13:10;
*-------------------------------------*/
session_start();
function yanzheng()
{
         $shumu = 4;
         define("shumu","$shumu" );
         $vchar =array( 0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z);
         for($i=0; $i<shumu; $i++)
         {
          
            $suiji=$suiji.$vchar[mt_rand(0,61)];
          
         }
         if (strlen($suiji)!=4)
         yanzheng();
     &n


Ïà¹ØÎĵµ£º

Phpѧϰ±Ê¼Ç

·¢±íÓÚ2008Äê10ÔÂ14ÈÕ
PHP»ù´¡£º±êǩʹÓãº
PHP´úÂë±ØÐë°üº¬ÔÚ <?PHP ºÍ ?>Ö®¼ä¡£
һЩÆäËûµÄ±êÇ©ÑùʽҲ¿ÉÒÔʹÓ㬱ÈÈç<?,<%,»òÕß<script  language="php">(Js±êÇ©)¡£
ÆäËû±êÇ©¿ÉÒÔÊÇÓ㬵«Ö»ÓÐÔÚ<?php £¿>Ö®¼äµÄ½Å±¾²ÅÊÇ¿ÉÓõÄPHP´úÂë¡£
£¨¹ØÓÚlesson 23 µÄphp.iniÅäÖÃÎļþ£©
¿ªÊ ......

discuz ¾­µäphp¼ÓÃܽâÃܺ¯Êý authcode ½âÎö

¿µÊ¢µÄ authcode º¯Êý¿ÉÒÔ˵¶ÔÖйúµÄPHP½ç×÷³öÁËÖØ´ó¹±Ïס£°üÀ¨¿µÊ¢×Ô¼ºµÄ²úÆ·£¬ÒÔ¼°´ó²¿·ÖÖйúʹÓÃPHPµÄ¹«Ë¾¶¼ÓÃÕâ¸öº¯Êý½øÐмÓÃÜ£¬authcode ÊÇʹÓÃÒì»òÔËËã½øÐмÓÃܺͽâÃÜ¡£
Ô­ÀíÈçÏ£¬¼ÙÈ磺
¼ÓÃÜ
Ã÷ÎÄ£º1010 1001
Ãܳףº1110 0011
ÃÜÎÄ£º0100 1010
µÃ³öÃÜÎÄ0100 1010£¬½âÃÜÖ®ÐèºÍÃܳ×Òì»òϾͿÉÒÔÁË
½âÃÜ ......

javaºÍphpÎļþ¶Áд¶Ô±È¾ÙÀý¼°½â¾öÈÃÈËÍ·Í´µÄÂÒÂëÎÊÌâ

JAVAÎļþ¶Áд±ØÐëҪעÒâ±àÂëÎÊÌâ 
 javaµÄÎļþд
Ö±½ÓʹÓÃFileWriter¼´¿É£¬µÚ¶þ¸ö²ÎÊýΪ׷¼ÓдÈ룬ĬÈÏÊǸ²¸Çд¡£Ð´Íê±ØÐëclose²Å»á±£´æÐ´ºÃµÄÄÚÈÝ¡£
ĬÈÏÇé¿öÈç¹ûûÓлáн¨Ò»¸öÎļþ
FileWriter fw = null;
try {
fw = new FileWriter("/data/updatetime.dat", true); // true×·¼ÓдÈë
fw.append ......

PHP mail Function With Attachments

Ô­ÌûµØÖ·£ºhttp://www.zedwood.com/article/126/php-mail-function-with-attachments
This code sends an html formatted email with attachments. This email sending script actually sends both a plaintext and an html body of the email, allowing the email client to choose which to display. The plaintext emai ......

¡¾PHPϵÁн̡̳¿(4)——PHPµÄ±äÁ¿

ºÜÈÙÐÒÉÏÆªÎÄÕ±»°æÖ÷ÍÆ¼öµ½Ê×Ò³ÁË£¬ÐÄÀïËãÊǼ¤¶¯ÁËÒ»°Ñ£¬¼ÌÐøÅ¬Á¦Ñ§Ï°Öаɡ£±¾ÕÂÖ÷Òª½éÉÜPHPÖеıäÁ¿¡£Ö÷Òª°üÀ¨£ºÔ¤¶¨Òå±äÁ¿¡¢±äÁ¿·¶Î§¡¢¿É±ä±äÁ¿ÒÔ¼°PHPµÄÍⲿ±äÁ¿µÈ¡£
Ò»¡¢»ù´¡ÖªÊ¶
PHP ÖÐÒ»¸öÃÀÔª·ûºÅºóÃæ¸úÉÏÒ»¸ö±äÁ¿Ãû³Æ£¬¼´±íʾһ¸ö±äÁ¿¡£±äÁ¿µÄÃû³ÆÊǶԴóСдÃô¸ÐµÄ¡£
±äÁ¿ÃûÓë PHP ÖÐÆäËüµÄ±êǩһÑù×ñÑ­ÏàͬµÄ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ