★ wanayoo — archive 1999 http://www.php.net/manual/ja/function.is-link.phpNouvelle recherche | Portail wanayoo

PHP Home Page

Manual Table of Contents
Up to ファイルシステム
Quick Reference
ファイルシステム
English version of this pageGerman version of this pageJapanese version of this page
Italian version of this pageFrench version of this pageHungarian version of this page
Spanish version of this pageDutch version of this page
* basename
* chgrp
* chmod
* chown
* clearstatcache
* copy
* delete
* dirname
* diskfreespace
* fclose
* feof
* fflush
* fgetc
* fgetcsv
* fgets
* fgetss
* file
* file_exists
* fileatime
* filectime
* filegroup
* fileinode
* filemtime
* fileowner
* fileperms
* filesize
* filetype
* flock
* fopen
* fpassthru
* fputs
* fread
* fscanf
* fseek
* fstat
* ftell
* ftruncate
* fwrite
* set_file_buffer
* is_dir
* is_executable
* is_file
* is_link
* is_readable
* is_writable
* is_uploaded_file
* link
* linkinfo
* mkdir
* move_uploaded_file
* pclose
* popen
* readfile
* readlink
* rename
* rewind
* rmdir
* stat
* lstat
* realpath
* symlink
* tempnam
* tmpfile
* touch
* umask
* unlink

  Thanks to:
 Chek.com
 easyDNS
 VA Linux Systems

  Related sites:
Apache
MySQL
PostgreSQL
Zend Tech.

  Community:
LinuxFund.org
OSDN
Manual: is_link
View the source code for this pageSearch the site



Previous page
 is_file
 Updated
Fri, 05 Jan 2001
is_readable 
Next page


is_link

(PHP 3, PHP 4 )

is_link --  ファイルがシンボリックリンクかどうかを調べる

説明

bool is_link (string filename)

filenameが存在して、かつっ?が シンボリックリンクであればtrueを返します。

この関数の結果はキャッシュされます。詳細は、 clearstatcache() を参照下さい。

is_dir(), is_file() も参照下さい。

注意: この関数は、Windowsシステムでは動作しません。


User Contributed Notes: is_link


hysteria@ufuria.org
22-Sep-2000 11:52
If is_link() tests a link of which the destination file is invalid (deleted or whatever) it will return false. Similarly, filetype() will return a blank instead of "link". So you can use !filetype() to check for broken links.


 About Notes


Previous page
 is_file
 Updated
Fri, 05 Jan 2001
is_readable 
Next page





Who's responsible for this?
Top of this page

Site
Hosting:



Located in
United States
Elements of this website are subject to copyright.
Questions about installing or using PHP should be directed to one of the mailing lists.
Only questions about the website should be directed to webmaster@php.net.