Path syntax

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Thomas Mlynarczyk

    Path syntax

    Hello,

    I know that a dot (".") stands for the current directory, two dots ("..")
    stand for the parent directory, but could someone please explain to me what
    ".:" stands for?

    Thanks for your help,
    Thomas



  • Janwillem Borleffs

    #2
    Re: Path syntax

    Thomas Mlynarczyk wrote:[color=blue]
    > I know that a dot (".") stands for the current directory, two dots
    > ("..") stand for the parent directory, but could someone please
    > explain to me what ".:" stands for?
    >[/color]

    That's a seperator used in the php.ini file for, per example, the
    include_path directive.


    JW



    Comment

    • Thomas Mlynarczyk

      #3
      Re: Path syntax

      Also sprach Janwillem Borleffs:
      [color=blue][color=green]
      >> explain to me what ".:" stands for?[/color]
      >
      > That's a seperator used in the php.ini file for, per example, the
      > include_path directive.[/color]

      I always thought ";" was the separator, not ":"?



      Comment

      • Andy Hassall

        #4
        Re: Path syntax

        On Sat, 3 Jul 2004 11:14:03 +0200, "Thomas Mlynarczyk"
        <blue_elephant5 5@hotmail.com> wrote:
        [color=blue]
        >Also sprach Janwillem Borleffs:
        >[color=green][color=darkred]
        >>> explain to me what ".:" stands for?[/color]
        >>
        >> That's a seperator used in the php.ini file for, per example, the
        >> include_path directive.[/color]
        >
        >I always thought ";" was the separator, not ":"?[/color]

        Operating system dependent. On UNIX it's :, but on Windows : is used in drive
        specifications ("C:\whereve r") and would be ambiguous, so ; is used.

        --
        Andy Hassall <andy@andyh.co. uk> / Space: disk usage analysis tool
        http://www.andyh.co.uk / http://www.andyhsoftware.co.uk/space

        Comment

        • Thomas Mlynarczyk

          #5
          Re: Path syntax

          Also sprach Andy Hassall:
          [color=blue][color=green]
          >> I always thought ";" was the separator, not ":"?[/color]
          >
          > Operating system dependent. On UNIX it's :, but on Windows : is used
          > in drive specifications ("C:\whereve r") and would be ambiguous, so ;
          > is used.[/color]

          Does it mean I must use either ";" or ":" depending on the OS PHP is running
          under?


          Comment

          Working...