Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Nehurd

    Setting include_path on hosted server

    Per the suggestion, I just added this line to the end of my htaccess file: php_value include_path ".:/home/content/r/m/o/rmosenkis2/html/includes" It crashed my site (gave me an Internal Server Error). Any thoughts?
  2. Nehurd

    Setting include_path on hosted server

    Per the suggestion, I just added this line to the end of my htaccess file: php_value include_path ".:/home/content/r/m/o/rmosenkis2/html/includes" It crashed my site (gave me an Internal Server Error). Any thoughts?
  3. Nehurd

    Setting include_path on hosted server

    I'm still having problems: I have my includes in a folder off the root called "includes" (without the quotes). Here's the script that I added to the top of my file right after <body>: <?php $old_inc_path = ini_get('include_path'); ini_set('include_path', $old_inc_path.':/includes'); ?>...
  4. Nehurd

    Setting include_path on hosted server

    Do I need to include this in every file that has an include? Is there any way to do this globally? (You are right -- I don't think I have access to php.ini, though I do have an .htaccess file that I can modify.
  5. Nehurd

    Setting include_path on hosted server

    Hi, I'm just learning php and am having trouble using includes with files that are not in the current directory. Here's the error message I get: Warning: main(header.html): failed to open stream: No such file or directory in /home/content/r/m/o/rmosenkis/html/layout-top.php on line 16...

Part and Inventory Search

Back
Top