no database selected error for fckeditor in php Programming Web Development by veerpavan … yourditor.php <?php //This section should deal with the MagicQuotes and slashes function nukeMagicQuotes() { if (get_magic_quotes_gpc()) { function stripslashes_deep($value) { $value… Excel output and form refresh Programming Web Development by brothaofdes … code: (index.php) [code] <?php include_once $_SERVER['DOCUMENT_ROOT'] . '\inc\magicquotes.inc.php'; include_once $_SERVER['DOCUMENT_ROOT'] . '/inc/base.inc.php'; include_once… Re: Excel output and form refresh Programming Web Development by jkon What is \inc\magicquotes.inc.php and /inc/base.inc.php and /admin/export/excel-xml.php and /inc/standardFunctions.inc.php . Simplify your problem and the include files and you might get an answer Re: Public functions Programming Web Development by everton.retweets …() { if ( get_magic_quotes_gpc() ) { if ( !defined('MAGICQUOTES') ) define ('MAGICQUOTES', TRUE); } else { if ( !defined('MAGICQUOTES') ) define ('MAGICQUOTES', FALSE); } } //----------------------------------------------------------------------------- /** * CHECKS FOR AN INTEGER… Re: what exactly does this do? Programming Web Development by leelee [url]http://uk2.php.net/manual/en/security.magicquotes.php[/url] Magic. Re: want to know if you can hack/test my simple CMS... appreciate any feedback! Programming Web Development by websurfer … and stuff..(I do see html entities as well as magicquotes stripped, etc in the validation). I think it's been… Re: Can't update records! Programming Web Development by cwarn23 … die(mysql_error()); } elseif($mode=="update") { //use stripslashes if magicquotes are on. $MachineNo=stripslashes($_POST["MachineNo"]); $MnfgDate=stripslashes… Re: Simple PHP Regex Question! Programming Web Development by ShawnCplus The place to start debugging is by echoing the variable to see if it is what you think it is. You may have magicquotes turned on and O'Reilly is actually O\'Reilly Re: Simple PHP Regex Question! Programming Web Development by ShawnCplus Well you could turn magic quotes off [url]http://php.net/magicquotes[/url] or you can use the stripslashes function Re: Database forms- How to protect with magic quotes Programming Web Development by veedeoo Hi, If your VPS have the latest PHP version on it, this is probably not necessary. Learning it to go backwards is not a good idea, because magic_quotes has been [deprecated](http://php.net/manual/en/security.magicquotes.php).. Re: Magic Quotes GPC Programming Web Development by Squidge have you tried running it? i think magic quotes is now removed from PHP ( think i read it somewhere): just checked : http://php.net/manual/en/security.magicquotes.php removed since 5.4. Re: PHP file_put_contents and Control Characters Programming Web Development by pritaeas My guess is [magic quotes](http://php.net/manual/en/security.magicquotes.php). Re: Update query not working with or without PDO Programming Web Development by davies.alex1 … information on magic quotes: // http://php.net/manual/en/security.magicquotes.php if(function_exists('get_magic_quotes_gpc') && get_magic_quotes_gpc()) { function undo_magic_quotes_gpc(&…