<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Add entry error.   Please assist"]]></title>
		<link>https://proxy2.de/forum/posts/list/5.php</link>
		<description><![CDATA[Latest messages posted in the topic "Add entry error.   Please assist"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Add entry error.   Please assist</title>
				<description><![CDATA[ I was trying to modify to prevent the spamming and probally erased some code by mistake. I also was trying to add the Validation to also prevent spamming. <br /> <br /> Now I am getting this error <br /> Parse error: parse error, unexpected $ in /home/content/b/s/m/bsmccmd/html/advancedguestbook/addentry.php on line 35<br /> <br /> and here is how the file currently reads<br /> <br /> &lt;?php<br /> 	include("verify.php");<br /> 	$include_path = dirname(__FILE__);<br /> include_once $include_path."/admin/config.inc.php";<br /> include_once $include_path."/lib/$DB_CLASS";<br /> include_once $include_path."/lib/image.class.php";<br /> include_once $include_path."/lib/template.class.php";<br /> <br /> include_once $include_path."/lib/vars.class.php";<br /> include_once $include_path."/lib/add.class.php";<br /> <br /> $gb_post = new addentry($include_path);<br /> if (isset($HTTP_POST_VARS["gb_actionwecan"])) {<br /> 	      if (strtoupper($_POST["keycode"])!=$Vword) <br /> 	     {<br /> 	          echo ("The &lt;strong&gt;Image Verication&lt;/strong&gt; code you supplied is incorrect.&lt;br /&gt;\nPlease enter the 8 characters that appear in the image.");<br /> 	          echo $gb_post-&gt;process();<br /> 	          die();<br /> 	    $gb_post-&gt;Vrand = $Vrand;<br /> 	    $gb_post-&gt;name = (isset($HTTP_POST_VARS["gb_name"])) ? $HTTP_POST_VARS["gb_name"] : '';<br />     $gb_post-&gt;email = (isset($HTTP_POST_VARS["gb_email"])) ? $HTTP_POST_VARS["gb_email"] : '';<br />     $gb_post-&gt;url = (isset($HTTP_POST_VARS["gb_url"])) ? $HTTP_POST_VARS["gb_url"] : '';<br />     $gb_post-&gt;comment = (isset($HTTP_POST_VARS["gb_comment"])) ? $HTTP_POST_VARS["gb_comment"] : '';<br />     $gb_post-&gt;location = (isset($HTTP_POST_VARS["gb_location"])) ? $HTTP_POST_VARS["gb_location"] : '';<br />     $gb_post-&gt;icq = (isset($HTTP_POST_VARS["gb_icq"])) ? $HTTP_POST_VARS["gb_icq"] : '';<br />     $gb_post-&gt;aim = (isset($HTTP_POST_VARS["gb_aim"])) ? $HTTP_POST_VARS["gb_aim"] : '';<br />     $gb_post-&gt;gender = (isset($HTTP_POST_VARS["gb_gender"])) ? $HTTP_POST_VARS["gb_gender"] : '';<br />     $gb_post-&gt;userfile = (isset($HTTP_POST_FILES["userfile"]["tmp_name"]) &amp;&amp; $HTTP_POST_FILES["userfile"]["tmp_name"] != "") ? $HTTP_POST_FILES : '';<br />     $gb_post-&gt;user_img = (isset($HTTP_POST_VARS["gb_user_img"])) ? $HTTP_POST_VARS["gb_user_img"] : '';<br />     $gb_post-&gt;preview = (isset($HTTP_POST_VARS["gb_preview"])) ? 1 : 0;<br />     $gb_post-&gt;private = (isset($HTTP_POST_VARS["gb_private"])) ? 1 : 0;<br />     echo $gb_post-&gt;process($_POST["gb_actionwecan"]);<br /> } else {<br />     echo $gb_post-&gt;process();}<br /> <br /> PLEASE HELP and tell me what I did wrong......]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/5885/21364.php</guid>
				<link>https://proxy2.de/forum/posts/preList/5885/21364.php</link>
				<pubDate><![CDATA[Thu, 12 Oct 2006 06:01:54]]> GMT</pubDate>
				<author><![CDATA[ CRock459]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Just update to 2.4.2 as it has image verification built in as standard.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/5885/21365.php</guid>
				<link>https://proxy2.de/forum/posts/preList/5885/21365.php</link>
				<pubDate><![CDATA[Thu, 12 Oct 2006 10:01:10]]> GMT</pubDate>
				<author><![CDATA[ Carbonize]]></author>
			</item>
			<item>
				<title>And I have upgraded to 2.4.2, still with errors</title>
				<description><![CDATA[ Ok, I upgraded to 2.4.2 and I must have missed a step because now when I go to sign the guestbook, I get this error.<br /> <br /> MySQL Error : Query Error<br /> Error Number: 1064 You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near 'SET session_id='7ff6d8f17e2f796991dd0e977cce0383', validate_key<br /> Date        : Fri, October 13, 2006 09:56:38<br /> IP          : 68.50.119.138<br /> Browser     : Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727)<br /> Referer     : <a class="snap_shots" href="http://www.buffalosoldiersmccmd.org/advancedguestbook/index.php" target="_blank" rel="nofollow">http://www.buffalosoldiersmccmd.org/advancedguestbook/index.php</a><br /> PHP Version : 4.3.11<br /> OS          : Linux<br /> Server      : Apache<br /> Server Name : www.buffalosoldiersmccmd.org<br /> <br /> Not being a SQL person I need<br /> help with any suggestions Please....  Thanks]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/5885/21390.php</guid>
				<link>https://proxy2.de/forum/posts/preList/5885/21390.php</link>
				<pubDate><![CDATA[Fri, 13 Oct 2006 19:10:57]]> GMT</pubDate>
				<author><![CDATA[ CRock459]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ You need to run update_db.php which is found in the misc folder. You also need to use the config.inc.php file that comes with 2.4.2 and now your old one.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/5885/21391.php</guid>
				<link>https://proxy2.de/forum/posts/preList/5885/21391.php</link>
				<pubDate><![CDATA[Fri, 13 Oct 2006 19:25:43]]> GMT</pubDate>
				<author><![CDATA[ Carbonize]]></author>
			</item>
	</channel>
</rss>