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 Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

php require("anyfile.ext") problem

Status
Not open for further replies.

samansk

Technical User
Joined
Dec 7, 2000
Messages
44
I have use require("header.inc") and it work fine in my script.
But when I use the same require(..) in other directory it show error I copy this header file to the same directory with script
but it still error (Error message ..include_path='usr/local/lib/php...) . In my header file for script not refer to any other file or any path. How to solve this.? Why in other directory it work properly?
 
What is the path to your script? What is the path to "header.inc"? What is the value of "include_path" in your php.ini?
Hardy Merrill
Mission Critical Linux, Inc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top