2008/8/24 Alan Gauld <[EMAIL PROTECTED]>:
>
> "Dotan Cohen" <[EMAIL PROTECTED]> wrote
>
>> I think that I will use the open() and read() functions, thanks! I did
>> think of that, but I wanted to know if there was a better wheel
>> invented already.
>
> Another option is to use environment variable
"Dotan Cohen" <[EMAIL PROTECTED]> wrote
I think that I will use the open() and read() functions, thanks! I
did
think of that, but I wanted to know if there was a better wheel
invented already.
Another option is to use environment variables to store them.
These can be set when the server star
2008/8/24 Kent Johnson <[EMAIL PROTECTED]>:
> On Sun, Aug 24, 2008 at 12:08 PM, Dotan Cohen <[EMAIL PROTECTED]> wrote:
>> I have a specific file in the web tree that makes a database call. I
>> am uncomfortable keeping the database username and password in the
>> file. In PHP I usually put the data
On Sun, Aug 24, 2008 at 12:08 PM, Dotan Cohen <[EMAIL PROTECTED]> wrote:
> I have a specific file in the web tree that makes a database call. I
> am uncomfortable keeping the database username and password in the
> file. In PHP I usually put the database connection data in a file
> outside the web
I have a specific file in the web tree that makes a database call. I
am uncomfortable keeping the database username and password in the
file. In PHP I usually put the database connection data in a file
outside the web tree and use the include (http://il.php.net/include/)
function to get the data. I