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

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder2.hal-mli.net!feeder.erje.net!eu.feeder.erje.net!news-1.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!not-for-mail
From "M. Strobel" <sorry_no_mail_here@nowhere.dee>
Newsgroups comp.lang.php
Subject Re: Seeking help with relative and absolute paths
Date Fri, 22 Mar 2013 14:33:40 +0100
Lines 16
Message-ID <ar34tkFnvc4U1@mid.uni-berlin.de> (permalink)
References <d6258610-56e6-423d-82f7-5ab3b3f88eee@googlegroups.com> <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>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 7bit
X-Trace news.uni-berlin.de 9KqYNRv1NTMBqDCPC3TlfwaFeIasYRLD2p+lVQP44Bd8BwXZo=
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130307 Thunderbird/17.0.4
In-Reply-To <almarsoft.5048600478234984455@news.aioe.org>
Xref csiph.com comp.lang.php:8803

Show key headers only | 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