I think you want the opposite... you want magic quotes gpc turned 'off', so you would want to add <?php ini_set('magic_quotes_gpc','off'); ?> to line 1 in the pages.
Even better would be to disable it in the php.ini file.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.