(bir readfile sonra bir sayfaya yönlendirmek mümkündür)

0 Cevap

, HI

Bir readfile sonra bir sayfa () yönlendirmek mümkün olmadığını, sadece merak, ben Soket kullanmaya çalıştı ama o da meta yönlendirme ya da çalışmıyor, çalışmıyor

header ("Content-Type: application/pdf");

header("Content-Disposition: attachment; filename=$file");
header("Content-Length: $size");

readfile($file_path);  //giving file to costumer
//header('Location:../checkout.php'); doesn't work
//echo ('<meta http-equiv="refresh" content="1;url=../checkout.php">'); doesnt work

Herhangi bir yardım mutluluk duyacağız.

teşekkürler

0 Cevap