|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-09-09 18:03 UTC] sniper@php.net
[2002-09-09 18:05 UTC] jneil at myersinternet dot com
[2002-09-10 05:24 UTC] edink@php.net
[2002-09-10 10:31 UTC] jneil at myersinternet dot com
[2002-09-11 02:15 UTC] florian at cathala dot org
[2002-09-16 16:18 UTC] bjr at dexel dot dk
[2002-09-17 13:59 UTC] florian at cathala dot org
[2002-09-18 02:04 UTC] svupp at hotmail dot com
[2002-09-18 06:23 UTC] sunkan_ at hotmail dot com
[2002-09-18 08:35 UTC] svupp at hotmail dot com
[2002-09-19 11:28 UTC] jneil at myersinternet dot com
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 04:00:02 2025 UTC |
As of PHP 4.2.3 any filesystem functions that call for a pathname only work with fully qualified paths. Relative paths no longer appear to work. This includes the fopen commands. This breaks a lot of code out there. For example, the following function does not work: <?php if ($fp = fopen("some_local_file.txt", "r")) { echo "Opened file...<br>\n\n"; } ?> However, the following DOES work: <?php if ($fp = fopen("/full/path/to/some_local_file.txt", "r")) { echo "Opened file...<br>\n\n"; } ?>