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

122 Like 50 Dislike
Previous php-forum Next php-forum
Other php-forum

How do i do multi uploads?.
Hey i would like to do this : http://hosting.mrkrabz.net/

I've got the base down you can uplo

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result
what is wrong with this

Code: [Select]<?php
if ($_SERVER['HTTP_REFERER'])
{

Inserting the current date/time while submitting the forum
What do I need to add below to update the current date/time? I have a field in the database called d

Shuffle Array
Hi,

I am writing a script for a game that needs players to randomly be assigned a target (ano

Not Loading Function Into Div
I'm not sure whether to put this under the php forum or ajax forum but because I tink it's more of a

PHP If Else statement for breadcrumb
Hi

I am trying to use a PHP if else statement to display a breadcrumb link on wordpress

why preg_match_all does not return the number of matches
My regex looks like

X[^x{4e00}-x{9fa5}]*Y

(where X and Y are two Chinese characters)

Delete HTML file after loading
I have limited experience with php and its been a year or two since I've last used it. I have a sma

ereg_replace issue
hi there people

i have this code happening with regards to my wamp server. is this something

First root of a number
Hi,

I can't find any function in php to give me the first root of a number.
Is there any

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