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

php list·½·¨µÄÃîÓÃ

Ò»¸ö¼òµ¥µÄÀý×Ó¶ÁÈ¡CSVÎļþ£º
<?php
$handle=fopen("test.csv","r");
echo "<table border=2>";
//ÅäºÏwhileÑ­»·¶ÁÈ¡Îļþ
while($data=fgetcsv($handle,1024))
{
list($user,$pwd,$partment,$title)=$data;
echo "<tr>
<td>$user</td>
<td>$pwd</td>
<td>$partment</td>
<td>$title</td></tr>";
}
echo "</table>";
fclose($handle);
?>


Ïà¹ØÎĵµ£º

PHP VS ASP.NET


PHP VS ASP.NET
²©¿Í·ÖÀà: ÊÕ»ñ»ýÀÛ
bruce·¢±íÓÚËÄÔ 14 2009, 04:42 ÏÂÎç
        PHPºÍASP.NETÔÚ±¾ÖÊÉÏÊÇÓкܴó²»Í¬µÄ£¬PHP³£±»Ó¦Óõ½¹¦Ä̶ܹ¨µÄÍøÕ¾¹¹½¨ÉÏ£¬ÀýÈçÁôÑÔ°å¡¢ÐÂÎÅ·¢²¼¡¢ÂÛ̳ºÍͶƱµÈ£¬ÕâЩ¹¦ÄÜÊÇ¿ìËÙ½¨Õ¾±Ø±¸µÄ£¬×Ô¶¨Ò帴ÔÓµÄÉÌÒµÁ÷³Ì²»¶à£¬Òò´ËÍø·ÉÏÓÐÐí¶àÏֳɵ ......

PHPµÄOpenID¿â Community

Community-IDÊÇÒ»¸öʵÏÖÁË OpenID 2.0 ЭÒéµÄ PHP ¿â¡£
а汾ÔÚÓû§¹ÜÀí½çÃæÔö¼ÓÁËÒ»¸öÇå³ý°´Å¥£¬ÓÃÀ´Çå³ýËÑË÷ÊäÈë¿òµÄÄÚÈݺʹ洢ÔÚµ±Ç°¹ýÂËÆ÷ÁбíµÄÌõ¼þÐÅÏ¢£»¸üÐÂÁËÌáÐÑÓʼþÄ£°åµÄ·­ÒëÎı¾£»ä¯ÀÀÓû§ÁбíµÄʱºò½«ÔÚ״̬ÁÐÖÐÏÔʾÉÐδ¼¤»îµÄÓû§Êý£»Zend¿ò¼ÜÉý¼¶µ½ 1.9.2 °æ±¾£»ÐÞÕýÁËһЩbug¡£
ÏÂÔØ Community-ID 1.1.0 ......

phpÖлñÈ¡¸÷ÖÖ·¾¶

test.php -------------------------------------------------------------------------------------
echo $_SERVER['DOCUMENT_ROOT'].""; //»ñµÃ·þÎñÆ÷Îĵµ¸ù
echo $_SERVER['PHP_SELF'].""; //»ñµÃÖ´ÐиôúÂëµÄÎļþ·þÎñÆ÷¾ø¶Ô·¾¶
/*
phpÊÖ²áÉϵĽâÊÍ£º “PHP_SELF” µ±Ç°ÕýÔÚÖ´Ðнű¾µÄÎļþÃû£¬Óë docum ......

phpÖÐfopen() º¯ÊýÓôò¿ªÎļþģʽ˵Ã÷

fopen() º¯ÊýÓÃÓÚÔÚ PHP Öдò¿ªÎļþ¡£
´Ëº¯ÊýµÄµÚÒ»¸ö²ÎÊýº¬ÓÐÒª´ò¿ªµÄÎļþµÄÃû³Æ£¬µÚ¶þ¸ö²ÎÊý¹æ¶¨ÁËʹÓÃÄÄÖÖģʽÀ´´ò¿ªÎļþ£º
<?php
$file=fopen("welcome.txt","r");
?>
Îļþ¿ÉÄÜͨ¹ýÏÂÁÐģʽÀ´´ò¿ª£º
r   : Ö»¶Á¡£Ö¸Õ붨λÔÚÎļþµÄ¿ªÍ·£¬Èç¹ûÎļþ²»»á±¨´í¡£
r+ : ¶Á/д¡£Ö¸Õ붨λÔÚÎļþµÄ¿ªÍ·,Èç ......

phpͨÓüì²âº¯Êý¼¯

ÍøÉÏÕÒµ½µÄ£º¹²ÏíÒ»ÏÂ
<?
//¡¾¾¯¸æ¡¿:δ¾­Ðí¿ÉÇëÎðËæ±ãÐÞ¸Ä
//-----------------------------------------------------------------------------------
-------
//-----------------------------------------------------------------------------------
-------
//
// ¡¾ÎļþÃû¡¿: c_check.inc
// ¡¾× ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ