Added character escaping to teacher registration form

20/05/11

Permalink 09:21:49 am, by jamie, 45 words, 212 views   English (CA)
Categories: Activity log; Mins. worked: 10

Added character escaping to teacher registration form

Since submissions with apostrophes were breaking the teacher registration form ( http://www.canadianmysteries.ca/teachers/login/indexen.php ) - for example, "Queen's University" - I added a loop that passes all of the POST variables through mysql_real_escape_string before inserting into the DB.

Pingbacks:

No Pingbacks for this post yet...

Canadian Mysteries

The Canadian Mysteries site consists of a production site containing 12 mysteries, a containing shell and 30 mysteryquests; and a database-driven development site. HCMC took over tech support in summer 08. This blog documents work done on the site from Sept 08. Earlier work is documented in the depts blog in posts prepended with CanMys

Reports

Categories

August 2014
Sun Mon Tue Wed Thu Fri Sat
 << <   > >>
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            

XML Feeds