Home Tutorial Php Phpfiles PHP function is_link and example

 
 

Share on Google+Share on Google+
PHP function is_link and example
Posted on: October 30, 2009 at 12:00 AM
Advertisement
In this section of the tutorial we will learn about the function is_link in context of file handling. And also we will see the example related to the is_link function

Syntax for PHP is_link() Function
bool is_link(file_name)

  • is_link() function checks whether the given file is the link file or not


Example of PHP is_link() Function
Code

<?php

    $f
="..\filehandling";
    $b
=is_link($f);

    if
($b)
    echo
"this is the link file";
      else
    echo
"<br>this is not the link file";
?>

Output
this is not the link file

Advertisement

Related Tags for PHP function is_link and example:


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: October 30, 2009

Recommend the tutorial

Advertisements Advertisements
 

 

 

DMCA.com