RE: [PHP] require('asdf')

From: Date: Fri, 16 Feb 2001 03:19:46 +0000
Subject: RE: [PHP] require('asdf')
Groups: php.general 
Request: Send a blank email to php-general+get-40081@lists.php.net to get a copy of this message
Use require("$DOCUMENT_ROOT/includes/folder/file.inc") from any place on you website... in other words you need to use the full path to the file. Cheers, Maxim Maletsky -----Original Message----- From: Brandon Orther [mailto:brandon@webintellects.com] Sent: Thursday, February 15, 2001 3:05 AM To: PHP User Group Subject: [PHP] require('asdf') Hello, I am using the require() function to open up the head of my pages. In the head.php file it requires something relative to its path. What I want to do is be able to require('head.php') without having to copy all the files head.php requires into the folder of the script using this head.php file. I hope you can understand that thanXor Thank you, -------------------------------------------- Brandon Orther WebIntellects Design/Development Manager brandon@webintellects.com 800-994-6364 www.webintellects.com -------------------------------------------- -- 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 (#40081) next »