relative path / absolute path

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jerry Stuckle

    #16
    Re: relative path / absolute path

    Jerry M. Gartner wrote:[color=blue]
    > I understand that this is a php group. Thus the post. The question is
    > relevant to php as I am writing a rather ugly php application - the post
    > from Jan was just what I was looking for. I appreciate everyone's input.
    >[/color]

    So, what's your PHP question? The only one you asked was about the <img> tag -
    which is HTML, not PHP.

    --
    =============== ===
    Remove the "x" from my email address
    Jerry Stuckle
    JDS Computer Training Corp.
    jstucklex@attgl obal.net
    =============== ===

    Comment

    • R. Rajesh Jeba Anbiah

      #17
      Re: relative path / absolute path

      Jerry Stuckle wrote:
      <snip>[color=blue][color=green]
      > > Glad to see professor after long time; hope economy is fine
      > > there. I don't understand what sort of problem are you facing. But, in
      > > HTML instead of using <img src="/images/..." />, if you use <img
      > > src="images/..." /> you'll be better off.[/color]
      >
      > Doesn't validate in HTML 4.01 (strict or transitional).[/color]

      So, instead of "images/..", if we use "/images/.." will it
      validate?

      --
      <?php echo 'Just another PHP saint'; ?>
      Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/

      Comment

      • Jerry Stuckle

        #18
        Re: relative path / absolute path

        R. Rajesh Jeba Anbiah wrote:[color=blue]
        > Jerry Stuckle wrote:
        > <snip>
        >[color=green][color=darkred]
        >>> Glad to see professor after long time; hope economy is fine
        >>>there. I don't understand what sort of problem are you facing. But, in
        >>>HTML instead of using <img src="/images/..." />, if you use <img
        >>>src="image s/..." /> you'll be better off.[/color]
        >>
        >>Doesn't validate in HTML 4.01 (strict or transitional).[/color]
        >
        >
        > So, instead of "images/..", if we use "/images/.." will it
        > validate?
        >
        > --
        > <?php echo 'Just another PHP saint'; ?>
        > Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/
        >[/color]

        The problem is:

        <img src="images/..." />
        ^

        This is valid for xml but not html.

        --
        =============== ===
        Remove the "x" from my email address
        Jerry Stuckle
        JDS Computer Training Corp.
        jstucklex@attgl obal.net
        =============== ===

        Comment

        • R. Rajesh Jeba Anbiah

          #19
          |OT| Re: relative path / absolute path

          Jerry Stuckle wrote:[color=blue]
          > R. Rajesh Jeba Anbiah wrote:[/color]
          <snip>[color=blue][color=green][color=darkred]
          > >>> Glad to see professor after long time; hope economy is fine
          > >>>there. I don't understand what sort of problem are you facing. But, in
          > >>>HTML instead of using <img src="/images/..." />, if you use <img
          > >>>src="image s/..." /> you'll be better off.
          > >>
          > >>Doesn't validate in HTML 4.01 (strict or transitional).[/color]
          > >
          > > So, instead of "images/..", if we use "/images/.." will it
          > > validate?[/color]
          >
          > The problem is:
          >
          > <img src="images/..." />
          > ^
          >
          > This is valid for xml but not html.[/color]

          LOL.

          --
          <?php echo 'Just another PHP saint'; ?>
          Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/

          Comment

          • Jerry Stuckle

            #20
            Re: |OT| Re: relative path / absolute path

            R. Rajesh Jeba Anbiah wrote:[color=blue]
            > Jerry Stuckle wrote:
            >[color=green]
            >>R. Rajesh Jeba Anbiah wrote:[/color]
            >
            > <snip>
            >[color=green][color=darkred]
            >>>>> Glad to see professor after long time; hope economy is fine
            >>>>>there. I don't understand what sort of problem are you facing. But, in
            >>>>>HTML instead of using <img src="/images/..." />, if you use <img
            >>>>>src="image s/..." /> you'll be better off.
            >>>>
            >>>>Doesn't validate in HTML 4.01 (strict or transitional).
            >>>
            >>> So, instead of "images/..", if we use "/images/.." will it
            >>>validate?[/color]
            >>
            >>The problem is:
            >>
            >> <img src="images/..." />
            >> ^
            >>
            >>This is valid for xml but not html.[/color]
            >
            >
            > LOL.
            >
            > --
            > <?php echo 'Just another PHP saint'; ?>
            > Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/
            >[/color]

            Try running it through an HTML validator. Or show me exactly where in the HTML
            specs it says this is valid.

            You can't - because it's not valid.

            --
            =============== ===
            Remove the "x" from my email address
            Jerry Stuckle
            JDS Computer Training Corp.
            jstucklex@attgl obal.net
            =============== ===

            Comment

            Working...