Search found 4 matches

by streambuffer
Sun Jun 14, 2009 1:58 pm
Forum: PHP - Code
Topic: Reading and displaying Radio Button values from a Database.
Replies: 0
Views: 74

Reading and displaying Radio Button values from a Database.

Here's what needs to be done. It involves a PHP page getting data from an SQL database and then posting it back to the database to be viewed by the administrator. There's an SQL DB with this table that contains the following fields: ( few rows filled with sample data) CourseName...|....CourseID .......
by streambuffer
Tue Jun 09, 2009 10:19 pm
Forum: PHP - Security
Topic: Database password security using mysql_connect
Replies: 6
Views: 1701

Re: Database password security using mysql_connect

Hmm....what kind of security hole could there be? I'm considering Paul's advice above and putting the connection data in another folder. Would it help if I made that folder 'secure'? I'm not sure how though. What if I put a .htaccess file in there with some login/password in it? But in that case, th...
by streambuffer
Tue Jun 09, 2009 9:43 am
Forum: PHP - Security
Topic: Database password security using mysql_connect
Replies: 6
Views: 1701

Re: Database password security using mysql_connect

blimey! That was good.
Thanks Paul :D
by streambuffer
Tue Jun 09, 2009 7:45 am
Forum: PHP - Security
Topic: Database password security using mysql_connect
Replies: 6
Views: 1701

Database password security using mysql_connect

Hello, I'm quite new to PHP and have a basic idea of SQL...creating/modifying tables etc. Here's what i'd like to know. I have two pages - search.html and search.php. I also have an SQL database on which I want to perform searches using the textfield and submit button on the search.html page. Now, y...