<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Adv. Guestbook question...how to change language on the fly?"]]></title>
		<link>https://proxy2.de/forum/posts/list/3.php</link>
		<description><![CDATA[Latest messages posted in the topic "Adv. Guestbook question...how to change language on the fly?"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Adv. Guestbook question...how to change language on the fly?</title>
				<description><![CDATA[ So, im asking that because my site is localised on three different languages. For that i want be able to create hyperlink to adv. guestbook in each lang version of my site, so when visitor click on it, he will be directed to the desired language version of guestbook.<br /> Or maybe to create links on first page of guestbook ... however thats the same ...<br /> Pls. help me if u can .... im not a php guru so i'll be mercifull for any helping aspect.<br /> 10x]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/31/83.php</guid>
				<link>https://proxy2.de/forum/posts/preList/31/83.php</link>
				<pubDate><![CDATA[Sat, 19 Jan 2002 04:11:58]]> GMT</pubDate>
				<author><![CDATA[ Aryan]]></author>
			</item>
			<item>
				<title>Guestbook language</title>
				<description><![CDATA[ OK, that's not too difficult.<br /> <br /> [code]<br /> &lt;?php<br />   /* language.php */<br />   $referer = getenv("HTTP_REFERER");<br />   if (empty($referer)) {<br />     $target = "index.php";<br />   }<br />   if(!isset($lang)) {<br />     $lang = "english";<br />   } <br />   SetCookie("lang", "$lang", time()+86400*365);<br />   header("Location: $target");<br />   exit();<br /> <br /> ?&gt;<br /> [/code]<br /> <br /> And add some links <br /> <br /> Language: &lt;a href="language.php?lang=english"&gt;English&lt;/a&gt; | &lt;a href="language.php?lang=german"&gt;German&lt;/a&gt;]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/31/85.php</guid>
				<link>https://proxy2.de/forum/posts/preList/31/85.php</link>
				<pubDate><![CDATA[Sat, 19 Jan 2002 11:44:17]]> GMT</pubDate>
				<author><![CDATA[ Webmaster]]></author>
			</item>
			<item>
				<title>Some more help if not too cheekily ...</title>
				<description><![CDATA[ 10x a lot for helping me  :lol: <br /> u make me very happy man  8) <br /> But ... lets make things better ...<br /> <br /> [list]1. Your advise works perfect with IE and NS, but NOT with Opera ... i dont have idea why ... :roll: <br /> 2. It will be nice if i can change both gifs on first page with their language analogs ... i've tried to change img src in body.php with<br /> [code]&lt;img src="$GB_PG[base_url]/img/signing-".$HTTP_COOKIE_VARS['lang'].".gif"<br /> &lt;img src="$GB_PG[base_url]/img/gbook-".$HTTP_COOKIE_VARS['lang'].".gif"[/code]<br /> but thats finish with parse errors ... so again ... it needs help from professional<br /> 3. It's nice to have links for different languages, but im wondering if its possible to create drop-down menu which output is the scan of lang directory so that the user can change Adv. GB to its very own native language ... i mean some code like in admin section ... ofcourse i can make it by simply adding drop down menu in body.php, but anyway that dont work because of cookie settings that language.php sets[/list]<br /> <br /> Thank You in advance for Your patience ...<br /> If You dont have time to answering all my questions, note that only number 2 is really important to me  :lol: , but ofcourse it will be nice to c Adv. GB little more advanced  :lol:]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/31/91.php</guid>
				<link>https://proxy2.de/forum/posts/preList/31/91.php</link>
				<pubDate><![CDATA[Sun, 20 Jan 2002 05:20:58]]> GMT</pubDate>
				<author><![CDATA[ Aryan]]></author>
			</item>
			<item>
				<title>guestbook</title>
				<description><![CDATA[ 1.) Who uses Opera? (&lt;4%)<br /> <br /> 2.) <br /> [code]&lt;img src="$GB_PG[base_url]/img/signing$HTTP_COOKIE_VARS[lang].gif" <br /> &lt;img src="$GB_PG[base_url]/img/gbook-$HTTP_COOKIE_VARS[lang].gif"<br /> [/code]<br /> <br /> and don't forget to add a <br /> global $HTTP_COOKIE_VARS[/code]]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/31/100.php</guid>
				<link>https://proxy2.de/forum/posts/preList/31/100.php</link>
				<pubDate><![CDATA[Mon, 21 Jan 2002 09:40:33]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title>Opera and Netscape 6.x problem when changing languages ...</title>
				<description><![CDATA[ Yep, maybe users using Opera r &lt;4% ... but how about Netscape 6.x ???<br /> There is ABSOLUTELLY same problem!!!<br /> So lets see whats happen:<br /> 1. When u click on link(eg.German) opera(ns6.x) generates blank page which says :<br /> <br /> [code]Redirected to<br /> Generated by Opera ©[/code]<br /> <br /> 2. The address on the address bar changes to :<br /> [code]http://php/gbookphp/language.php?lang=german[/code]<br /> <br /> 3. And now if U go to address bar and push enter on that address ... viollaaaa ... evrything is ok and lang changes to german ...<br /> <br /> I think something is wrong when opera/ns parses this lang.php file ... but i dont know what!<br /> <br /> So pls. help to fix this problem]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/31/147.php</guid>
				<link>https://proxy2.de/forum/posts/preList/31/147.php</link>
				<pubDate><![CDATA[Fri, 25 Jan 2002 09:34:47]]> GMT</pubDate>
				<author><![CDATA[ Aryan]]></author>
			</item>
			<item>
				<title>guestbook 2.0</title>
				<description><![CDATA[ instead of redirecting with <br /> header ("Location : $new_location");<br /> <br /> you can generate a new page and use the meta tags<br /> <br /> e.g.<br /> <br /> &lt;html&gt;<br /> &lt;head&gt;<br /> &lt;meta http-equiv="refresh" content="0;URL=index.php"&gt;<br /> &lt;/head&gt;<br /> &lt;body&gt;<br /> &lt;/body&gt;<br /> &lt;/html&gt;]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/31/279.php</guid>
				<link>https://proxy2.de/forum/posts/preList/31/279.php</link>
				<pubDate><![CDATA[Fri, 1 Feb 2002 16:00:13]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Why to make such twisted ways to overcome a small (maybe) rewriting of lang.php code ... it sounds stupid ... i REALLY like nice and clear ways to do things ... srry 4 that my dear Guest ut thats not the answer ... in my eyes ofcourse  <img src="https://proxy2.de/forum//images/smilies/2786c5c8e1a8be796fb2f726cca5a0fe.gif" />]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/31/289.php</guid>
				<link>https://proxy2.de/forum/posts/preList/31/289.php</link>
				<pubDate><![CDATA[Sat, 2 Feb 2002 06:59:26]]> GMT</pubDate>
				<author><![CDATA[ Aryan]]></author>
			</item>
	</channel>
</rss>