Thanks for the reply.. As a newbie, I'm not understanding what else I could use,
even after searching the manual and google..
I've tried readfile() instead of file() which returns some, not all, of the
head.o0o code (I assume as a strong instead of an array), but I still get an
error:
Warning: F
file() returns an array, show_source() takes a string.
On Mon, 12 Aug 2002, eriol wrote:
> Thanks for the reply..
>
> I did try what you suggested, but am getting the following warning:
>
> Warning: Failed opening 'ArrayArrayArray' for highlighting in
> /hsphere/local/home/eriol/oo0oo.com/o0o.o0
Thanks for the reply..
I did try what you suggested, but am getting the following warning:
Warning: Failed opening 'ArrayArrayArray' for highlighting in
/hsphere/local/home/eriol/oo0oo.com/o0o.o0o on line 43
(o0o is php)
Line 43 is:
show_source("$show");
I copied everything as written, so I'
You could just append the files into a string, then show the string instead.
Like
if(strlen($php)>0){
$php = $DOCUMENT_ROOT . $php;
if (ereg("(\.php)$",$php) && !ereg("\/\.\.", $php)){
$show=file("head.php");
$show.=file("$php");
$show.=file("foot.php");
echo "\n\n";
4 matches
Mail list logo