want to acess file outside the admin config.php

Discussion in 'Yahoo' started by bujji, Apr 10, 2012.

  1. #1
    In other servers, for directory path, we will use
    $_SERVER['DOCUMENT_ROOT']

    but for this server it is taking just '/' is coming for the yahoo server


    and in admin folder there is index.php file there is code
    <?php include('../config.php');

    this is not working can any one please suggest me how can i write code properly

    Thank you in advance
     
    bujji, Apr 10, 2012 IP
  2. danasurvey

    danasurvey Well-Known Member

    Messages:
    1,975
    Likes Received:
    95
    Best Answers:
    0
    Trophy Points:
    138
    #2
    danasurvey, Apr 10, 2012 IP