<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1021407" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1021407</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/php-file-editing-not-working-xx#comment-1132047</link>
    <description> &lt;p&gt;Well, turns out that when I change the if statements controlling the functions it works. Thanks for giving me the idea of rewriting it, Mark! Now I can do the last 2 things: a small rating system and a logging function and I&#039;ll be done!&lt;/p&gt;
 </description>
     <pubDate>Sat, 24 May 2003 20:02:53 +0000</pubDate>
 <dc:creator>necrotic</dc:creator>
 <guid isPermaLink="false">comment 1132047 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/php-file-editing-not-working-xx#comment-1132024</link>
    <description> &lt;p&gt;The thing is, though, is that if I tell the function DoEdit() to echo say, all the form values, it does it fine. When I get the chance (tomorrow) I&#039;m going to have it echo $new_file and see if the values are set correctly.&lt;/p&gt;
 </description>
     <pubDate>Sat, 24 May 2003 03:11:42 +0000</pubDate>
 <dc:creator>necrotic</dc:creator>
 <guid isPermaLink="false">comment 1132024 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/php-file-editing-not-working-xx#comment-1132020</link>
    <description> &lt;p&gt;logic error&lt;/p&gt;
&lt;p&gt;$id is set, and you have !isset($id)&lt;/p&gt;
 </description>
     <pubDate>Sat, 24 May 2003 00:19:19 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1132020 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/php-file-editing-not-working-xx#comment-1131999</link>
    <description> &lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;if ((!isset(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$id&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;))&amp;amp;&amp;amp;(!isset(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$submit&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;))&amp;amp;&amp;amp;(!isset(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$edit&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;))&amp;amp;&amp;amp;(!isset(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$doedit&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;))) &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Main&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;();&lt;br /&gt;elseif ((isset(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$id&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;))&amp;amp;&amp;amp;(!isset(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$submit&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;))&amp;amp;&amp;amp;(!isset(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$edit&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;))&amp;amp;&amp;amp;(!isset(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$doedit&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;))) &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Display&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$id&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;elseif ((!isset(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$id&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;))&amp;amp;&amp;amp;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$submit&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;==\&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;new\&quot;)&amp;amp;&amp;amp;(!isset(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$edit&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;))&amp;amp;&amp;amp;(!isset(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$doedit&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;))) Submit();&lt;br /&gt;elseif ((!isset(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$id&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;))&amp;amp;&amp;amp;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$submit&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;==\&quot;do\&quot;)&amp;amp;&amp;amp;(!isset(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$edit&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;))&amp;amp;&amp;amp;(!isset(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$doedit&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;))) DoSubmit();&lt;br /&gt;elseif ((!isset(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$id&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;))&amp;amp;&amp;amp;(isset(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$edit&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;))&amp;amp;&amp;amp;(!isset(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$submit&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;))&amp;amp;&amp;amp;(!isset(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$doedit&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;))) Edit(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$edit&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;);&lt;br /&gt;elseif ((!isset(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$id&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;))&amp;amp;&amp;amp;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$doedit&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;==\&quot;do\&quot;)&amp;amp;&amp;amp;(!isset(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$edit&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;))&amp;amp;&amp;amp;(!isset(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$submit&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;))) DoEdit();&lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
 </description>
     <pubDate>Fri, 23 May 2003 19:48:42 +0000</pubDate>
 <dc:creator>necrotic</dc:creator>
 <guid isPermaLink="false">comment 1131999 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/php-file-editing-not-working-xx#comment-1131996</link>
    <description> &lt;p&gt;can you paste those lines here plz&lt;/p&gt;
 </description>
     <pubDate>Fri, 23 May 2003 17:43:46 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1131996 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/php-file-editing-not-working-xx#comment-1131980</link>
    <description> &lt;p&gt;And I do. All that happens is a blank page shows up.&lt;/p&gt;
 </description>
     <pubDate>Fri, 23 May 2003 10:50:55 +0000</pubDate>
 <dc:creator>necrotic</dc:creator>
 <guid isPermaLink="false">comment 1131980 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/php-file-editing-not-working-xx#comment-1131961</link>
    <description> &lt;p&gt;I&#039;m sorry.  I&#039;m not quite myself today.  (had 4 wisdom teeth pulled 12 hours ago, and I&#039;m still light headed and now very sleepy)&lt;/p&gt;
&lt;p&gt;I&#039;m guessing that DoEdit() is not running at all.  Where are you calling it from?  You should having something like:&lt;/p&gt;
&lt;p&gt;if ($doedit==&#039;do&#039;) {&lt;br /&gt;
    DoEdit();&lt;br /&gt;
}&lt;/p&gt;
 </description>
     <pubDate>Fri, 23 May 2003 05:26:56 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1131961 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/php-file-editing-not-working-xx#comment-1131948</link>
    <description> &lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;Quote: He doesn&#039;t have MySQL which made it harder than usuall, but so far it works.&lt;/p&gt;&lt;/blockquote&gt;
 </description>
     <pubDate>Thu, 22 May 2003 22:49:26 +0000</pubDate>
 <dc:creator>necrotic</dc:creator>
 <guid isPermaLink="false">comment 1131948 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/php-file-editing-not-working-xx#comment-1131944</link>
    <description> &lt;p&gt;I&#039;m sorry, I&#039;m half conscious right now.&lt;/p&gt;
&lt;p&gt;Why are you using a flat file as opposed to a mysql db?&lt;/p&gt;
 </description>
     <pubDate>Thu, 22 May 2003 21:39:23 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1131944 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/php-file-editing-not-working-xx#comment-1131939</link>
    <description> &lt;p&gt;O yes, the file format is:&lt;/p&gt;
&lt;p&gt;id///--///ip///--///password///--///author///--///title///--///review///--///rating&lt;/p&gt;
 </description>
     <pubDate>Thu, 22 May 2003 20:16:56 +0000</pubDate>
 <dc:creator>necrotic</dc:creator>
 <guid isPermaLink="false">comment 1131939 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
