RE: [PHP] require() ???

From: Date: Fri, 16 Feb 2001 19:09:41 +0000
Subject: RE: [PHP] require() ???
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-40206@lists.php.net to get a copy of this message
main script: /home/www/public_html/YL/index.php3 (rw-rw-rw-) root and second script: /home/www/public_html/YL/cls/mysql.cl.php3 (rw-rw-rw-) root First page intranet web-address is http://MyServer/www/YL/index.php3 Thnx || -----Original Message----- || From: Brandon Orther [mailto:brandon@webintellects.com] || Sent: Friday, February 16, 2001 8:30 PM || To: PHP User Group || Subject: RE: [PHP] require() ??? || || || 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 || || || -- || 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 (#40206) next »