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

PHP¼òµ¥·ÖÒ³

  <?php 
   //¸Ä±äÊý¾Ý¿âÃûÖ®ºó¼´¿ÉʹÓõķÖÒ³
    include 'conn.php';  //ÕâÀïÌí¼ÓÒ»¸öÊý¾Ý¿âÁ¬½Ó¼´¿É£¬±ä»»³É×Ô¼ºÉ趨µÄÁ´½Ó
    $page=$_GET['page']; //·­Ò³Ñ¡Ïî Ê×Ò³£¬ÏÂÒ»Ò³£¬ÉÏÒ»Ò³£¬Î²Ò³
    $current= $_GET['current']; //µ±Ç°Ò³Êý
                                                          
        mysql_select_db("leaveword");//ʹÓõÄÊý¾ÝÃû
        $result=mysql_query("select * from msgs",$connection);//¸Ä±äÊý¾Ý
         $total=mysql_num_rows($result);  
        $pagesize=3;  
                    if   (($total%$pagesize)!=0)    
                    $totalpage=intval($total/$pagesize)+1;   
                 
                    else    
                    $totalpage=intval($total/$pagesize);    
                    if   ($page=="")    
  


Ïà¹ØÎĵµ£º

phpÏÔʾ·þÎñÆ÷ʱ¼ä´úÂë

<div id="time" align="center">time </div> 
<script language="javascript">
function time1()
{
var now,n,y,r,h,m,s;
now=new Date();
n = now.getYear();
y = now.getMonth()+1;
r = now.getDate();
h = now.getHours();
m =now.getMinutes();
s = now.getSeconds();
......

phpÖÐsubstrµÄÓ÷¨Ïê½â

phpÖÐsubstrµÄÓ÷¨Ïê½â
php.netÖйØÓÚsubstrµÄ˵Ã÷ºÜ¼òµ¥:
start
If start is non-negative, the returned string will start at the start 'th position in string , counting from zero. For instance, in the string 'abcdef', the character at position 0 is 'a', the character at position 2 is 'c', and so for ......

phpÉú³ÉÑéÖ¤ÂëͼƬ´úÂë

Îļþcheck.php
<?php
//Éú³ÉÑéÖ¤ÂëͼƬ
Header("Content-type: image/PNG");
srand((double)microtime()*1000000);//²¥ÏÂÒ»¸öÉú³ÉËæ»úÊý×ÖµÄÖÖ×Ó£¬ÒÔ·½±ãÏÂÃæËæ»úÊýÉú³ÉµÄʹÓÃ
session_start();//½«Ëæ»úÊý´æÈësessionÖÐ
$_SESSION['authnum']="";
$im = imagecreate(62,20); //ÖÆ¶¨Í¼Æ¬±³¾°´óС
$black = ImageC ......

»ùÓÚPHPµÄÐÂWeb¿ª·¢¿ò¼Ü

±¾ÎÄת×Ô:http://www.msphome.cn/post/119/
    ×î½üÒòΪҪ¶ÔÒ»¸öÏîÄ¿½øÐÐÖØ¹¹£¬ËùÒÔÒ»Ö±ÔÚÑо¿PHP¿ò¼Ü¡£´óÌå¿´ÁË¿´Zend Frameworks£¬×ÐϸѧϰÁËÏÂsymfony£¬·¢ÏÖÒ»¸öÁ¼ºÃµÄMVC Web¿ò¼Ü£¬×ãÒԸı俪·¢Ï°¹ß¡£µ«ÊÇÎÞÂÛÊÇZend Frameworks»¹ÊÇsymfony£¬¶ÔÓÚÖÐСÐÍÏîÄ¿µÄ¿ª·¢À´Ëµ¶¼¹ýÓÚÓ·Ö×£¬²¢²»ÄܺܺõÄÌáÉý¿ª· ......

¡¾×ª¡¿ÔÚWindowsÉÏÅäÖò¢ÕûºÏPHPºÍMySQL¾­µä½Ì³Ì

ÔÚΪÓû§Ìṩ¶¯Ì¬ÄÚÈÝ·½Ã棬PHPºÍMySQLÊÇÒ»¸öÇ¿´óµÄ×éºÏ¡£ÕâЩÄêÀ´£¬ÕâÁ½Ïî²úÆ·ÒѾ­¿çÔ½ÁËËüÃÇ×î³õµÄÓ¦ÓÃÎę̀£¬ÏÖÔÚ£¬Ò»Ð©ÊÀ½çÉÏ×æµÄÍøÕ¾Ò²ÔÚÓ¦ÓÃËüÃÇ¡£ËäÈ»ËüÃǵ±³õ¶¼ÊÇ¿ªÔ´Èí¼þ£¬Ö»ÄÜÔÚUNIX/LinuxÉÏÔËÐУ¬µ«¾­¹ýÏ൱һ¶ÎʱÆÚµÄ·¢Õ¹£¬ËüÃÇÒÑÄÜÔÚWindowsƽ̨ÉÏÔËÐС£
ÔÚ±¾ÎÄÖУ¬ÎÒ½«Öð²½ÎªÄãÃÇ˵Ã÷ÈçºÎÔÚWindows»·¾³ÖÐ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ