public html directory

Discussion in 'Hosting' started by sphere, Sep 29, 2011.

  1. sphere

    sphere New Member

    I think I know the answer to this but just to be on the safe side I want to confirm it here.

    When you store images outside the public_html directory, then you can NOT display these images like this:

    <img src="../../../not_public_html/images/photo.jpg">

    or like this

    <img src="/home/mydomain/not_public_html/images/photo.jpg">

    Am I right?
  2. mneylon

    mneylon Administrator Staff Member

    You're right

Share This Page