Re: Uploading into website directory for Php files
| From: | Richard Lynch | Date: | Tue, 27 Feb 2007 23:20:27 +0000 |
| Subject: | Re: Uploading into website directory for Php files | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-249539@lists.php.net to get a copy of this message | ||
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?