[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] PHP include() error...RAQ3 problem?



>Scott, I don't find that to be the case.  I have hundreds of 
>include()
>statements that look like the line below:
>
><? include("../inc/page_header.php"); ?>
>

I think his problem was due to the '#' character in his include. 
Remember that double-quoted strings are interpreted by PHP.
In the same way, such a statement will not just include the file :
include("$toto");
It will replace $toto by the variable's value (if there is one, "" 
else), and try to open it.
If it works with single-quote, then the problem comes from something 
being interpreted while you're not waiting for that.

Fabrice Prémel.