Posted by Alvaro G. Vicario on 12/06/05 20:58
*** Jim escribió/wrote (5 Dec 2005 17:35:43 -0800):
> Is there a way to issue an include that will work on both Linux and XP
> under the more recent versions of PHP?
Since directories do differ, you must either use relative paths or use
variables. Check $_SERVER['DOCUMENT_ROOT']. Also, dirname(__FILE__) may be
helpful.
--
-+ Álvaro G. Vicario - Burgos, Spain
++ http://bits.demogracia.com es mi sitio para programadores web
+- http://www.demogracia.com es mi web de humor libre de cloro
--
[Back to original message]
|