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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

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: Fri Dec 27 06:01:29 2024 UTC