<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Problem....."]]></title>
		<link>https://proxy2.de/forum/posts/list/4.php</link>
		<description><![CDATA[Latest messages posted in the topic "Problem....."]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Problem.....</title>
				<description><![CDATA[ Hallo,<br /> <br /> also ich versuche die Kommentare in die "comment.html" (Template)<br /> auszulagern.<br /> <br /> Damit auch imemr die richtigen angezeigt werden will ich das die poll id aus der URL ausgelesen wird.<br /> <br /> Ich hab es in ner extra php getested.<br /> [code]<br /> &lt;?php<br /> <br /> /* path */<br /> $poll_path = "/www/htdocs/contact/php/poll";<br /> <br /> require $poll_path."/include/config.inc.php";<br /> require $poll_path."/include/class_poll.php";<br /> require $poll_path."/include/class_pollcomment.php";<br /> <br /> $php_poll = new pollcomment();<br /> <br /> <br /> /* poll comments */<br /> $php_poll-&gt;set_template("poll_comment");<br /> $php_poll-&gt;set_comments_per_page(5);<br /> $php_poll-&gt;set_date_format("d/m/Y H:i");<br /> $php_poll-&gt;data_order_by("time","desc");<br /> echo $php_poll-&gt;view_poll_comments($HTTP_GET_VARS['id']);<br /> echo $php_poll-&gt;get_comment_pages(2);<br /> <br /> ?&gt;[/code]<br /> <br /> Damit hat das super gefunkt :)<br /> <br /> Nur leider geht es nicht wenn ich den selben Code in die comment.html einbaue :(<br /> Da kommt der fehler:<br /> [quote]<br /> Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /www/htdocs/contact/php/poll/include/class_pollcomment.php(358) : eval()'d code on line 108[/quote]<br /> <br /> Ich denke das es nur irgend ein kleiner Fehler sein kann aber ich kann leider kein PHP :(<br /> <br /> Kann mir jemand helfen??<br /> <br /> Danke<br /> Caio]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/632/1619.php</guid>
				<link>https://proxy2.de/forum/posts/preList/632/1619.php</link>
				<pubDate><![CDATA[Tue, 28 May 2002 02:39:40]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ was denn für ein "comment.html" ?<br /> es gibt nur eine comments.php und das ist das popup (formular).]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/632/1632.php</guid>
				<link>https://proxy2.de/forum/posts/preList/632/1632.php</link>
				<pubDate><![CDATA[Tue, 28 May 2002 16:08:27]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ die bei den Templates.<br /> <br /> <br /> Hmm das hab ich nach stunden geschaft.<br /> leider nicht über das Template mußte den Code direkt in die comments.php reinmachen :(<br /> Aber es tut :)<br /> <br /> Leider gehen mir die Probleme nicht aus :(<br /> <br /> Ist es verboten eine Poll List in einer extra tabelle anzeigen zu lassen?<br />  [code]&lt;?php<br /> <br /> /* path */<br /> $poll_path = "/www/htdocs/contact/php/poll";<br /> <br /> require $poll_path."/include/config.inc.php";<br /> require $poll_path."/include/class_poll.php";<br /> require $poll_path."/include/class_pollcomment.php";<br /> require $poll_path."/include/class_plist.php";<br /> <br /> $php_poll = new plist();<br /> <br /> <br /> /* poll list */<br /> $php_poll-&gt;set_template("poll_list");<br /> $php_poll-&gt;set_date_format("d/m/Y");<br /> echo $php_poll-&gt;view_poll_list();<br /> echo $php_poll-&gt;get_list_pages();<br /> ?&gt;<br /> [/code]<br /> <br /> Das tut will ich darunter eine Poll anzeigen lassen bekomme ich den fehler<br /> <br /> [quote]Fatal error: Cannot redeclare class poll in /www/htdocs/contact/php/poll/include/class_poll.php on line 10[/quote]<br /> <br /> der code:<br /> [code]&lt;?php<br /> <br /> /* path */<br /> $poll_path = "/www/htdocs/contact/php/poll";<br /> <br /> require $poll_path."/include/config.inc.php";<br /> require $poll_path."/include/class_poll.php";<br /> <br /> $php_poll = new poll();<br /> <br /> /* the first poll */<br /> $php_poll-&gt;set_template_set("con1084");<br /> if (isset($HTTP_GET_VARS['poll_id'])) {<br />    echo $php_poll-&gt;poll_process($HTTP_GET_VARS['poll_id']);<br /> } else {<br />    echo $php_poll-&gt;poll_process("random");<br /> }<br /> <br /> ?&gt;[/code]<br /> <br /> Was mache ich den schonwieder falsch???]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/632/1634.php</guid>
				<link>https://proxy2.de/forum/posts/preList/632/1634.php</link>
				<pubDate><![CDATA[Tue, 28 May 2002 19:09:10]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Also das gibts doch net !!!<br /> <br /> ICh hab die Position der beiden Includs vertauscht.<br /> Und jetzt ist es genau umgekert!!!]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/632/1635.php</guid>
				<link>https://proxy2.de/forum/posts/preList/632/1635.php</link>
				<pubDate><![CDATA[Tue, 28 May 2002 19:23:59]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ völliger quatsch!<br /> muss must darauf achten, dass du die php-codes nicht mehrmals einbindest (require require $poll_path."/include/class_poll.php"; , usw.)]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/632/1642.php</guid>
				<link>https://proxy2.de/forum/posts/preList/632/1642.php</link>
				<pubDate><![CDATA[Tue, 28 May 2002 23:43:01]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Danke <img src="https://proxy2.de/forum//images/smilies/3b63d1616c5dfcf29f8a7a031aaa7cad.gif" /> *freu*<br /> <br /> Jetzt geht es <img src="https://proxy2.de/forum//images/smilies/3b63d1616c5dfcf29f8a7a031aaa7cad.gif" />]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/632/1663.php</guid>
				<link>https://proxy2.de/forum/posts/preList/632/1663.php</link>
				<pubDate><![CDATA[Wed, 29 May 2002 20:02:38]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
	</channel>
</rss>