Re: Uploading into website directory for Php files

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

 



On Feb 25, 2007, at 11:30 AM, StainOnRug wrote:


Hello again.. I recently posted a question about include files.. I appreciate the responses I received but my question wasn’t answered.. its my fault I didn’t explain myself 100%.. I know how to use the include files.. What I am trying to figure out is. How do I upload the include files into my Include
folder. I cant make the path myself because I don’t have access to the
config file. I have my website on yahoo web hosting. So how do I physically upload the file into that include folder which is .:/include:/usr/ lib/php residing on my website. I don’t have ftp access to the folder. I cant view the fold on my ftp program to upload the file.. do I upload it through php script? Can I change the path to a folder on my website?? Thank you soo
much everyone!

--
View this message in context: http://www.nabble.com/Uploading-into- website-directory-for-Php-files-tf3288031.html#a9145868
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


While I will preface this with 'You should ask Yahoo...', I know what a pain it can be to get 'real' answers to your questions from them.

The include directories listed in phpinfo() are for the larger php process (I'm assuming). As far as I know you don't have access to anything but what's in your web root. I'm not sure if they are chrooting something or if it's one of the base_dir things, but your web root is your root so you don't have access to /usr or anything else on the servers file system.

So do like I do and put the include files in an 'includes' directory and through the control panel make that directory private. No one will be able to surf to the directory without a password, but php can reach it fine.
--
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