<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[PunBB Forums - New profile menu, editing profile redirect issue]]></title>
		<link>http://punbb.informer.com/forums/topic/19488/new-profile-menu-editing-profile-redirect-issue/</link>
		<description><![CDATA[The most recent posts in New profile menu, editing profile redirect issue.]]></description>
		<lastBuildDate>Fri, 04 Jul 2008 19:17:09 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: New profile menu, editing profile redirect issue]]></title>
			<link>http://punbb.informer.com/forums/post/116430/#p116430</link>
			<description><![CDATA[<p>Do you require/include your file from profile.php? If so, try putting this into your file instead of the $_GET version:</p><div class="codebox"><pre><code>$id = isset($id) ? intval($id) : 0;</code></pre></div><p>If that makes no difference, you&#039;re going to have to post up the part of your profile.php where you reference the file, and likely the file itself so we can get an idea of how you&#039;re doing things. <img src="http://punbb.informer.com/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (MattF)]]></author>
			<pubDate>Fri, 04 Jul 2008 19:17:09 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/116430/#p116430</guid>
		</item>
		<item>
			<title><![CDATA[New profile menu, editing profile redirect issue]]></title>
			<link>http://punbb.informer.com/forums/post/116429/#p116429</link>
			<description><![CDATA[<p>i added a new menu into the profile, all if is loaded from its own php file, but when i edit the options from this menu in other ppls profiles and save it it will redirect it self back to my profile</p><p>redirect code<br /></p><div class="codebox"><pre><code>redirect(&#039;profile.php?section=misc&amp;amp;id=&#039;.$id, &#039;Misc Updated&#039;);</code></pre></div><p>and the $id<br /></p><div class="codebox"><pre><code>$id = isset($_GET[&#039;id&#039;]) ? intval($_GET[&#039;id&#039;]) : 0;</code></pre></div><p>this id is the same from profile.php, thought that might fix it<br />ive had this issue for some time and i cant seem to fix it, any help id be very appreciative</p>]]></description>
			<author><![CDATA[dummy@example.com (tombug)]]></author>
			<pubDate>Fri, 04 Jul 2008 18:35:05 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/116429/#p116429</guid>
		</item>
	</channel>
</rss>
