Ben sadece bir tane var. Php (root/process.php
) çoklu dil dosyası
root/en/command.htm
root/fr/command.htm
root/ru/command.htm
ve bu yüzden bir. Ancak, komutların her biri için ben aynı klasörde bir thankYou.htm
var:
root/en/thankYou.htm
root/fr/thankYou.htm
root/ru/thankYou.htm
Nasıl ben bunu işledikten sonra sayfayı yönlendirmek process.php
?
// redirect to a thank you page
header("Location: " .$_SERVER['HTTP_REFERRER']. "\thankYou.htm");
Bu işe yaramazsa:. Hata 404 Normalde, yönlendirme örneğin tarafından root/ru/command.htm
, yani php root/ru/thankYou.htm
vb kullanıcıya gönderilen olursa