<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Parse error: parse error, unexpected ':'"]]></title>
		<link>https://proxy2.de/forum/posts/list/5.php</link>
		<description><![CDATA[Latest messages posted in the topic "Parse error: parse error, unexpected ':'"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Parse error: parse error, unexpected ':'</title>
				<description><![CDATA[ Hi,<br /> I haven't got any entries in a long time and when I just tried to sign the guestbook I got this error:<br /> <br /> Parse error: parse error, unexpected ':' in /home/mtmestas/public_html/guestbook/addentry.php on line 27<br /> <br /> I looked at the line but not sure what the problem is. <br /> <br /> This is line 27, just the word "Code:"<br /> <br /> Code: <br /> <br /> Can you help?<br /> <br /> Thanks.<br /> <br /> &lt;?php<br /> <br /> $include_path = dirname(__FILE__);<br /> <br /> include_once $include_path."/admin/config.inc.php";<br /> <br /> include_once $include_path."/lib/$DB_CLASS";<br /> <br /> include_once $include_path."/lib/image.class.php";<br /> <br /> include_once $include_path."/lib/template.class.php";<br /> <br /> <br /> <br /> include_once $include_path."/lib/vars.class.php";<br /> <br /> include_once $include_path."/lib/add.class.php";<br /> <br /> <br /> <br /> $gb_post = new addentry($include_path);<br /> <br /> <br /> <br /> if (isset($HTTP_POST_VARS["gb_action"])) {<br /> <br />     Code: <br /> $gb_post-&gt;bottest = (isset($HTTP_POST_VARS["bottest"])) ? $HTTP_POST_VARS["bottest"] : ''; <br /> $gb_post-&gt;name = (isset($HTTP_POST_VARS["gb_name"])) ? $HTTP_POST_VARS["gb_name"] : ''; <br /> <br /> <br />     $gb_post-&gt;email = (isset($HTTP_POST_VARS["gb_email"])) ? $HTTP_POST_VARS["gb_email"] : '';<br /> <br />     $gb_post-&gt;url = (isset($HTTP_POST_VARS["gb_url"])) ? $HTTP_POST_VARS["gb_url"] : '';<br /> <br />     $gb_post-&gt;comment = (isset($HTTP_POST_VARS["gb_comment"])) ? $HTTP_POST_VARS["gb_comment"] : '';<br /> <br />     $gb_post-&gt;location = (isset($HTTP_POST_VARS["gb_location"])) ? $HTTP_POST_VARS["gb_location"] : '';<br /> <br />     $gb_post-&gt;icq = (isset($HTTP_POST_VARS["gb_icq"])) ? $HTTP_POST_VARS["gb_icq"] : '';<br /> <br />     $gb_post-&gt;aim = (isset($HTTP_POST_VARS["gb_aim"])) ? $HTTP_POST_VARS["gb_aim"] : '';<br /> <br />     $gb_post-&gt;gender = (isset($HTTP_POST_VARS["gb_gender"])) ? $HTTP_POST_VARS["gb_gender"] : '';<br /> <br />     $gb_post-&gt;userfile = (isset($HTTP_POST_FILES["userfile"]["tmp_name"]) &amp;&amp; $HTTP_POST_FILES["userfile"]["tmp_name"] != "") ? $HTTP_POST_FILES : '';<br /> <br />     $gb_post-&gt;user_img = (isset($HTTP_POST_VARS["gb_user_img"])) ? $HTTP_POST_VARS["gb_user_img"] : '';<br /> <br />     $gb_post-&gt;preview = (isset($HTTP_POST_VARS["gb_preview"])) ? 1 : 0;<br /> <br />     $gb_post-&gt;private = (isset($HTTP_POST_VARS["gb_private"])) ? 1 : 0;<br /> <br />     echo $gb_post-&gt;process($HTTP_POST_VARS["gb_action"]);<br /> <br /> } else {<br /> <br />     echo $gb_post-&gt;process();<br /> <br /> }<br /> <br /> <br /> <br /> ?&gt;]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4924/17580.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4924/17580.php</link>
				<pubDate><![CDATA[Thu, 11 Aug 2005 09:36:52]]> GMT</pubDate>
				<author><![CDATA[ GarySmith]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Don't know where that code came from.<br /> <br /> [code]&lt;?php<br /> $include_path = dirname&#40;__FILE__&#41;;<br /> include_once $include_path.&quot;/admin/config.inc.php&quot;;<br /> include_once $include_path.&quot;/lib/$DB_CLASS&quot;;<br /> include_once $include_path.&quot;/lib/image.class.php&quot;;<br /> include_once $include_path.&quot;/lib/template.class.php&quot;;<br /> <br /> include_once $include_path.&quot;/lib/vars.class.php&quot;;<br /> include_once $include_path.&quot;/lib/add.class.php&quot;;<br /> <br /> $gb_post = new addentry&#40;$include_path&#41;;<br /> <br /> if &#40;isset&#40;$_POST&#91;&quot;gb_action&quot;&#93;&#41;&#41; &#123;<br />     $gb_post-&gt;name = &#40;isset&#40;$_POST&#91;&quot;gb_name&quot;&#93;&#41;&#41; ? $_POST&#91;&quot;gb_name&quot;&#93; &#58; '';<br />     $gb_post-&gt;email = &#40;isset&#40;$_POST&#91;&quot;gb_email&quot;&#93;&#41;&#41; ? $_POST&#91;&quot;gb_email&quot;&#93; &#58; '';<br />     $gb_post-&gt;url = &#40;isset&#40;$_POST&#91;&quot;gb_url&quot;&#93;&#41;&#41; ? $_POST&#91;&quot;gb_url&quot;&#93; &#58; '';<br />     $gb_post-&gt;comment = &#40;isset&#40;$_POST&#91;&quot;gb_comment&quot;&#93;&#41;&#41; ? $_POST&#91;&quot;gb_comment&quot;&#93; &#58; '';<br />     $gb_post-&gt;location = &#40;isset&#40;$_POST&#91;&quot;gb_location&quot;&#93;&#41;&#41; ? $_POST&#91;&quot;gb_location&quot;&#93; &#58; '';<br />     $gb_post-&gt;icq = &#40;isset&#40;$_POST&#91;&quot;gb_icq&quot;&#93;&#41;&#41; ? $_POST&#91;&quot;gb_icq&quot;&#93; &#58; '';<br />     $gb_post-&gt;aim = &#40;isset&#40;$_POST&#91;&quot;gb_aim&quot;&#93;&#41;&#41; ? $_POST&#91;&quot;gb_aim&quot;&#93; &#58; '';<br />     $gb_post-&gt;gender = &#40;isset&#40;$_POST&#91;&quot;gb_gender&quot;&#93;&#41;&#41; ? $_POST&#91;&quot;gb_gender&quot;&#93; &#58; '';<br />     $gb_post-&gt;userfile = &#40;isset&#40;$_FILES&#91;&quot;userfile&quot;&#93;&#91;&quot;tmp_name&quot;&#93;&#41; &amp;&amp; $_FILES&#91;&quot;userfile&quot;&#93;&#91;&quot;tmp_name&quot;&#93; != &quot;&quot;&#41; ? $_FILES &#58; '';<br />     $gb_post-&gt;user_img = &#40;isset&#40;$_POST&#91;&quot;gb_user_img&quot;&#93;&#41;&#41; ? $_POST&#91;&quot;gb_user_img&quot;&#93; &#58; '';<br />     $gb_post-&gt;preview = &#40;isset&#40;$_POST&#91;&quot;gb_preview&quot;&#93;&#41;&#41; ? 1 &#58; 0;<br />     $gb_post-&gt;private = &#40;isset&#40;$_POST&#91;&quot;gb_private&quot;&#93;&#41;&#41; ? 1 &#58; 0;<br />     echo $gb_post-&gt;process&#40;$_POST&#91;&quot;gb_action&quot;&#93;&#41;;<br /> &#125; else &#123;<br />     echo $gb_post-&gt;process&#40;&#41;;<br /> &#125;<br /> <br /> ?&gt;[/code]]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4924/17581.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4924/17581.php</link>
				<pubDate><![CDATA[Thu, 11 Aug 2005 12:18:58]]> GMT</pubDate>
				<author><![CDATA[ Carbonize]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ It's this file....<br /> public_html/guestbook/addentry.php]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4924/17582.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4924/17582.php</link>
				<pubDate><![CDATA[Thu, 11 Aug 2005 15:55:12]]> GMT</pubDate>
				<author><![CDATA[ GarySmith]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ I know that I meant I don't know where the Code: came from. I posted the correct contents for that file above.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4924/17583.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4924/17583.php</link>
				<pubDate><![CDATA[Thu, 11 Aug 2005 16:10:51]]> GMT</pubDate>
				<author><![CDATA[ Carbonize]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Hello Carbon,<br /> I replaced the code with your and still get the same error.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4924/17584.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4924/17584.php</link>
				<pubDate><![CDATA[Thu, 11 Aug 2005 16:28:44]]> GMT</pubDate>
				<author><![CDATA[ GarySmith]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Sounds like the replacement didn't take. Check the file again.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4924/17585.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4924/17585.php</link>
				<pubDate><![CDATA[Thu, 11 Aug 2005 18:12:48]]> GMT</pubDate>
				<author><![CDATA[ Carbonize]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Carbon,<br /> Nope...I've changed it 3 times now and still get same error code. I have to leave. I'll PM you the login and password in case you have a chance to look.<br /> Thanks]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4924/17586.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4924/17586.php</link>
				<pubDate><![CDATA[Thu, 11 Aug 2005 18:25:46]]> GMT</pubDate>
				<author><![CDATA[ GarySmith]]></author>
			</item>
	</channel>
</rss>