phpÎļþϵͳº¯Êý¿â
basename: ·µ»Ø²»º¬Â·¾¶µÄÎļþ×Ö·û´®¡£
chgrp: ¸Ä±äÎļþËùÊôµÄȺ×é¡£
chmod: ¸Ä±äÎļþµÄÊôÐÔ¡£
chown: ¸Ä±äÎļþµÄÓµÓÐÕß¡£
clearstatcache: Çå³ýÎļþ״̬¿ìÈ¡¡£
copy: ¸´ÖÆÎļþ¡£
delete: ÎÞÓõÄÏîÄ¿¡£
dirname: È¡µÃ·¾¶ÖеÄĿ¼Ãû¡£
diskfreespace: È¡µÃĿ¼ËùÔÚµÄÊ£Óà¿ÉÓÿռ䡣
fclose: ¹Ø±ÕÒÑ´ò¿ªµÄÎļþ¡£
feof: ²âÊÔÎļþÖ¸ÕëÊÇ·ñÖ¸µ½µµÎ²¡£
fgetc: È¡µÃÎļþÖ¸ÕëËùÖ¸µÄ×Ö·û¡£
fgetcsv: È¡µÃÎļþÖ¸ÕëËùÖ¸ÐУ¬²¢½âÎö csv ×ֶΡ£
fgets: È¡µÃÎļþÖ¸ÕëËùÖ¸µÄÐС£
fgetss: È¡µÃÎļþÖ¸ÕëËùÖ¸µÄÐУ¬²¢È¥µô html ÓïÑÔ±ê¼Ç¡£
file: ½«ÎļþÈ«²¿¶ÁÈëÊý×é±äÁ¿ÖС£
file_exists: ¼ì²éÎļþÊÇ·ñ´æÔÚ¡£
fileatime: È¡µÃÎļþ×îºóµÄ´æȡʱ¼ä¡£
filectime: È¡µÃÎļþ×îºóµÄ¸Ä±äʱ¼ä¡£
filegroup: È¡µÃÎļþËùÊôµÄȺ×é¡£
fileinode: È¡µÃÎļþµÄ inode Öµ¡£
filemtime: È¡µÃÎļþ×îºóµÄÐÞ¸Äʱ¼ä¡£
fileowner: È¡µÃÎļþµÄÓµÓÐÕß¡£
fileperms: È¡µÃÎļþµÄȨÏÞÅäÖá£
filesize: »ñµÃÎļþµÄ´óС¡£
filetype: »ñµÃÎļþµÄÀàÐÍ¡£
flock: ËøסÎļþ¡£
fopen: ´ò¿ªÎļþ»òÕß url¡£
fpassthru: Êä³öËùÓÐÊ£Óà×ÊÁÏ¡£
fputs: дµ½ÎļþÖ¸Õë¡£
fread: λ×éµÄ·½Ê½¶ÁÈ¡Îļþ¡£
fseek: Òƶ¯ÎļþÖ¸Õë¡£
ftell: È¡µÃÎļþ¶ÁдָÕëλÖá£
fwrite: ¶þ½øλλ·½Ê½Ð´ÈëÎļþ¡£
set_file_buffer: ÅäÖÃÎļþ»º³åÇø´óС¡£
is_dir: ²âÊÔÎļþÊÇ·ñΪĿ¼¡£
is_executable: ²âÊÔÎļþÊÇ·ñΪ¿ÉÖ´Ðеµ¡£
is_file: ²âÊÔÎļþÊÇ·ñΪÕý³£Îļþ¡£
is_link: ²âÊÔÎļþÊÇ·ñΪÁ´½Óµµ¡£
is_readable: ²âÊÔÎļþÊÇ·ñ¿É¶ÁÈ¡¡£
is_writeable: ²âÊÔÎļþÊÇ·ñ¿ÉдÈë¡£
link: ½¨Á¢Ó²Ê½Á´½Ó¡£
linkinfo: È¡µÃÁ´½ÓÐÅÏ¢¡£
mkdir: ½¨Á¢Ä¿Â¼¡£
pclose: ¹Ø±ÕÎļþ¡£
popen: ´ò¿ªÎļþ¡£
readfile: Êä³öÎļþ¡£
readlink: ·µ»Ø·ûºÅÁ´½Ó (symbolic link) Ä¿±êµµ¡£
rename: ¸ü¸ÄµµÃû¡£
rewind: ÖØÖÿªµµµÄ¶ÁдλÖÃÖ¸Õë¡£
rmdir: ɾ³ýĿ¼¡£
stat: È¡µÃÎļþÏà¹ØÐÅÏ¢¡£
lstat: È¡µÃÁ´½ÓµµÏà¹ØÐÅÏ¢¡£
symlink: ½¨Á¢·ûºÅÁ´½Ó (symbolic link)¡£
tempnam: ½¨Á¢Ö»Ò»µÄÁÙʱµµ¡£
touch: ÅäÖÃ×îºóÐÞ¸Äʱ¼ä¡£
umask: ¸Ä±äÄ¿Ç°µÄÎļþÊôÐÔÕÚÕÖ umask¡£
unlink: ɾ³ýÎļþ¡£
basename
·µ»Ø²»º¬Â·¾¶µÄÎļþ×Ö·û´®¡£
Óï·¨: string basename(string path);
·µ»ØÖµ: ×Ö·û´®
º¯ÊýÖÖÀà: Îļþ´æÈ¡
ÄÚÈÝ˵Ã÷: ½«º¬Â·¾¶¼°Îļþ×Ö·û´®ÖеÄ·¾
Ïà¹ØÎĵµ£º
»ð³µÍ·¹Ù·½ÌṩµÄdiscuz6.1µÄphp½Ó¿Ú±È½Ï´Ö²Ú£¬»ù±¾²»ÄÜÂú×ãÐèÒª£¬±¾ÈËÔڲɼ¯µÄ¹¤×÷ÖÐʹÓõIJɼ¯½Ó¿ÚÎļþÈçÏ£º
PS£º¶ÔÔÎļþµÄÐ޸Ľϴó,³ÌÐòÖÐ×¢ÊÍÒѾºÜÏ꾡£¬ÕâÀï¾Í²»¶à˵ÁË¡£
<?php
// header('Content-Type:text/html;charset=UTF-8');
//if(function_exists("mb_convert_encoding")){
......
PHP VS ASP.NET
²©¿Í·ÖÀà: ÊÕ»ñ»ýÀÛ
bruce·¢±íÓÚËÄÔ 14 2009, 04:42 ÏÂÎç
PHPºÍASP.NETÔÚ±¾ÖÊÉÏÊÇÓкܴó²»Í¬µÄ£¬PHP³£±»Ó¦Óõ½¹¦Ä̶ܹ¨µÄÍøÕ¾¹¹½¨ÉÏ£¬ÀýÈçÁôÑÔ°å¡¢ÐÂÎÅ·¢²¼¡¢ÂÛ̳ºÍͶƱµÈ£¬ÕâЩ¹¦ÄÜÊÇ¿ìËÙ½¨Õ¾±Ø±¸µÄ£¬×Ô¶¨Ò帴ÔÓµÄÉÌÒµÁ÷³Ì²»¶à£¬Òò´ËÍø·ÉÏÓÐÐí¶àÏֳɵ ......
×î½üÔÚ×öÒ»¸öÏîÄ¿£¬Óöµ½AJAXÖÐÎÄÂÒÂëÎÊÌ⣬¾¹ýÒ»¸öÏÂÎçµÄŬÁ¦ÖÕÓÚÍêÃÀ½â¾ö£¬ÏÖ½«ÐĵÃдÏÂÀ´£¬Ï£Íû¶ÔÄÇЩ»¹À§ÈÆÔÚÕâ¸öÎÊÌâ¶øÍ·Í´²»ÒѵÄÈËÃÇÓÐËù°ïÖú¡£
ÖÚËùÖÜÖª£¬Ê¹ÓÃAJAX´«ËͺͽÓÊÕÖÐÎIJÎÊýʱ£¬Èç¹û²»ÔÚ¿Í»§¶ËºÍ·þÎñÆ÷×öÏàÓ¦µÄ´¦Àí¾Í»á³öÏÖÂÒÂëÎÊÌ⣬ÔÚÍøÉÏÏàÓ¦µÄÎÄÕÂÒ²²»ÉÙ£¬µ«ÊÇÓеÄÇé¿öϺÜÄÑ´ÓÖÐÕÒµ½·ûºÏ×Ô¼ºÀíÏëµÄ´ð ......
fopen() º¯ÊýÓÃÓÚÔÚ PHP Öдò¿ªÎļþ¡£
´Ëº¯ÊýµÄµÚÒ»¸ö²ÎÊýº¬ÓÐÒª´ò¿ªµÄÎļþµÄÃû³Æ£¬µÚ¶þ¸ö²ÎÊý¹æ¶¨ÁËʹÓÃÄÄÖÖģʽÀ´´ò¿ªÎļþ£º
<?php
$file=fopen("welcome.txt","r");
?>
Îļþ¿ÉÄÜͨ¹ýÏÂÁÐģʽÀ´´ò¿ª£º
r : Ö»¶Á¡£Ö¸Õ붨λÔÚÎļþµÄ¿ªÍ·£¬Èç¹ûÎļþ²»»á±¨´í¡£
r+ : ¶Á/д¡£Ö¸Õ붨λÔÚÎļþµÄ¿ªÍ·,Èç ......
<?php
class SubPages{
private $each_disNums;//ÿҳÏÔʾµÄÌõÄ¿Êý
private $nums;//×ÜÌõÄ¿Êý
private $current_page;//µ±Ç°±»Ñ¡ÖеÄÒ³
private $sub_pages;//ÿ´ÎÏÔʾµÄÒ³Êý
private $pageNums;//×ÜÒ³Êý
private $page_array = array();//ÓÃÀ´¹¹Ôì·ÖÒ³µÄÊý×é ......