<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "AP - Integration Tip When Including Poll on a Web Page"]]></title>
		<link>https://proxy2.de/forum/posts/list/3.php</link>
		<description><![CDATA[Latest messages posted in the topic "AP - Integration Tip When Including Poll on a Web Page"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>AP - Integration Tip When Including Poll on a Web Page</title>
				<description><![CDATA[ This little bit was confusing at first, so I thought I would clarify it for others without a lot of PHP knowledge:<br /> <br /> There is some discrepancy in the available documentation as to how to include a poll on your web page. In some places, such as on the current Demo pages, we are told to paste the following code just above the code that actually displays the poll:<br /> <br /> [code]$poll_path = &quot;/www/proxy2/html/poll&quot;;<br /> <br /> require $poll_path.&quot;/include/config.inc.php&quot;;<br /> require $poll_path.&quot;/include/$POLLDB&#91;class&#93;&quot;;<br /> require $poll_path.&quot;/include/class_poll.php&quot;;<br /> $CLASS&#91;&quot;db&quot;&#93; = new polldb_sql;<br /> $CLASS&#91;&quot;db&quot;&#93;-&gt;connect&#40;&#41;;<br /> <br /> $php_poll = new poll&#40;&#41;;[/code]<br /> <br /> In other places, like the Help section of the poll administration, we are told to use only:<br /> <br /> [code]include_once &quot;/var/www/html/poll/booth.php&quot;;[/code]<br /> <br /> The correct choice as of version 2.03 (possibly earlier) is the second option, where the booth.php file incorporates all of the code in the first option.<br /> <br /> Hope this is helpful. :o  :o]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/5280/19258.php</guid>
				<link>https://proxy2.de/forum/posts/preList/5280/19258.php</link>
				<pubDate><![CDATA[Fri, 6 Jan 2006 23:23:30]]> GMT</pubDate>
				<author><![CDATA[ Fritz]]></author>
			</item>
	</channel>
</rss>