Have tried posting before but no response, would very much appreciate a thought here, as this problem is killing business - my process.php file is supposed to redirect after submit. Process.php is here:
Works fine for some; some get a "page not found" error instead of going to the redirect page; some get a blank page with "Done" at the bottom instead of going to the redirect page. Any clues would sure be appreciated.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The process.php file uses this command;
header("Refresh: 0;url=http://www.domain.com/");
It is possible for security or other reasons that certain browsers or certain browser settings prevent the use of this command. There are other methods and I would be happy to help you work it out. Send me a link to your form if it is not already posted. Send me a copy of your process.php file in an email (links do not work for php files).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Would you mind explaining why the html thank-you page will process a redirect without security issues but the process.php page cannot? I'd like to understand this and it might be instructive to others as well. Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
PHP is a server side scripting language. It runs on your hosts computer. When your host allows you to use PHP in your web site they have full control over what they allow you have access to. Web servers (hosts) make their own rules about what they allow and what they don't allow. Every browser also has it's own set of rules or features to allow or not allow. If you are having problems with some of your visitors you have three choices; 1 - you can quit, 2 - you can find out what is preventing you from doing a specific task and change or fix it, 3 - you can change your method and hope it performs better than the previous method. I will not try to determine why you are having this particular problem, I can only help you by providing other methods for you to try.
I can not answer the question about what security concerns would prompt someone to allow or disallow page redirects. I can only tell you that it is a known fact that poorly written forms can cause lots of problems, including spam, viruses, and attacks from hackers.
Use the tools you have available to you. Be as careful as you can when you design a web site. When things go wrong, if you really need the function, find a way to fix it.
Are you ready to try another method of redirecting your visitors?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The alternative method is working. Please, I don't expect you to educate me from the bottom up. I very much appreciate your explanation - didn't realize I was in over my head. Will learn more before I post again.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Have tried posting before but no response, would very much appreciate a thought here, as this problem is killing business - my process.php file is supposed to redirect after submit. Process.php is here:
http://www.songdoor.com/phpform/use/entryform/process.php
Redirect page URL:
http://www.songdoor.com/paypal.htm
Works fine for some; some get a "page not found" error instead of going to the redirect page; some get a blank page with "Done" at the bottom instead of going to the redirect page. Any clues would sure be appreciated.
The process.php file uses this command;
header("Refresh: 0;url=http://www.domain.com/");
It is possible for security or other reasons that certain browsers or certain browser settings prevent the use of this command. There are other methods and I would be happy to help you work it out. Send me a link to your form if it is not already posted. Send me a copy of your process.php file in an email (links do not work for php files).
Using the form gen thank you page option you don't get a redirect but the html thank you can be modified to do the redirect.
Would you mind explaining why the html thank-you page will process a redirect without security issues but the process.php page cannot? I'd like to understand this and it might be instructive to others as well. Thanks.
PHP is a server side scripting language. It runs on your hosts computer. When your host allows you to use PHP in your web site they have full control over what they allow you have access to. Web servers (hosts) make their own rules about what they allow and what they don't allow. Every browser also has it's own set of rules or features to allow or not allow. If you are having problems with some of your visitors you have three choices; 1 - you can quit, 2 - you can find out what is preventing you from doing a specific task and change or fix it, 3 - you can change your method and hope it performs better than the previous method. I will not try to determine why you are having this particular problem, I can only help you by providing other methods for you to try.
I can not answer the question about what security concerns would prompt someone to allow or disallow page redirects. I can only tell you that it is a known fact that poorly written forms can cause lots of problems, including spam, viruses, and attacks from hackers.
Use the tools you have available to you. Be as careful as you can when you design a web site. When things go wrong, if you really need the function, find a way to fix it.
Are you ready to try another method of redirecting your visitors?
The alternative method is working. Please, I don't expect you to educate me from the bottom up. I very much appreciate your explanation - didn't realize I was in over my head. Will learn more before I post again.