Download presentation
Presentation is loading. Please wait.
Published byAnn Johns Modified over 9 years ago
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
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.