Re: Don't Know how to Set the include Path

From: Date: Wed, 20 Feb 2002 17:47:00 +0000
Subject: Re: Don't Know how to Set the include Path
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-85563@lists.php.net to get a copy of this message
Dear Jack, > I had create a file called "contant.inc". > What i want to do is to use the require function() to point to this file, > but when i test it, it says: > > "Warning: Failed opening 'constant.inc' for inclusion > (include_path='') in > C:\InetPub\wwwroot\php study\General News\news.php on line 17" > > Then, i go to PHP.ini from C:\winnt and find the row which got the > "include_path=". What i did is i had type in the path like this format below > : > > include_path = "c:\inetpub\wwwroot\php study" ; UNIX: > "/path1:/path2" Windows: "\path2" > > actually i just type the "c:\inetpub\wwwroot\php study" > but not the > ;UNIX: '/path1:/path2" Windows:: "\path2", that is there by default. > > Then i test again from my web, it remains the same error!! > > So could someone pls tell me how i should set the include_path, would be > great if you could provide EXAMPLES! Spelling difference: "contant.inc" and "constant.inc"? =dn

« previous php.general (#85563) next »