[PHP] Including file from a registered shutown function on a syntax parse error

2010-01-31 Thread Marc Trudel
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_repl

[PHP] including file hosted by "www.a.com" on "www.b.com"

2002-04-02 Thread Giovanni Lenzi
I'm in trouble with include procedure. I have a file on host http://www.a.com that must be included by the file on the host http://www.b.com The code of the file to be included is as follows: included.php on http://www.a.com The code of the file which must include first file is as follows: mas

Re: [PHP] Including file...

2001-03-10 Thread Yasuo Ohgaki
""Martin Hughes"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I seem to be making a mistake somewhere... > > > # Define the navigation bar array > $navbar = array("navmain", "info", "music", "orch", "synth", "syntype", > "audio", "recordings"); > > # Define

[PHP] Including file...

2001-03-10 Thread Martin Hughes
I seem to be making a mistake somewhere... # Define the navigation bar array $navbar = array("navmain", "info", "music", "orch", "synth", "syntype", "audio", "recordings"); # Define the pages in arrays by section $main = array("home"); $info = array("infomain", "about", "contact", "guestbook");