Jump to content

visualazza

Members
  • Posts

    51
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

visualazza's Achievements

Member

Member (2/5)

0

Reputation

  1. again not from my pc Ive tested with firefox, ie, safari, chrome and opera and nothing is wrong. The large pic is the same as the thumb pic
  2. sorry to say, but from my end, what the thumb picture is is EXACTLY the same as whats being shown on the larger image.
  3. are you saying the images get cut off on some of them. If so are you sure thats not just how they were taken
  4. I was wondering of it was possible to have a file say style.css in the root folder of a site like www.example.com/style.css and then get a subdomain called www.sub.example.com which points to www.example.com/subarea to get that file without the use of absolute paths? Sorry if its not clear.
  5. thanks for your help, it works now. I thought php got the contents of the required file like html does with css and other documents where is gets the contents and acts like that file is in the same folder as the one that is calling it. Guess not Thanks again for all your help
  6. but i dont want to duplicate header.php or functions.php header.php is in the root folder functions.php is in functions folder 1 below root
  7. problem with that is that in area1, functions.php wont be found because the included header has functions/functions.php not ../../functions/functions.php
  8. root functions functions.php areas area1 index.php (this calls header.php 2 levels higher) header.php (this calls function.php) index.php (this calls header.php from same folder)
  9. again its a problem as i need to be able to access the file from another folder lower down
  10. using document_root is a problem my localhost is fine with it but my server is weird and throughs errors saying it cannot find the file
  11. ive made a separate couple of pages and the same thing occurs temp.php <?php require("http://".$_SERVER['HTTP_HOST']."/testfunc.php"); test(); ?> testfunc.php <?php function test() { echo("The function works"); } ?>
  12. but thats the thing, i take it out and it all works as it should so
  13. ok so after doing a few (many many) checks i have found that it is the fact i am using $_SERVER['HTTP_HOST'] in the require (sorry i forgot to put that in the first post) Why is it stopping is from working?
  14. sorry but i cant post the index.php file due to the project being completly secret but other than requiring functions.php and calling notification() its all just design html. The functions.php file is (at the moment) just what i posted before but in <?php ?>
×
×
  • 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.