Thanks for your response
----- Original Message -----
From: "Jacob Cohen" <cohen@r...>
To: "beginning php" <beginning_php@p...>
Sent: Tuesday, October 08, 2002 6:14 PM
Subject: [beginning_php] Re: NICK: using the require function
> On 10/8/2002, <jorge@d...> wrote:
> > Nick :
> > If he is concatenating he need to escape the ""
> > other wise "wont work"
> > whats the point in writing more code and more confusing
> > is a lot easier
> > just staight or $DOCUMENT_ROOT/$mypath
> > an he can change that var as he likes keeping his code cleaner
> > and Nick thanks for the insult
> > Regards
> > Jorge Cordero
> A) No, he doesn't need to escape any quotes. His problem is that
> $DOCUMENT_ROOT is not set.
> B) This will cause him to have the same problem if he uses the code
> you suggested.
> C) Nick wasn't insulting you, he was explaining what the . operator
> does, since from your post it appeared you didn't know. You were
> doubting the validity of code that used it in a perfectly legitimate
> Original poster: your $DOCUMENT_ROOT variable is probably not set..
> you might want to try $_SERVER['DOCUMENT_ROOT'] instead, if you are
> using PHP 4.1 or greater, since register_globals is now off.
> Jake mailto:cohen@r...