PHP form processing with URL parameters and Forwarding to HTML page

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Miles Davenport

    PHP form processing with URL parameters and Forwarding to HTML page

    Apologies for cross-posting, but I felt this query would be relevant to HTML
    and PHP forums.

    I am currently modifying a PHP IMAP script which allows the user to view
    their email via a web browser. I have made use of URL parameters which are
    passed to the webserver, and processed by the PHP code (better than
    javascript). No problems so far :)

    When I have reached a point where I no longer need these parameters, I use
    PHP header/location forward to reload the HTML form page. If my page was
    http://www.mysite.com/ foo.html and I was forwarding** to this specific URL
    (without any ***?myval=????& anotherVal params).

    When I reload the form**, I keep my URL parameters that were present*** the
    previous time the form was processed (they are there in the URL_REFERRER).
    Can someone tell me how to lose the parameters, so I just forward to
    foo.html. :)

    thanks :)

    cheers

    Miles.











Working...