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

ÄÇЩPHPÅãÎҶɹýµÄÈÕ×Ó

 ÎÞÒâ¼ä¿´µ½ÒÔÇ°·¢µÄÌû×Ó.»ØÒäÆðÄÇЩPHPµÄÈÕÈÕÒ¹Ò¹
http://www.phpfans.net/ask/discuss2/343326196.html
<?
class gzg//¸ÆÖиÆÀà
{
        var $x;//ÊôÐÔ
        function gzg()//¹¹Ô캯Êý,ĬÈϲ»³Ô¸ÆÖиÆ
                {
                        $this->x="×ÜÊǸоõµ½Í·»è.ÑÛ»¨.Ïë²»¿ª";//ÊôÐÔÔõôÑùÄØ?
                }
        function chi()//¶¨Òå³ÔÁ˵ķ½·¨
                {
                        $this->x="ÉíÌåǿ׳ÁË,¸ö×ÓÒ²³¤¸ßÁË!";//ÊôÐԾͱäÁË
                }
        }
        ?>
<? $i=new gzg();
        echo "ÒÔÇ°°¡.".$i->x;?>               
<br>
<form name="form1" method="get" action="<? echo $PHP_SELF ?>">
<br>
  <input type="radio" name="radio" value="1">³Ô¸ÆÖиÆ<br>
  <input type="radio" name="radio" value="0">¾ÍÊDz»³Ô!<br><br>
  <input type="submit" name="Submit" value="Ìá½»">
  <input type="reset" name="Submit2" value="ÖØÖÃ">
</form>
<?
if (isset($_GET["radio"]))
   {
        if ($_GET["radio"]==1)
                {
                $i->chi();//ÎÒ³Ô!
                echo "×Ô´Ó³ÔÁ˸ÆÖиÆ,";
                echo $i->x;
                }
                else if($_GET["radio"]==0)//ÎҾͲ»³Ô!
&nb


Ïà¹ØÎĵµ£º

php·ÀÖ¹Ò³ÃæˢдúÂë

 ¿ÉÓÃÓÚphpµÄ¼ÆÊýÆ÷ºÍ±íµ¥µÄÌá½»£¬·ÀÖ¹·´¸´Ë¢Ð¡£
¸´ÖÆ´úÂë
<?php
session_start();
$allow_sep = "30000";
if (isset($_SESSION["post_sep"]))
{
if (time() - $_SESSION["post_sep"] < $allow_sep)
{
exit("Çë²»Òª·´¸´Ë¢ÐÂ");
}
else
{
$_SESSION["post_sep"] = time();
}
}
e ......

Ïêϸ½âÊÍPHPÖÐheaderºÍcontent


void header ( string string [, bool replace [, int http_response_code]] )
void header ( string string [, bool replace [, int http_response_code]] )
header()ÊÇÓÃÀ´·¢ËÍ HTTP HeaderµÄ¡£replaceÊǸö¿ÉÑ¡µÄ²ÎÊý£¬Ö¸Ê¾ÊÇ·ñÌæ´úÒ»¸öÏÈÆÚÏàËƵÄheader£¬
......

PHPʵÏÖÔ²½ÇͼƬ

¹¤×÷ÖÐÓõ½£¬×Ô¼ºÐ´ÁËÒ»¸ö£¬·ÖÏí¸øÓÐÐèÒªµÄÈË£¬Ç°ÃæÊÇÀඨÒ壬ºóÃæ2ÐÐÊǵ÷Óá£
Óŵ㣺
²»ÐèÒªÍⲿͼƬ
Ö§³ÖPNG͸Ã÷
¿É×Ô¶¨ÒåÔ²½Ç°ë¾¶
²»×㣺
Ö»ÄÜÖ¸¶¨Ò»ÖÖ͸Ã÷É«
 <?php
class RoundedCorner {
private $_r;
private $_g;
private $_b;
private $_image_path;
private $_radius;

function _ ......

Á½²½¸ã¶¨windowsÏÂApache+tomcat+phpÕûºÏ

±¾½Ì³Ì²ÉÓõÄÊÇxampp×Ô´øµÄtomcat²å¼þÀ´Íê³ÉÕûºÏµÄ£¬ËùÒÔ£¬ÒªÏëÍê³ÉÕûºÏ£¬µÚÒ»²½²»ÐèÏÂÔØxampp£¬¼°Æätomcat²å¼þ~
1.´ò¿ªxampp¹ÙÍø µã´Ëxampp¹ÙÍø´ò¿ª
                          &n ......

СÒé»ùÓÚPHPµÄWebÊý¾Ý¿â·ÃÎÊ

ÕªÒª ±¾ÎĽéÉÜPHPµÄÓŵãºÍÌØÕ÷£¬½áºÏʵÀý²ûÊöÁËPHP·ÃÎÊMySQLÊý¾Ý¿âµÄ·½·¨¡£
PHP MySQL ODBC
1. ÒýÑÔ
ÔÚInternetÓ¦ÓÃÖУ¬½«·þÎñÆ÷¶Ë½Å±¾¼¼ÊõºÍ¿Í»§¶Ë½Å±¾¼¼Êõ½áºÏÆðÀ´¿ÉÒÔÖÆ×÷³ö·á¸»¶à²ÊµÄÒ³Ãæ¡£CGIºÍASPÊDZȽÏÁ÷ÐеķþÎñÆ÷¶Ë½Å±¾¼¼Êõ¡£Í¨³£CGIÔÚ¿çƽ̨µÄ¿ª·¢ÖаçÑÝ×ÅÖ÷Òª½ÇÉ«£¬¿ÉÒÔʹÓÃVB¡¢C»òPerlµÈÀ´Ê ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ