Search found 7 matches
- Wed May 09, 2012 10:11 am
- Forum: PHP - Code
- Topic: Double post problem
- Replies: 12
- Views: 1773
Re: Double post problem
OK thank you everybody I think I got it!!
- Wed May 09, 2012 9:40 am
- Forum: PHP - Code
- Topic: Double post problem
- Replies: 12
- Views: 1773
Re: Double post problem
Right, thank you. It redirects to main page now. But I have another problem because when I submit without filling all the required (*) fields it displays the message "You must complete fielsds with *" in a totally white page with anything else, wich is not very usefull.
- Wed May 09, 2012 9:26 am
- Forum: PHP - Code
- Topic: Double post problem
- Replies: 12
- Views: 1773
Re: Double post problem
Sorry but I'm looking in several places and I've confused solutions. Now I've tried putin the headers line with the php code at the begining and it doesn't work and I'v e got this error message: Warning: Cannot modify header information - headers already sent by (output started at /mnt/webf/b0/75/51...
- Wed May 09, 2012 9:18 am
- Forum: PHP - Code
- Topic: Double post problem
- Replies: 12
- Views: 1773
Re: Double post problem
Ok thank you. Actually now when I go to the page the wait 5 minutes message comes out in a completly white screen. Here is my code <?php session_start(); if(isset($_SESSION['timeout']) && $_SESSION['timeout'] < strtotime("now")){ echo "You cannot submit another e-mail so soon,...
- Wed May 09, 2012 8:41 am
- Forum: PHP - Code
- Topic: Double post problem
- Replies: 12
- Views: 1773
Re: Double post problem
Thanks robnet but that didn't work neither. I didn't get the error messages but it didn't redirect to another page and I got two email anyway!!
- Wed May 09, 2012 8:23 am
- Forum: PHP - Code
- Topic: Double post problem
- Replies: 12
- Views: 1773
Re: Double post problem
I've tried with header line but I get a error message with: headers already sent...
- Wed May 09, 2012 7:23 am
- Forum: PHP - Code
- Topic: Double post problem
- Replies: 12
- Views: 1773
Double post problem
My problem is with a mail form. Everything works ok untill you refresh the internet navigator or you hit the back arrow. If you refresh it resends the mail so I receve it twice. And if you hit back all the information is still there. I've tried a huge amount of possible solutions and none worked. I'...