Re: Uploading into website directory for Php files

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

 



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


[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