Jump to content

xubuntu69

New Members
  • Posts

    7
  • Joined

  • Last visited

xubuntu69's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. The content management is irrelavent. Just make a new folder, create a new file in there and try to include the header or footer from the previous folder... it will turn out to be impossible. The server setup that someone mentioned above is also irrelavent. There are no restrictions of any kind like httaccess ... The conclussion is this
  2. I want to accomplish this : there is an addon that i installed www.pokerhaze.com/blog and i want to load this add on with the header and the footer of my website !!!! Thats all !! can we do it ? your new script is not working http://www.pokerhaze.com/blog/az.php it seams so easy and so impossible....
  3. where are the servers logs ? i dont have access to everything, i pay for domain hosting
  4. Ch0cu3ri copy pasted your code it is not even loading.... !!! www.pokerhaze.com/blog/az.php If you think i do something wrong i can provide ftp access so you can see for yourself. But i just copy pasted the code, nothing is wrong.
  5. ok so.... <?php $magictitle = "Blinds Stealing - Poker Lesson School"; require_once('mainfile.php'); $module_name = basename(dirname(__FILE__)); $index = 1; include('header.php'); include('footer.php'); ?> this file is working , have a look www.pokerhaze.com/az.php But his file ... <?php $magictitle = "Blinds Stealing - Poker Lesson School"; require_once('../mainfile.php'); $module_name = basename(dirname(__FILE__)); $index = 1; include('../header.php'); include('../footer.php'); ?> this file is not working , look here www.pokerhaze.com/blog/az.php i had the "errors display" on .. without any errors... could someone explain what is going on and why the file httpdocs/blog/az.php folder cannot read the files from parent folders? I have tested also other folders and other file names, can't do it.
  6. This is not even loading ! There must be a problem with this symbol -> ' I dont think you can use " and also '. <?php include($_SERVER['DOCUMENT_ROOT'] . "/header.php"); ?> The message below include("httpdocs/new_folder/header.php"); this is totally wrong because header.php is not located in the new folder... If someone does not believe me i can provide user/pass to see himself... All these things and many more are simply NOT WORKING.
  7. Hi , i read many articles and tried many things before asking but i came to a dead end. My problem is very simple (or at least i believe so). In the main directory \httpdocs there is this file we call "header.php" and another file we call "article.php". So the code of the article is very simple: <?php include("header.php"); echo "bla bla bla\n"; ?> So far so good. Let's say that we create a new folder \httpdocs\new_folder and inside there we create a new file that we call "new_file.php". So we would simple like to call the header.php from the parent folder BUT IT TURNS TO BE IMPOSSIBLE ! I have tried: include('../header.php'); (in an article of this website says that this work - well IT DOESN'T ! i have tried many other things but i cannot load the header.php from the previous directory ! I wanna tip the person who will find the solution so you better leave a paypal along with the answer !
×
×
  • 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.