<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1039171" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1039171</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/p#comment-1222454</link>
    <description> &lt;p&gt;Well I was thinking along the lines of using a cookie instead... But now I get what you mean, I hope you resolve it...&lt;/p&gt;
 </description>
     <pubDate>Wed, 01 Aug 2007 04:29:03 +0000</pubDate>
 <dc:creator>demonhale</dc:creator>
 <guid isPermaLink="false">comment 1222454 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/p#comment-1222434</link>
    <description> &lt;p&gt;hmm&lt;/p&gt;
&lt;p&gt;Reading your post mscreashuns prompted me to try something I should have done myself really, - echoing the variable.&lt;br /&gt;
it revealed my true problem as it showed that $_SERVER[&#039;HTTP_REFERER&#039;] does actually get the p=2 bit as well&lt;/p&gt;
&lt;p&gt;Soits something within the page script when it goes to the next page, as it most certainly doesnt use the p=2 that is put in the address bar&lt;/p&gt;
&lt;p&gt;demonhale, thanks but yes, you were on the wrong track&lt;br /&gt;
I have a page that has user items on it, if the user has more than 30 items it displays a link for page 2.but page 2 is still scripted within the same file, it has all the same layout etc, but just displays the 30-60 items&lt;/p&gt;
&lt;p&gt;so if the user went to the delete item page and then changed his mind and selected NO, I wanted to send them back to whatever item page number they were viewing when they clicked to go to the next page&lt;/p&gt;
&lt;p&gt;but basically sending the user to &lt;a href=&quot;http://www.website.com/index.php?p=2&quot; class=&quot;bb-url&quot;&gt;website.com/index.php?p=2&lt;/a&gt; wont work because the scripts on the page havent determined there is a page 2 (p=2) until the page actually runs, so simply sending a user to that URL link doesnt cut it&lt;/p&gt;
&lt;p&gt;I will have to have a good think about it&lt;br /&gt;
Thanks for the input though&lt;br /&gt;
I must remember to echo vars I am having trouble with the find out what they are doing&lt;/p&gt;
&lt;p&gt;cheers!&lt;/p&gt;
 </description>
     <pubDate>Tue, 31 Jul 2007 18:30:41 +0000</pubDate>
 <dc:creator>greg</dc:creator>
 <guid isPermaLink="false">comment 1222434 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/p#comment-1222398</link>
    <description> &lt;p&gt;Why dont you just put a basic link for the no part so that it goes to the desired page, rather than scripting it in?&lt;/p&gt;
&lt;p&gt;i.e.&lt;br /&gt;
Yes (You follow form submite)&lt;br /&gt;
No (&lt;a href=&quot;to the no page&quot;&gt;No&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;or I might be misunderstanding what you&#039;re trying to achieve...&lt;/p&gt;
 </description>
     <pubDate>Tue, 31 Jul 2007 05:18:49 +0000</pubDate>
 <dc:creator>demonhale</dc:creator>
 <guid isPermaLink="false">comment 1222398 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/p#comment-1222395</link>
    <description> &lt;p&gt;You want to display the URL with the variables attached, as it would appear if one wanted to visit it?&lt;/p&gt;
&lt;p&gt;So it seems you could do something like this, with the variables you have listed below:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;$fullURL = $url . &amp;quot;?p=&amp;quot; . $pagenumber;&lt;br /&gt;echo $fullURL;&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;and you could place that URL within just about anything to get the result of (in your example):&lt;/p&gt;
&lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;Quote:&lt;br /&gt;
/folder/index.php?p=2
&lt;/p&gt;&lt;/blockquote&gt;
 </description>
     <pubDate>Mon, 30 Jul 2007 23:37:33 +0000</pubDate>
 <dc:creator>mscreashuns</dc:creator>
 <guid isPermaLink="false">comment 1222395 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
