Let’s say the user submits feedback, and I want to redirect them to another location afterwards. Is it okay to do the following?
header("Refresh: 4; url=$location");
header("Connection: close");
echo
"
Feedback successfully submitted.
<hr />
";
Is there any other way of displaying information before redirecting? Should I use <meta http-equiv="refresh"… in this case?
I guess you mean something like this
http://zazeni.si/projekti/izrisitakoj/main/vprasanje_oddano
In my opinion you got it right, just use