> 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"?
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php