php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #43409 undefined function
Submitted: 2007-11-26 09:59 UTC Modified: 2007-11-26 10:17 UTC
From: pardust at gmail dot com Assigned:
Status: Not a bug Package: URL related
PHP Version: 5.2.5 OS: windows xp
Private report: No CVE-ID: None
 [2007-11-26 09:59 UTC] pardust at gmail dot com
Description:
------------
Fatal error: Call to undefined function link() in..

and unfortunately i encountered same error with readlink() function...

configuretion in php.ini seems ok..

Reproduce code:
---------------
Code;
$path="info.php";
$linkname="get your php information here";

echo link($path,$linkname);




Expected result:
----------------
<a href="info.php>get your php information here</a>.

Actual result:
--------------
Output:

Fatal error: Call to undefined function link() in C:\apache-php\Apache\htdocs\for.php on line 39

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-11-26 10:16 UTC] felipe@php.net
No, no... This function not work as you expect.

Refers http://en.wikipedia.org/wiki/Hard_link
 [2007-11-26 10:17 UTC] jani@php.net
RTFM: Note: This function is not implemented on Windows platforms.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 16:01:31 2024 UTC