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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: pardust at gmail dot com
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Fri Apr 19 23:01:28 2024 UTC