Works fine on WinXP, PHP 4.1.1, IIS 5.1 ---John Holmes...
----- Original Message ----- From: "Frank" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, April 29, 2002 12:19 PM Subject: [PHP] PHP "ignoring" dotfiles > > Hello list, > > My PHP acts unexpected when requiring files with a leading dot. I'm on > FreeBSD 4.3 > > In a directory I have the following two files: > > .mydotfile.php: > <?php > echo "I am here!"; > ?> > > myfile.php: > <?php > require '.mydotfile.php'; > ?> > > > When I run myfile.php there is no output! > > If I rename .mydotfile to something without a leading dot and change the > name in the require-statement it writes "I am here!", as expected. > > If I try to require a non-existing dot file PHP complains, as expected. > > So - why don't I get an output from the run when written as above? > > I know that it has worked as expected earlier, but after an upgrade (I > think) I now get this strange problem. I have tried to play with the > include_path but without result. > > Anyone have a clue? > > Best, > > Frank > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php