more 2pc....

There is another thing U could do....
I don't quite remember.... but when I was programming in php3.. I had the
very same problem.

We stored the variables / password. etc in another file (non world readable)
(... as suggested.....)

But since U are programming in PHP3.... there are file system commands which
can read files stored on server .

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.

(as far I remember.....  I think it was as simple as  ...)

# include "passwords.php3"  ; this was at the begining of the php3 script.

( now the variables can be accesesd by simply giving the variable names )

hope this is of some use to you,
Erle Pereira.




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

Reply via email to