Re: problem with include
| From: | John Wards | Date: | Fri, 30 Aug 2002 11:18:23 +0000 |
| Subject: | Re: problem with include | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-114637@lists.php.net to get a copy of this message | ||
hmm....beyond my scope.......but I did the following to test
<?//file one.php
echo"one";
include ("two.php");
?>
<?//file two.php
echo"two";
include ("three.php");
?>
<?//file three.php
echo"three";
?>
And it echoed "onetwothree"
must be some setting on your system but what I don't knwo
John
----- Original Message -----
From: "skitum" <skitum@hotmail.com>
To: <php-general@lists.php.net>
Sent: Friday, August 30, 2002 12:06 PM
Subject: Re: [PHP] problem with include
> The same problem with require
>
> ----- Original Message -----
> From: "John Wards" <j.wards@sportnetwork.net>
> To: "skitum" <skitum@hotmail.com>
> Cc: <php-general@lists.php.net>
> Sent: Friday, August 30, 2002 1:02 PM
> Subject: Re: [PHP] problem with include
>
>
> > hmm.....
> >
> > It should have nothing to do with cookies unless you are using cookies
in
> > the scripts.
> >
> > Try using require rather than include to see if that makes any
difference
> >
> > Cheers
> > John Wards
> > SportNetwork.net
> > p.s. your english is as good as mine and i am scottish......
> > ----- Original Message -----
> > From: "skitum" <skitum@hotmail.com>
> > To: <php-general@lists.php.net>
> > Sent: Friday, August 30, 2002 11:53 AM
> > Subject: [PHP] problem with include
> >
> >
> > Hi all,
> >
> > Look at this code:
> >
> > // one.php
> > <? include("two.php"); ?>
> > --- html code ---
> > // end file one.php
> >
> > // two.php
> > <? include("three.php"); ?>
> > --- html code ---
> > //end two.php
> >
> > well, when I see in my browser www.myweb.com/two.php this shows two.php
> plus
> > the include file in it "three.php", so this works ok, but when i see in
my
> > browser (IE 6.0) www.myweb.com/one.php this shows one.php plus two.php,
> but
> > not three.php that is include into two.php
> >
> > What am I doing wrong?
> > Could be this because of cookies?
> >
> > Thanks for help
> > Peace & Love
> > skitum
> >
> > P.S. Forgive my bad english.
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php