|
Main (PHP)
3rd Party Streams
Resources
Code Snippets
Affiliates
|
|
|
Using magic quotes |
|
2007-10-11 21:08:53, 4443 views, from category Top Level
|
|
magic_quotes is a config setting. If it is on then any quotes entered on a form are escaped. The idea is to avoid placing quotes into database query strings. If they are on the can be easily removed using the stripslashes() function.
For example: if (get_magic_quotes_gpc()) $field = stripslashes($_GET['x']); |
| |
|
|
|
|
|
|
Top Sponsor
Sponsors
Sponsors
Advertisting
Affiliates
|
|