PHP¹¹Ô캯Êý
class A extends father{
function __construct() {
echo "abstract<br>";
parent::base(); //¸¸Àà·½·¨
$s=$this->stu; //Ö¸Ïò¸¸ÀàÊôÐÔ
}
function A(){}
function B(){
$this->A(); //Ö¸Ïò±¾ÀàA·½·¨
}
}
Ïà¹ØÎĵµ£º
ÔÚcentos5.3Ï°²×°GCCËù±ØÐëµÄ5¸öÒÀÀµ°ü
×îС»¯°²×°centos5.3£¬Ä¬ÈÏûÓа²×°gcc,ÀûÓÃÏÂÔصݲװDVD£¬Í¨¹ýfilezillaÉÏ´«£¬·¢ÏÖGCCËù±ØÐëµÄ5¸öÒÀÀµ°üΪ£º
kernel-headers-2.6.18-128.el5.i386.rpm
cpp-4.1.2-44.el5.i386.rpm
libgomp-4.3.2-7.el5.i386.rpm   ......
1.ËùÓеÄÊý¾Ý¶¼Ó¦¸ÃÒþ²ØÔÚËùÔÚµÄÀàµÄÄÚ²¿¡£
2.ÀàµÄʹÓÃÕß±ØÐëÒÀÀµÀàµÄ¹«¹²½Ó¿Ú£¬µ«À಻ÄÜÒÀÀµËûµÄʹÓÃÕß¡£
3.¾¡Á¿¼õÉÙÀàÐÒéÖеÄÏûÏ¢¡£
4.ʵÏÖËùÓÐÀ඼Àí½âµÄ×î»ù±¾µÄ½Ó¿Ú¡££¨¿½±´²Ù×÷£¬°üÀ¨É±´ºÍdz¿½±´£©£¬ÏàµÈÐÔÅжϣ¬ÕýÈ·Êä³öÄÚÈÝ£¬´ÓASC2ÃèÊö½âÎöµÈµÈ¡£
5.²»°ÑʵÏÖϸ½ÚÈç·ÀÖ¹¹«¹²´úÂëµÄ˽Óк¯Êý.·Åµ½ÀàµÄ¹²Óнӿ ......
½ñÌìÔÚ¼ÒÀïÖØа²×°ÁËÒ»ÏÂPHP µ±ÈÃÒ²ÓÐApacheÁË¡£µ«ÊÇÎÒÓöµ½ÁËÒ»¸öÎÊÌ⣬¾ÍÊÇApache·þÎñÎÞ·¨¿ªÆô£¬ºó¹ûÔõÑùÎÒÏëºÜ¶àÈ˶¼ÊÇÖªµÀµÄ£¬µ±Ê±Ò²Ã»ÓжàÏ룬ÒÔΪÊÇ×Ô¼º°²×°µÄʱºò³öÏÖÁËʧÎó¾ÍÖØа²×°Ò»±é£¬¿ÉÊÇ»¹ÊÇÒ»ÑùÎÞ·¨´ò¿ª£¬È»ºóÎÒ¾ÍÔÚÏëÊÇʲôÎÊÌ⣬¶Ë¿ÚºÅ80.ÎҲ鿴ÁËһϣ¬·¢ÏÖûÓдíÎó°¡£¬Ë¼¿¼Á˺ܾ㬶ÔÍøÂçÒÔ¼°·À» ......
×î½üÔÚCSDN¸Õ¿ªÁËÕâ¸ö²©¿Í£¬Ã»Ê²Ã´Ê±¼ä°ÑÒÔǰдµÄÎÄÕ°á¹ýÀ´£¬Ö»ÄÜÓпÕÂýÂýÀ´ÁË¡£
--------------------------ÕâƪÎÄÕ½öÏ׸øÄÇЩһֱÔÚPHPÂÒÂëÎÊÌâÉÏÀ§»óµÄÈË¡£
A.Ê×ÏÈ˵ÏÂHTMLÖÐÎÄÂÒÂëÎÊÌâµÄ½â¾ö·½·¨¡£
±ÈÈçÓиöindex.htmlµÄÒ³Ã棨ÕâÀïÊÇÖ¸ÕæÕýµÄ¾²Ì¬Ò³Ã棬Ð޸ķþÎñÆ÷µÄ……α¾²Ì¬µÄÇë¿´·½°¸B£©
1. ......
/**
* ´ò¿ª¹Ø±ÕÎļþ
*/
fopen() // 2/4: 2 ¸ö±ØÑ¡²ÎÊý£¬ 4 ¸ö²ÎÊý;
fclose() // 1/1;
/**
* ¶ÁÈ¡Îļþ
*/
// ÐèÏÈÓà fopen() ´ò¿ªÎļþ²ÅÄܶÁÈ¡µÄº¯Êý£»´ÓÎļþÖ¸Õë´¦¿ªÊ¼¶ÁÈ¡
fgetc() // 1/1; ¶ÁÈ¡Ò»¸ö×Ö·û
fgets() // 1/2; ¶ÁÈ¡Ò»ÐÐ
fgetss() // 1/3; ¶ÁÈ¡Ò»Ðв¢È¥³ý HMTL ±êÇ©
fgetcsv() // 1/5; ¶ÁÈ¡Ò»Ðв ......