Access php files outside of root
Posted by: Jose (---.cable.ubr01.mort.blueyonder.co.uk)
Date: September 17, 2007 12:20PM

Hi,

I have a test setup on my laptop under C:\wamp\www\site1\html\ which is the root (virtual host). But I also have a C:\wamp\www\site1\libs\ that contain php libraries. I seem to have a problem having the scripts under \html\ accessing those under \libs\. Any ideas?

Thanks,

Jose


Options: ReplyQuote
Re: Access php files outside of root
Posted by: Jose (---.cable.ubr02.dals.blueyonder.co.uk)
Date: September 18, 2007 06:15PM

anyone?

Options: ReplyQuote
Re: Access php files outside of root
Posted by: CyberSpatium (---.hsd1.or.comcast.net)
Date: September 18, 2007 09:50PM

include ('../libs/_YOUR_PHP_LIBRARY_FILE_HERE_');




CyberSpatium
----------------------
WAMP English Forum Admin

I have WAMP5 working with (for development use only):
Windows Vista Ultimate x64 (64 bit)
Kaspersky Internet Security Suite 7.0.x
Spyware Terminater 2.x
CounterSpy 2.5.x


Need help? Check out my [url=http://forum.wampserver.com/read.php? f=2&i=12300&t=12300][u][b]WAMP User Manual/Guide[/b][/u][/url] here!


[url=http://www.webdevnewbie.com][u][b]Web Development for Newbie's Blog[/b][/u] [/url] - Check out my new blog. It is for web developers, and especially tailored for the web development newbie. If you are not fluent in “geek speak”, then this incredible resource is just you. And even if you are a web development pro, this is a great resource to check out some of the latest web development tips, news, tutorials, codes and more.


[url=http://www.clarifyloans.com][b][u]Clarify Loans[/u][/b][/url]
Mortgage and Home Loan Advice


[url=http://www.laxgo.com][b][u]LaxGo Web Directory[/u][/b][/url]
Powerful human edited web directory of quality, spam-free sites organized via a comprehensive category structure.

Options: ReplyQuote


Sorry, only registered users may post in this forum.