Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #8803

Re: Seeking help with relative and absolute paths

From "M. Strobel" <sorry_no_mail_here@nowhere.dee>
Newsgroups comp.lang.php
Subject Re: Seeking help with relative and absolute paths
Date 2013-03-22 14:33 +0100
Message-ID <ar34tkFnvc4U1@mid.uni-berlin.de> (permalink)
References (1 earlier) <kic3uc$ifg$1@dont-email.me> <aqucd5Fmfi7U1@mid.individual.net> <3a0aadc7-316f-46de-bb15-0347af57810d@googlegroups.com> <ar2ehrFj4ofU1@mid.individual.net> <almarsoft.5048600478234984455@news.aioe.org>

Show all headers | View raw


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.

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Seeking help with relative and absolute paths The Frog <mr.frog.to.you@googlemail.com> - 2013-03-19 21:45 -0700
  Re: Seeking help with relative and absolute paths "J.O. Aho" <user@example.net> - 2013-03-20 06:45 +0100
  Re: Seeking help with relative and absolute paths Jerry Stuckle <jstucklex@attglobal.net> - 2013-03-20 06:46 -0400
    Re: Seeking help with relative and absolute paths "J.O. Aho" <user@example.net> - 2013-03-20 19:10 +0100
      Re: Seeking help with relative and absolute paths The Frog <mr.frog.to.you@googlemail.com> - 2013-03-21 21:24 -0700
        Re: Seeking help with relative and absolute paths "J.O. Aho" <user@example.net> - 2013-03-22 08:11 +0100
          Re: Seeking help with relative and absolute paths The Frog <Mr.frog.to.you@googlemail.com> - 2013-03-22 19:38 +1100
            Re: Seeking help with relative and absolute paths Jerry Stuckle <jstucklex@attglobal.net> - 2013-03-22 09:01 -0400
            Re: Seeking help with relative and absolute paths "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2013-03-22 14:33 +0100
          Re: Seeking help with relative and absolute paths Scott Johnson <noonehome@chalupasworld.com> - 2013-03-22 06:12 -0700
            Re: Seeking help with relative and absolute paths The Frog <Mr.frog.to.you@googlemail.com> - 2013-03-23 23:57 +1100
              Re: Seeking help with relative and absolute paths Scott Johnson <noonehome@chalupasworld.com> - 2013-03-23 07:25 -0700
                Re: Seeking help with relative and absolute paths "J.O. Aho" <user@example.net> - 2013-03-23 16:24 +0100
                Re: Seeking help with relative and absolute paths The Frog <Mr.frog.to.you@googlemail.com> - 2013-03-24 15:09 +1100
                Re: Seeking help with relative and absolute paths Scott Johnson <noonehome@chalupasworld.com> - 2013-03-24 07:27 -0700
                Re: Seeking help with relative and absolute paths Jerry Stuckle <jstucklex@attglobal.net> - 2013-03-24 12:24 -0400

csiph-web