<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Website Integration - SSI?"]]></title>
		<link>https://proxy2.de/forum/posts/list/5.php</link>
		<description><![CDATA[Latest messages posted in the topic "Website Integration - SSI?"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Website Integration - SSI?</title>
				<description><![CDATA[ Hi, I'm wondering if there's a script available or can be written that will allow the last x guestbook entries be viewed on another webpage. Like the Invision Power Board uses the SSI to view the last x posts.<br /> <br /> Any help will be appreciated<br /> <br /> Thanks]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4949/17692.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4949/17692.php</link>
				<pubDate><![CDATA[Mon, 22 Aug 2005 03:16:25]]> GMT</pubDate>
				<author><![CDATA[ pureplayer]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ I did write a script for someone that pulls the last five entries and displays them. I can try and dig it up.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4949/17701.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4949/17701.php</link>
				<pubDate><![CDATA[Mon, 22 Aug 2005 11:05:27]]> GMT</pubDate>
				<author><![CDATA[ Carbonize]]></author>
			</item>
			<item>
				<title>great</title>
				<description><![CDATA[ That would be great and much appreciated.<br /> <br /> Thanks]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4949/17714.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4949/17714.php</link>
				<pubDate><![CDATA[Tue, 23 Aug 2005 03:43:25]]> GMT</pubDate>
				<author><![CDATA[ pureplayer]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ I was going to upload it somewhere but I'll just post it in here for you to copy and paste. Just put the file in the guestbook folder then include it where you want the entries to be displayed.<br /> [code]&lt;?php <br /> <br /> //<br /> // Put in some error handling<br /> //<br /> <br /> ini_set&#40;'display_errors', 1&#41;;<br /> error_reporting&#40;E_ALL &amp; ~E_NOTICE&#41;;<br /> <br /> //<br /> // Include the config file to get the database settings<br /> //<br /> <br /> include &quot;admin/config.inc.php&quot;;<br /> <br /> //<br /> // Connect to MySQL server and select database if possible<br /> //<br /> <br /> if &#40;$dbc = @mysql_connect &#40;$GB_DB&#91;'host'&#93; , $GB_DB&#91;'user'&#93; , $GB_DB&#91;'pass'&#93; &#41;&#41;<br /> &#123;<br /> 	if &#40;!@mysql_select_db &#40;$GB_DB&#91;'dbName'&#93;&#41;&#41;<br /> 	&#123;<br /> 		die &#40;'&lt;p&gt;Could not select the database because&#58; &lt;b&gt;'.mysql_error&#40;&#41;.'&lt;/b&gt;&lt;/p&gt;'&#41;;<br /> 	&#125;<br /> &#125; <br /> else <br /> &#123;<br /> 	die &#40;'&lt;p&gt;Could not connect to MySQL because&#58; &lt;b&gt;'.mysql_error&#40;&#41;.'&lt;/b&gt;&lt;/p&gt;'&#41;;<br /> &#125;<br /> <br /> //<br /> // Here we put any HTML that goes before our entries<br /> //<br /> <br /> print &quot;&lt;table&gt;<br /> &quot;;<br /> <br /> //<br /> // Run our MySQL query<br /> //<br /> <br /> $r = @mysql_query&#40;'SELECT * FROM '.$GB_TBL&#91;&quot;data&quot;&#93;.' ORDER BY id DESC LIMIT 5'&#41;;<br /> <br /> //<br /> // Turn the results into an array and go through the array formatting each entry<br /> //<br /> <br /> while &#40;$lentry = mysql_fetch_array&#40;$r&#41;&#41;<br /> &#123;<br /> 	$ldate = date&#40;&quot;l jS F Y&quot;, $lentry&#91;'date'&#93;&#41;;<br /> 	print &quot;&lt;tr&gt;<br /> 	&lt;td&gt;Name&#58;&lt;/td&gt;<br /> 	&lt;td&gt;$lentry&#91;'name'&#93;&lt;/td&gt;<br /> 	&lt;/tr&gt;<br /> 	&lt;tr&gt;<br /> 	&lt;td&gt;Posted&#58;&lt;/td&gt;<br /> 	&lt;td&gt;$ldate&lt;/td&gt;<br /> 	&lt;/tr&gt;<br /> 	&lt;tr&gt;<br /> 	&lt;td&gt;Message&#58;&lt;/td&gt;<br /> 	&lt;td&gt;$lentry&#91;'comment'&#93;&lt;/td&gt;<br /> 	&lt;/tr&gt;<br /> 	&quot;;<br /> &#125;<br /> <br /> //<br /> // Here goes any HTML for after the entries<br /> //<br /> <br /> print &quot;&lt;/table&gt;&quot;;<br /> <br /> //<br /> // Close the MySQL connection<br /> //<br /> <br /> mysql_close&#40;&#41;;<br /> ?&gt;[/code]]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4949/17718.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4949/17718.php</link>
				<pubDate><![CDATA[Tue, 23 Aug 2005 10:43:09]]> GMT</pubDate>
				<author><![CDATA[ Carbonize]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ thanks very much. <img src="https://proxy2.de/forum//images/smilies/283a16da79f3aa23fe1025c96295f04f.gif" />]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4949/17720.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4949/17720.php</link>
				<pubDate><![CDATA[Tue, 23 Aug 2005 16:34:22]]> GMT</pubDate>
				<author><![CDATA[ pureplayer]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ You can change the date format if you know PHP date code and the number of entries in the query. Can you let me see it in action ?]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4949/17721.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4949/17721.php</link>
				<pubDate><![CDATA[Tue, 23 Aug 2005 17:20:42]]> GMT</pubDate>
				<author><![CDATA[ Carbonize]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ After the code include .. I receive these kind of errors<br /> <br /> Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/username/public_html/book/latest.php on line 54]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4949/21814.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4949/21814.php</link>
				<pubDate><![CDATA[Sun, 17 Dec 2006 23:47:53]]> GMT</pubDate>
				<author><![CDATA[ JohnnyUSA]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ It means you have an error on line 54.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4949/21815.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4949/21815.php</link>
				<pubDate><![CDATA[Sun, 17 Dec 2006 23:54:39]]> GMT</pubDate>
				<author><![CDATA[ Carbonize]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ I just copied your instruction code .. so what's that error ?]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4949/21819.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4949/21819.php</link>
				<pubDate><![CDATA[Tue, 19 Dec 2006 05:54:33]]> GMT</pubDate>
				<author><![CDATA[ JohnnyUSA]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ [quote="JohnnyUSA"]I just copied your instruction code .. so what's that error ?[/quote]<br /> <br /> [b]T_ENCAPSED_AND_WHITESPACE[/b]]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4949/21823.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4949/21823.php</link>
				<pubDate><![CDATA[Tue, 19 Dec 2006 15:53:04]]> GMT</pubDate>
				<author><![CDATA[ JTD]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Line 54 is <br /> <br /> &lt;td&gt;$lentry['name']&lt;/td&gt; <br /> <br />  Can't see a reason for th eerror.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4949/21824.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4949/21824.php</link>
				<pubDate><![CDATA[Tue, 19 Dec 2006 16:01:58]]> GMT</pubDate>
				<author><![CDATA[ Carbonize]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Could you please check the code again? to make sure it work right ?]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4949/21827.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4949/21827.php</link>
				<pubDate><![CDATA[Wed, 20 Dec 2006 04:50:18]]> GMT</pubDate>
				<author><![CDATA[ JohnnyUSA]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ [code]// <br /> // Here we put any HTML that goes before our entries <br /> // <br /> <br /> print &quot;&lt;table&gt; <br /> &quot;; <br /> <br /> // <br /> // Run our MySQL query <br /> // [/code]<br /> <br /> The print on two lines maybe?<br /> <br /> Anyway, post what you have on line 54.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4949/21832.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4949/21832.php</link>
				<pubDate><![CDATA[Wed, 20 Dec 2006 23:49:10]]> GMT</pubDate>
				<author><![CDATA[ Auron]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Ah the wanderer returns.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4949/21833.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4949/21833.php</link>
				<pubDate><![CDATA[Thu, 21 Dec 2006 00:33:47]]> GMT</pubDate>
				<author><![CDATA[ Carbonize]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Something is really wrong with the  Line: 54 &lt;td&gt;$lentry['name']&lt;/td&gt;  and   Line: 61 &lt;td&gt;$lentry['comment']&lt;/td&gt; <br /> <br /> After I remove those 2 out, the display seem like work without error, but what is the right code for entry comment and name?]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4949/21836.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4949/21836.php</link>
				<pubDate><![CDATA[Thu, 21 Dec 2006 20:57:45]]> GMT</pubDate>
				<author><![CDATA[ JohnnyUSA]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ I will play with it soon.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4949/21837.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4949/21837.php</link>
				<pubDate><![CDATA[Thu, 21 Dec 2006 21:26:46]]> GMT</pubDate>
				<author><![CDATA[ Carbonize]]></author>
			</item>
	</channel>
</rss>