<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[PunBB Forums - New profile menu, editing profile redirect issue]]></title>
	<link rel="self" href="http://punbb.informer.com/forums/feed/atom/topic/19488/"/>
	<updated>2008-07-04T19:17:09Z</updated>
	<generator>PunBB</generator>
	<id>http://punbb.informer.com/forums/topic/19488/new-profile-menu-editing-profile-redirect-issue/</id>
		<entry>
			<title type="html"><![CDATA[Re: New profile menu, editing profile redirect issue]]></title>
			<link rel="alternate" href="http://punbb.informer.com/forums/post/116430/#p116430"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[MattF]]></name>
				<uri>http://punbb.informer.com/forums/user/9938/</uri>
			</author>
			<updated>2008-07-04T19:17:09Z</updated>
			<id>http://punbb.informer.com/forums/post/116430/#p116430</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[New profile menu, editing profile redirect issue]]></title>
			<link rel="alternate" href="http://punbb.informer.com/forums/post/116429/#p116429"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[tombug]]></name>
				<uri>http://punbb.informer.com/forums/user/13179/</uri>
			</author>
			<updated>2008-07-04T18:35:05Z</updated>
			<id>http://punbb.informer.com/forums/post/116429/#p116429</id>
		</entry>
</feed>
