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

Home » Imported messages » comp.lang.php » Seeking help with relative and absolute paths
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Seeking help with relative and absolute paths [message #180867 is a reply to message #180861] Fri, 22 March 2013 13:33 Go to previous messageGo to previous message
M. Strobel is currently offline  M. Strobel
Messages: 386
Registered: December 2011
Karma:
Senior Member
Am 22.03.2013 09:38, schrieb The Frog:
> Thankyou once again Aho. I was hoping to avoid using sessions as the basis. I was
> thinking more on the lines of a global constant that applies across the entire site.
> Such as making available the logins etc for the backend DB. I don't know if this is
> safe to do in PHP but I am hoping a more knowledgeable person might.
>

Like JS said. You normally have a config file that is included in every script. It
should be outside of document root, or in a subdirectory where the web server has no
access (security).

But of course you have session variables as well, but for a different goal: to record
the data of a particular user session.

/Str.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Fatal error!
Next Topic: Hot list for BA, QA – Analyst, Java Developer, Business Analyst/ Project Coordinator & SAP Business Object Developer
Goto Forum:
  

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

Current Time: Fri Nov 22 20:16:47 GMT 2024

Total time taken to generate the page: 0.24275 seconds