<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1031493" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1031493</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/unix#comment-1184372</link>
    <description> &lt;p&gt;See if it&#039;s a problem with the &amp;gt; by just doing what Greg said above or just doing&lt;br /&gt;
&lt;strong&gt;system(&quot;echo &#039;Hello&#039; &amp;gt; hello.txt&quot;);&lt;/strong&gt;&lt;/p&gt;
 </description>
     <pubDate>Wed, 02 Nov 2005 20:30:36 +0000</pubDate>
 <dc:creator>02bunced</dc:creator>
 <guid isPermaLink="false">comment 1184372 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/unix#comment-1184370</link>
    <description> &lt;p&gt;Are you wanting the results you indicate in your example? if so, all you are doing is copying the contents of text.txt to new_text.txt. If this is so you could just use the &lt;strong&gt;copy&lt;/strong&gt; function in PHP. (see &lt;a href=&quot;http://www.php.net/copy&quot; class=&quot;bb-url&quot;&gt;http://www.php.net/copy&lt;/a&gt; )&lt;/p&gt;
&lt;p&gt;If there is some other need, check what directory it is using. Try &lt;strong&gt;system(&quot;pwd &amp;gt; thisdirectory.txt&quot;);&lt;/strong&gt; or &lt;strong&gt;system(&quot;ls -la &amp;gt; dirlist.txt&quot;);&lt;/strong&gt; to get a listing of the files into a file. Make sure the file you are trying to copy is listed in there. &lt;/p&gt;
&lt;p&gt;This will help you check to make sure the file youa re trying to act upon (trying to CAT in your example) is really available to PHP in the directory which it executes.&lt;/p&gt;
&lt;p&gt;-Greg&lt;/p&gt;
 </description>
     <pubDate>Wed, 02 Nov 2005 20:11:04 +0000</pubDate>
 <dc:creator>Greg K</dc:creator>
 <guid isPermaLink="false">comment 1184370 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
