[PHP] PHP ignoring dotfiles

2002-04-29 Thread Frank
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

Re: [PHP] PHP ignoring dotfiles

2002-04-29 Thread 1LT John W. Holmes
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

Re: [PHP] PHP ignoring dotfiles

2002-04-29 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Frank declared .mydotfile.php: ?php echo I am here!; ? myfile.php: ?php require '.mydotfile.php'; ? When I run myfile.php there is no output! Just a hunch: do you get the same permissions output for the dotfiles as the

Re: [PHP] PHP ignoring dotfiles, permissions

2002-04-29 Thread Frank
Just a hunch: do you get the same permissions output for the dotfiles as the normal ones? Thanks for the idea. I am not sure what you mean by permissions output but it is same owner and an ls -la gives -rwxr-xr-x 1 frank wheel 27 Apr 29 23:05 .mydotfile.php -rwxr-xr-x 1 frank wheel

Re: [PHP] PHP ignoring dotfiles, permissions

2002-04-29 Thread heinisch
At 30.04.2002 00:01, you wrote: Just a hunch: do you get the same permissions output for the dotfiles as the normal ones? Thanks for the idea. I am not sure what you mean by permissions output but it is same owner and an ls -la gives -rwxr-xr-x 1 frank wheel 27 Apr 29 23:05

Re: [PHP] PHP ignoring dotfiles, permissions

2002-04-29 Thread Frank
You know that dot files are hidden files ? ... Yes, but I think this only is in contexts where directories are scanned by some application respecting this method of hiding - and that they otherwise are normal files when addressed explicitly. However, there seems to be something else about

Re: [PHP] PHP ignoring dotfiles, permissions

2002-04-29 Thread 1LT John W. Holmes
what if you do this? require './.mydotfile.php'; ---John Holmes... - Original Message - From: Frank [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, April 29, 2002 1:59 PM Subject: Re: [PHP] PHP ignoring dotfiles, permissions You know that dot files are hidden files

Re: [PHP] PHP ignoring dotfiles, permissions

2002-04-29 Thread Frank
At 14:55 29/4/2002 -0400, J. Holmes wrote: what if you do this? require './.mydotfile.php'; I tried that! No effect. But... Suddenly it worked! I now think I to some extent might have been fooled by my desktop PC caching information where it shouldn't. I have never seen it before (have set