<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Advance poll"]]></title>
		<link>https://proxy2.de/forum/posts/list/3.php</link>
		<description><![CDATA[Latest messages posted in the topic "Advance poll"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Advance poll</title>
				<description><![CDATA[ When I've added the following text to my page? then what?<br /> It just displays the script text.<br /> Not the poll. Or should i save the index file in php????<br /> <br /> Thanks<br /> <br /> <br /> &lt;?php <br /> /* Include this before your html code */<br /> include "./poll_cookie.php"; <br /> ?&gt;<br /> <br /> --------------------------------------------------------------------------------<br /> &lt;?php<br /> <br /> /* path */ <br /> $poll_path = "/home/joshi/public_html/db";<br /> <br /> require $poll_path."/include/config.inc.php";<br /> require $poll_path."/include/$POLLDB[class]";<br /> require $poll_path."/include/class_poll.php";<br /> $CLASS["db"] = new polldb_sql;<br /> $CLASS["db"]-&gt;connect(); <br /> <br /> $php_poll = new poll();<br /> <br /> /* the first poll */ <br /> echo $php_poll-&gt;poll_process(1);<br /> <br /> <br /> /* the second poll */<br /> $php_poll-&gt;set_template_set("simple");<br /> $php_poll-&gt;set_max_bar_length(80); <br /> echo $php_poll-&gt;poll_process(2);<br /> <br /> <br /> /* the third poll */<br /> $php_poll-&gt;set_template_set("popup");<br /> if ($php_poll-&gt;is_valid_poll_id(3)) {<br />     echo $php_poll-&gt;display_poll(3);<br /> } <br /> <br /> ?&gt;]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/1677/4143.php</guid>
				<link>https://proxy2.de/forum/posts/preList/1677/4143.php</link>
				<pubDate><![CDATA[Mon, 3 Mar 2003 22:11:04]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Same issue here]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/1677/4151.php</guid>
				<link>https://proxy2.de/forum/posts/preList/1677/4151.php</link>
				<pubDate><![CDATA[Thu, 6 Mar 2003 08:53:19]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ You do need to change the extension from .html to .php if you are using php in the page.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/1677/4181.php</guid>
				<link>https://proxy2.de/forum/posts/preList/1677/4181.php</link>
				<pubDate><![CDATA[Fri, 7 Mar 2003 21:41:43]]> GMT</pubDate>
				<author><![CDATA[ micky2k2]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Mine doesn't work either. I've enabled PHP. Two questions:<br /> <br /> 1. In<br /> <br /> &lt;?php <br /> /* Include this before your html code */ <br /> include "./poll_cookie.php"; <br /> ?&gt; <br /> <br /> do you substitute the relative path to poll_cookie.php for "./poll_cookie.php"?<br /> <br /> 2. The script text seems to be set up for the db version. What do you use for the textfile version? I've looked and can't find anything in the files I downloaded.<br /> <br /> Thanks!]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/1677/4255.php</guid>
				<link>https://proxy2.de/forum/posts/preList/1677/4255.php</link>
				<pubDate><![CDATA[Tue, 11 Mar 2003 12:27:38]]> GMT</pubDate>
				<author><![CDATA[ Ulrich]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ [quote="Ulrich"]Mine doesn't work either. I've enabled PHP. Two questions:<br /> <br /> 1. In<br /> <br /> &lt;?php <br /> /* Include this before your html code */ <br /> include "./poll_cookie.php"; <br /> ?&gt; <br /> <br /> do you substitute the relative path to poll_cookie.php for "./poll_cookie.php"?<br /> <br /> 2. The script text seems to be set up for the db version. What do you use for the textfile version? I've looked and can't find anything in the files I downloaded.<br /> <br /> Thanks![/quote]<br /> <br /> 1. use the full path <br /> You can get it from the admin<br /> <br /> 2. It doesn't matter what you use <br /> textfile and db use the same config]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/1677/4256.php</guid>
				<link>https://proxy2.de/forum/posts/preList/1677/4256.php</link>
				<pubDate><![CDATA[Tue, 11 Mar 2003 12:36:18]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Thanks for the response!<br /> <br /> It's still not working. I put:<br /> <br /> &lt;?php<br /> include "/www/hm/j/jkalb/poll/poll_cookie.php";<br /> ?&gt;<br /> <br /> in before all html coding, and stuck<br /> <br /> &lt;?php<br /> /* path */<br /> $poll_path = "/www/hm/j/jkalb/poll";<br /> require $poll_path."/include/config.inc.php";<br /> require $poll_path."/include/$POLLDB[class]";<br /> require $poll_path."/include/class_poll.php";<br /> $CLASS["db"] = new polldb_sql;<br /> $CLASS["db"]-&gt;connect();<br /> $php_poll = new poll();<br /> /* the first poll */<br /> echo $php_poll-&gt;poll_process(1);<br /> /* the second poll */<br /> $php_poll-&gt;set_template_set("simple");<br /> $php_poll-&gt;set_max_bar_length(80);<br /> echo $php_poll-&gt;poll_process(2);<br /> /* the third poll */<br /> $php_poll-&gt;set_template_set("popup");<br /> if ($php_poll-&gt;is_valid_poll_id(3)) {<br />  echo $php_poll-&gt;display_poll(3);<br /> }<br /> ?&gt;<br /> <br /> in the body of the page that is to include the poll. The page has the *.php suffix. Then when I go to the page in my browser it stops loading at the point where the second code snippet appears.<br /> <br /> Any ideas?]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/1677/4259.php</guid>
				<link>https://proxy2.de/forum/posts/preList/1677/4259.php</link>
				<pubDate><![CDATA[Tue, 11 Mar 2003 18:49:45]]> GMT</pubDate>
				<author><![CDATA[ Ulrich]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Got it working! Found the code to insert on the page in another post.<br /> <br /> Don't understand though why the distribution doesn't include an explanation of what to put on the page to make the poll show up.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/1677/4263.php</guid>
				<link>https://proxy2.de/forum/posts/preList/1677/4263.php</link>
				<pubDate><![CDATA[Wed, 12 Mar 2003 02:49:21]]> GMT</pubDate>
				<author><![CDATA[ Ulrich]]></author>
			</item>
			<item>
				<title>Installation/Setup</title>
				<description><![CDATA[ This script looks good but unfortunately there is absolutely no information on how to setup it up correctly on your page....<br /> <br /> [quote]Got it working! Found the code to insert on the page in another post. <br /> [/quote]<br /> <br /> <br /> Can you share what you found out? Or post a link to it please?<br /> <br /> -tag]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/1677/4283.php</guid>
				<link>https://proxy2.de/forum/posts/preList/1677/4283.php</link>
				<pubDate><![CDATA[Thu, 13 Mar 2003 00:04:24]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Go to:<br /> <br /> [url]http://www.proxy2.de/forum/viewtopic.php?t=1668[/url]]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/1677/4284.php</guid>
				<link>https://proxy2.de/forum/posts/preList/1677/4284.php</link>
				<pubDate><![CDATA[Thu, 13 Mar 2003 00:28:36]]> GMT</pubDate>
				<author><![CDATA[ Ulrich]]></author>
			</item>
			<item>
				<title>where is the code ?</title>
				<description><![CDATA[ sorry but the topics doesn't work.<br /> <br /> so what can i do to show the poll ?<br /> Does it need a php extension ?<br /> <br /> thanks]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/1677/4980.php</guid>
				<link>https://proxy2.de/forum/posts/preList/1677/4980.php</link>
				<pubDate><![CDATA[Mon, 2 Jun 2003 00:54:28]]> GMT</pubDate>
				<author><![CDATA[ keepone]]></author>
			</item>
	</channel>
</rss>