How do I hide my mySQL login info in my php script?

QuestionsHow do I hide my mySQL login info in my php script?
sethbeckerman5 Staff asked 15 years ago

I have a great php mySQL login script that works fine. Is ther another way to provide all my access info without revealing it in the script? Right now I show all my security access info which I think is not safe.

Can I hide this?

Here is what I'm referring to:


View on Stack Overflow