PHP ʖ²ἯTH
º/A
file_exists
ʹӃ Windows ¹²ϭ: Ԛ Windows ҪӃ //computername/share/filename » \\\\computername\share\filename 4¼첩§µĹ²ϭ΄¼þ¡£
?php $filename = '/path/to/foo.txt'; if (file_exists($filename)) {print "The file $filename exists";} else {print "The file $filename does not exist";}?
º/A
ưµ㼯A
fgetss
ɏһ¼¶
file_get_contents