On Fri, 10 Dec 1999, Erle Pereira wrote:
> more 2pc....
>
> Also check this...
> I had saved it as a text file ( no extension )... now the problem was that
> if anyone pointed their browser to the server... giving the wrong name of
> the site.... the responded by giving a listing of the files
>
> now of these files ... those with .php3/.phtml are exec. by the server....
> so a person could not read these files but they would get access to the
> other files (clicking them would show contents )..
> so Be sure to name your file which you use as your variable file as a php3 /
> phtml file.
I think you could solve this problem by naming the file with a leading
dot eg: .phppasswd or something. The server is generally configured to
ignore files that start with a single dot followed by other characters.
Thus it still displays . and .. but not other files starting with .
Philip
To subscribe / unsubscribe goto the site www.ilug-bom.org ., click on the mailing list
button and fill the appropriate information
and submit. For any other queries contact the ML maintener