Re: [PHP] Uploading into website directory for Php files
On Sun, February 25, 2007 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! You can't upload to THOSE directories, because everybody on your same Yahoo! machine uses those directories as a shared resource. You hopefully are able to create a NEW directory, next to your "html" directory, and upload there. Then you can change the PHP include path via .htaccess or with set_include_path to have your directory tacked onto the list of directories PHP will search for include. > > -- > 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 > > -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some starving artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Uploading into website directory for Php files
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
[PHP] Uploading into website directory for Php files
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