|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-03-05 23:43 UTC] iliaa@php.net
[2008-03-06 08:22 UTC] nahuel dot angelinetti at revues dot org
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 08 06:00:01 2025 UTC |
Description: ------------ When we have an openbasedir like : /www/something/mysite/ and subdirs like : /www/something/mysite/yourstuff/another/ When my script is running in /www/something/mysite/ and I want to create a link in the "another" directory to a file in "mysite" (../../myfile.html) Reproduce code: --------------- execute in /www/something/mysite/ <?php symlink("../../mytarget.html","yourstuff/another/mylink"); ?> my target is in : /www/something/mysite/mytarget.html and mylink is in : www/something/mysite/yourstuff/another/mylink Expected result: ---------------- Just to create links that source and destination ARE in the openbasedir ! Actual result: -------------- It say I'm out of the openbasedir, but the link isn't.