FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Include gives warning
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Include gives warning [message #184307 is a reply to message #184306] Sat, 21 December 2013 22:09 Go to previous messageGo to previous message
Beauregard T. Shagnas is currently offline  Beauregard T. Shagnas
Messages: 154
Registered: September 2010
Karma:
Senior Member
richard the sto0pid wrote:

> I have experimented with this.

Not very much, apparently.

> On MY server, as long as the include page is in the same directory, then
> include "filename.php" works.

Sure.

> While an absolute path MUST be used if the called file is not in the
> same directory.

Not true at all. I use the following method all the time, utilizing my
"include" directory:

include "../include/filename.php";

> Nice to see you got bashed for being so intelligent.

Pity that you will never have as much.

--
-bts
-This space for rent, but the price is high
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: when incuding a page
Next Topic: php double form submit prevent
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 22 04:16:38 GMT 2024

Total time taken to generate the page: 0.03748 seconds