Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

resending information when the page is refreshed

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Postby Redcircle » Wed Jan 29, 2003 12:02 am

It will always say that if you are trying to refresh a Form POST method. a way around it would be to do a page redirect after you use the post with
Code: Select all
header("Location: http://www.website.com");


make sure you use the entire http://blah..ablah because some browsers do not like to redirect to a non full url call.

your other option would be to use GET method instead
User avatar
Redcircle
Moderator
Moderator
 
Posts: 830
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA

Return to PHP coding => General

Who is online

Users browsing this forum: Majestic-12 [Bot] and 2 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron