<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>These things are far too hard &#187; getcwd()</title>
	<atom:link href="http://leadingedgescripts.co.uk/tag/getcwd/feed/" rel="self" type="application/rss+xml" />
	<link>http://leadingedgescripts.co.uk</link>
	<description></description>
	<lastBuildDate>Thu, 24 Feb 2011 13:05:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Find the Full Path To A Virtual Host Directory</title>
		<link>http://leadingedgescripts.co.uk/server-administration/find-the-full-path-to-a-virtual-host-directory/</link>
		<comments>http://leadingedgescripts.co.uk/server-administration/find-the-full-path-to-a-virtual-host-directory/#comments</comments>
		<pubDate>Tue, 04 Nov 2008 09:17:53 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Server Administration]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[getcwd()]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.leadingedgescripts.co.uk/?p=167</guid>
		<description><![CDATA[This is a quick one, but hopefully some people will find it useful! This simple script normally returns the full Linux path to your files, e.g. /var/www/vhosts/leadingedgescripts.co.uk/httpdocs/ Simply create a PHP file with the following contents: &#60;?php echo getcwd(); ?&#62; Copy it to your PHP enabled server (using FTP/SFTP etc) and visit it in your [...]]]></description>
			<content:encoded><![CDATA[<p>This is a quick one, but hopefully some people will find it useful!</p>
<p>This simple script normally returns the full Linux path to your files, e.g.</p>
<p style="padding-left: 30px;">/var/www/vhosts/leadingedgescripts.co.uk/httpdocs/</p>
<p>Simply create a PHP file with the following contents:</p>
<p style="padding-left: 30px;">&lt;?php</p>
<p style="padding-left: 30px;">echo getcwd();</p>
<p style="padding-left: 30px;">?&gt;</p>
<p>Copy it to your PHP enabled server (using FTP/SFTP etc) and visit it in your web browser.</p>
<p>This tidbit of information can be very useful when configuring a website on a new server.</p>
]]></content:encoded>
			<wfw:commentRss>http://leadingedgescripts.co.uk/server-administration/find-the-full-path-to-a-virtual-host-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

