Jump to content

pracasify

New Members
  • Posts

    7
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

pracasify's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. i logged in to cpanel, then clicked on subdomain and then gave new subdomain name.... to get my subdomain!! i am so surprised that same code is running on my next website!! i think that is problem of hosting or something else...!!! when i tried that on my another website, the code was running successfully!!
  2. ya sure.. when i enter domain.com/config.php ~ it works domain.com/sub/ ~ it works (the file is included) but, when i enter sub.domain.com ~ it doesn't works... file is not included
  3. okay friend, anyways, thanks for your interest towards my problem.
  4. the code goes on index.php like this : <?php include("../config.php"); ?> only this much friend, nothing else !!
  5. yup, i tried friend.. but that wasn't working.!!
  6. Friend, when i click on public_html folder the files are listed like this : public_html - config.php - sub (folder) - index.php here, index.php contains; <?php include("../config.php"); ?> Now, when i enter url, sub.domain.com ... i can see the error message that php cannot find the steam file or directory!
  7. Suppose, i have created a sub.domain.com and i want to include a file 'config.php' from root directory i.e domain.com . While i tried include("../config.php"); i wasn't successful. Anyone can help me please?? I need the solution very urgently, so please help me soon. pracasify@yahoo.com facebook.com/agptj
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.