Referencing a file in a parent directory

Posted by Yaw Reuben on Stack Overflow See other posts from Stack Overflow or by Yaw Reuben
Published on 2010-05-29T12:58:39Z Indexed on 2010/05/29 13:02 UTC
Read the original article Hit count: 233

Filed under:
  • Is this the right way to go about referencing a file in a parent directory relative to a php source file?:

    require_once('../referenced_file.php');

    I don't seem to have any effect doing the above.

© Stack Overflow or respective owner

Related posts about php