<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1022532" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1022532</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/php-problem-1#comment-1139037</link>
    <description> &lt;p&gt;lol random missing php.ini files.&lt;/p&gt;
 </description>
     <pubDate>Sat, 11 Oct 2003 09:24:49 +0000</pubDate>
 <dc:creator>Renegade</dc:creator>
 <guid isPermaLink="false">comment 1139037 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/php-problem-1#comment-1139032</link>
    <description> &lt;p&gt;cheers, I found the problem after trying another script that had previously worked. It seems my php.ini file had been deleted somehow. Reinstalled PHP and all works fine now.&lt;/p&gt;
 </description>
     <pubDate>Sat, 11 Oct 2003 05:00:25 +0000</pubDate>
 <dc:creator>Khanny</dc:creator>
 <guid isPermaLink="false">comment 1139032 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/php-problem-1#comment-1139030</link>
    <description> &lt;p&gt;It may be $_POST[&#039;response&#039;] as well, btw.&lt;/p&gt;
&lt;p&gt;Cheese solves a lot of problems...&lt;/p&gt;
 </description>
     <pubDate>Sat, 11 Oct 2003 02:52:20 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1139030 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Ok... I see now</title>
    <link>https://www.webmaster-forums.net/serverside-scripting/php-problem-1#comment-1139027</link>
    <description> &lt;p&gt;Disregard my last post... it uses mySQL.  SO ... you have one of 2 problems.&lt;/p&gt;
&lt;p&gt;First, that script says the same thing in two situations :&lt;br /&gt;
#1 - it doesn&#039;t get the $submit and $response variables.  Some versions of PHP require that you use the $HTTP_POST_VARS[&#039;submit&#039;] and $HTTP_POST_VARS[&#039;response&#039;] variables at the top of the script. (or use $HTTP_GET_VARS if you&#039;re voting in the URL).&lt;/p&gt;
&lt;p&gt;  You can see if this is a problem by changing the text around a little bit in vote.php - the first time you see &#039;Error!&#039;, change it to &#039;I like cheese&#039;.  Then do it again.  If you&#039;re page likes cheese, then it&#039;s a problem with the variable submission.&lt;/p&gt;
&lt;p&gt;#2 - if you&#039;re page doesn&#039;t like cheese, then it&#039;s a problem lower down in the SQL query.  You may not have the SQL settings correct, maybe you haven&#039;t created the tables, or maybe the username and password you are using isn&#039;t allowed to do &quot;UPDATE&quot; queries.  Check your config.php file for the settings, and your SQL server for the table and database names.&lt;/p&gt;
&lt;p&gt;Hope that helps.&lt;/p&gt;
&lt;p&gt;-Chris&lt;br /&gt;
&lt;a href=&quot;http://www.bitesizeinc.net&quot; class=&quot;bb-url&quot;&gt;Bite Size Inc - Telework Consultants&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Sat, 11 Oct 2003 02:31:40 +0000</pubDate>
 <dc:creator>christodd</dc:creator>
 <guid isPermaLink="false">comment 1139027 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Just a guess</title>
    <link>https://www.webmaster-forums.net/serverside-scripting/php-problem-1#comment-1139026</link>
    <description> &lt;p&gt;This is just a guess, but I&#039;d assume that the file that it&#039;s writing the results to isn&#039;t writable by the webuser.&lt;/p&gt;
&lt;p&gt;Make sure you are pointing to a world-writable directory in the config file, or if it uses a particular file, that you make it world-writable.&lt;/p&gt;
&lt;p&gt;-Chris&lt;br /&gt;
&lt;a href=&quot;http://www.bitesizeinc.net/index.php/sql.html&quot; class=&quot;bb-url&quot;&gt;Come read the BiteSize SQL Tutorial&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Sat, 11 Oct 2003 02:24:14 +0000</pubDate>
 <dc:creator>christodd</dc:creator>
 <guid isPermaLink="false">comment 1139026 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
