RE: Include file path.. please help im newby

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Include path and include() function is different things.

Include path: this is paths where PHP will look for files tried to be
included if it doesn't exist in script directory. If you do
include("afile.php") and afile.php doesn't exist in the same directory as
where your script that is calling the include is. Then it will first look in

.
/include
/usr/lib/php

Take a look here http://www.php.net/include to read more about the include
function in PHP.

Best regards,
Peter Lauri

www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free


-----Original Message-----
From: StainOnRug [mailto:StainOnRug@xxxxxxx] 
Sent: Sunday, February 25, 2007 12:57 AM
To: php-general@xxxxxxxxxxxxx
Subject:  Include file path.. please help im newby


Hello I am a beginner at PHP. I searched for my ? but couldn't pinpoint it..
My question is,  How do I upload include files onto my website include
directory. Im hosted through Yahoo, I am not running a server on my
computer. When I check out my PHP info it tells me the include dir is
include path .:/include:/usr/lib/php.. how do I acess this folder to put
files in it so that I can take advantage of the include functions on my PHP
scripts. Thank you sooo much!
-- 
View this message in context:
http://www.nabble.com/Include-file-path..-please-help-im-newby-tf3285344.htm
l#a9138696
Sent from the PHP - General mailing list archive at Nabble.com.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux