From: Marc Trudel on 31 Jan 2010 20:38 Greetings, If I register a shutdown function in PHP (to catch syntax parse errors and send them in logs), it looks like I can open files, but I cannot do includes - that is, if the reason of exit is a syntax parse error. Is this a desired effect? It seems a tad odd that I could do eval(preg_replace("#^<\?[php]?#", "", file_get_contents($file))); but not include($file); -- Marc Trudel-BĂ©lisle www.wizcorp.jp
|
Pages: 1 Prev: Storing time in mysql prior to 1970 Next: magic_quotes_gpc on by default?? |