Posts Tagged ‘magic_quotes_gpc’

PHP 5.3 and PHP6 will discontinue the use of magic_quotes for security reasons, and this means that your website may, or already have, break if you still rely on magic_quotes_gpc. Below is some code that will give you the same functionality as magic_quotes_gpc: < ?php function clear_magic_quotes() { if (get_magic_quotes_gpc()) { /* All these global [...]

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • De.lirio.us
  • email
  • Furl
  • laaik.it
  • LinkedIn
  • MySpace
  • Slashdot
  • StumbleUpon
  • Technorati
  • YahooMyWeb
  • Print
  • TwitThis
Sunday, October 11th, 2009 at 22:06 0 comments