Root Folder Problem

Discussion in 'Programming' started by khan11, Sep 10, 2007.

  1. #1
    Hi guys!


    I used $menu variable as my root folder variable.

    On my pc i set it to "http://localhost/sitename/".

    But when i launched it on website and changed it to "../" , "../sitename/" and "public_html/sitename/" it doesn't work. It works fine if i put domain name, but by putting domain name it will only show all the pages in http://mysite.com or http://www.mysite.com, what i want is any other solution i can put for $menu to make it work?

    If some files work with "../" then include() has problem, it doesn't work..
     
    khan11, Sep 10, 2007 IP