How to secure my login data to my database?


Posted on 16th Feb 2014 07:03 pm by admin

Hi there,

It may be a stupid question but I don't know how to secure my login data to my database. I have created an include file in order not to have these data in the code of my pages, but I don't how to secure that include file when I put my website live.

Anyone can help me on that?

Thanks

No comments posted yet

Your Answer:

Login to answer
122 Like 50 Dislike
Previous forums Next forums
Other forums

Send inserts to mysql thru port 80
Hi!

I have an application that must do some inserts in a mysql db. This db is behind a firewa

Getting the full city list from maxminds geoip database
I am suprised I can't find any references to this.

I have maxminds geoip lite installed and i

Reduce redundancies in switch functions?
Hello all! I somewhat new to PHP, and was wondering if anyone could give some suggestions on a swit

Performance impact of cookies
Hi, I was just wondering what impact there would be in terms of performance if you where to set then

Output Full URL of Current Page
Let's say I am currently viewing a dynamic page:

http://www.mydomain.com/directory/index.php

Simultaneous select/update/insert
Hi

How would I need to go about when 2 users update a single row simultaneous? And how would

please help me in this update statment
hi every one

if I have table and this data in it

id name
10

Small problem with image resize script
Hi!

I am a little bit new to php and I have an issue installing an image resize script I down

How to assign a textbox value to PHP variable??
Hi ! Can any one help me out as quickly as possible. As I m new to PHP.
Plz tell me how to assign

Problem writing URL into database
How would I write this into the database?

<?php echo "http://".$_SERVER['SER

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash