Hello,

Can you give me the full path to where the php script is and the full path
to where the script is you want require('');

I use this all the time and should be able to figure it out.

Thank you,

--------------------------------------------
Brandon Orther
WebIntellects Design/Development Manager
[EMAIL PROTECTED]
800-994-6364
www.webintellects.com
--------------------------------------------

-----Original Message-----
From: Maamiin [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 16, 2001 9:38 AM
To: PHP General Newslist
Subject: [PHP] require() ???


How can I use this function to load files from subfolders?
when i try this on apache (Linux+PHP3)

require('cls/mysql.cl.php3');

from log I can read then:

[error] PHP3 Fatal error: Failed opening required 'cls/mysql.cl.php3' in
'index.php3' on line 6

I already tried full-path, but nothing! Only when i copied file in to same
folder, then it works! But I dont want do this!

Any other ideas are welcome!


R.K.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to