Jump to content


Photo

header redirect and post data


  • Please log in to reply
1 reply to this topic

#1 mistergoomba

mistergoomba
  • Members
  • PipPip
  • Member
  • 16 posts

Posted 21 April 2006 - 08:26 PM

I have a form 'form.php' which sends post data to 'actions/form.php' which then processes the information and uses header("Location: ../form.php"); exit; to return to the form after the script has executed.

The problem is, when the user is returned to form.php and hits 'Refresh' or 'Reload', the pop up saying 'The page you are trying to view contains POSTDATA'. Is there a way I can dump post data in the form.php header?

#2 Ninjakreborn

Ninjakreborn
  • Members
  • PipPipPip
  • Information Technology Specialist
  • 3,922 posts
  • Age:33

Posted 22 April 2006 - 01:38 AM

use the die or exit command, check the manual for more information on it,.

------

Business Website: http://www.infotechnologist.biz

Personal Website: http://www.joyelpuryear.com

Blog Site: http://www.realmofwriting.com
Services: Web development, application development, mobile development, and custom development. All services listed on my website.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users