RE: [PHP] require() ???

From: Date: Fri, 16 Feb 2001 18:29:43 +0000
Subject: RE: [PHP] require() ???
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-40197@lists.php.net to get a copy of this message
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 brandon@webintellects.com 800-994-6364 www.webintellects.com -------------------------------------------- -----Original Message----- From: Maamiin [mailto:maamiin@hot.ee] 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: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#40197) next »