<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: PHP and AJAX shell console</title>
	<atom:link href="http://www.askapache.com/tools/php-and-ajax-shell-console.html/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.askapache.com/tools/php-and-ajax-shell-console.html</link>
	<description>Web Development</description>
	<pubDate>Sun, 20 Jul 2008 07:22:04 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: Mgccl</title>
		<link>http://www.askapache.com/tools/php-and-ajax-shell-console.html#comment-30331</link>
		<dc:creator>Mgccl</dc:creator>
		<pubDate>Fri, 07 Dec 2007 04:54:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com/tools/php-and-ajax-shell-console.html#comment-30331</guid>
		<description>&lt;a href="http://www.php.net/chdir" rel="nofollow"&gt;chdir()&lt;/a&gt; choses the current working directory. I only used it on windows, don't know what it's like on linux. let's suppose, in PHP, start with checking the current working directory getcwd(), and it returns c:\
I run this command in PHP
&lt;code&gt;cd cool&lt;/code&gt;
which suppose make me go into c:\cool
and then I run
&lt;code&gt;dir&lt;/code&gt;
in a interactive session, it should show all the files inside the c:\cool, but no, instead, it shows everything in c:\
I could insert some code that captures user's command, like cd, then use chdir() to change the current working dir. for example
&lt;code&gt;chdir(&#039;c:\cool&#039;);&lt;/code&gt;
then, run &lt;code&gt;dir&lt;/code&gt; will show everything in c:\cool.</description>
		<content:encoded><![CDATA[<p><a href="http://www.php.net/chdir" rel="nofollow">chdir()</a> choses the current working directory. I only used it on windows, don&#8217;t know what it&#8217;s like on linux. let&#8217;s suppose, in PHP, start with checking the current working directory getcwd(), and it returns c:\<br />
I run this command in PHP<br />
<code>cd cool</code><br />
which suppose make me go into c:\cool<br />
and then I run<br />
<code>dir</code><br />
in a interactive session, it should show all the files inside the c:\cool, but no, instead, it shows everything in c:\<br />
I could insert some code that captures user&#8217;s command, like cd, then use chdir() to change the current working dir. for example<br />
<code>chdir(&#039;c:\cool&#039;);</code><br />
then, run <code>dir</code> will show everything in c:\cool.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mgccl</title>
		<link>http://www.askapache.com/tools/php-and-ajax-shell-console.html#comment-30132</link>
		<dc:creator>Mgccl</dc:creator>
		<pubDate>Mon, 03 Dec 2007 02:10:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com/tools/php-and-ajax-shell-console.html#comment-30132</guid>
		<description>it's possible to extend this script and fix the "can not cd and work in that directory bug" by using the PHP function chdir.</description>
		<content:encoded><![CDATA[<p>it&#8217;s possible to extend this script and fix the &#8220;can not cd and work in that directory bug&#8221; by using the PHP function chdir.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://www.askapache.com/tools/php-and-ajax-shell-console.html#comment-29802</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Thu, 29 Nov 2007 01:05:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com/tools/php-and-ajax-shell-console.html#comment-29802</guid>
		<description>Works great! Too bad it's not interactive, though...</description>
		<content:encoded><![CDATA[<p>Works great! Too bad it&#8217;s not interactive, though&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fugitif</title>
		<link>http://www.askapache.com/tools/php-and-ajax-shell-console.html#comment-29456</link>
		<dc:creator>Fugitif</dc:creator>
		<pubDate>Sat, 24 Nov 2007 20:49:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com/tools/php-and-ajax-shell-console.html#comment-29456</guid>
		<description>that script works very good,but not always !</description>
		<content:encoded><![CDATA[<p>that script works very good,but not always !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AskApache</title>
		<link>http://www.askapache.com/tools/php-and-ajax-shell-console.html#comment-26938</link>
		<dc:creator>AskApache</dc:creator>
		<pubDate>Fri, 02 Nov 2007 03:19:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com/tools/php-and-ajax-shell-console.html#comment-26938</guid>
		<description>@ Jake Jones

If it doesn't work than how do you suppose I got that video showing it working? :)

What kind of error or problem are you getting?</description>
		<content:encoded><![CDATA[<p>@ Jake Jones</p>
<p>If it doesn&#8217;t work than how do you suppose I got that video showing it working? :)</p>
<p>What kind of error or problem are you getting?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
