Presentation is loading. Please wait.

Presentation is loading. Please wait.

Chapter 9 Using PHP with MySQL Part 2. view_users.php Script 9.4 on page 283 iew_users.php

Similar presentations


Presentation on theme: "Chapter 9 Using PHP with MySQL Part 2. view_users.php Script 9.4 on page 283 iew_users.php"— Presentation transcript:

1 Chapter 9 Using PHP with MySQL Part 2

2 view_users.php Script 9.4 on page 283 http://csweb.hh.nku.edu/csc301/frank/ch09/v iew_users.php http://csweb.hh.nku.edu/csc301/frank/ch09/v iew_users.php ch09\script_09_04\view_users.php

3 Securing SQL 1.Protecting MySQL access information. 2.Not revealing too much about the database. 3.Be cautious with running queries with user supplied data.

4 mysqli_real_escape_string $safe = mysqli_real_escape_string($dbc, ‘data’); http://us1.php.net/manual/en/mysqli.real- escape-string.php http://us1.php.net/manual/en/mysqli.real- escape-string.php

5 register.php Script 9.5 on pages 286-288 http://csweb.hh.nku.edu/csc301/frank/ch09/r egister2.php http://csweb.hh.nku.edu/csc301/frank/ch09/r egister2.php ch09\register.php


Download ppt "Chapter 9 Using PHP with MySQL Part 2. view_users.php Script 9.4 on page 283 iew_users.php"

Similar presentations


Ads by Google