1

I need help, how can I do anything after I sent header? When I sent data, then I would like to refresh or redirect page. Maybe something check if printing finished...

header("Location: quickprinter://" . $textEncoded );

After this it stay on the page, but I can’t add more function like a refresh or redirect.

//This line not working:
header("Refresh: 1; url=/index.php");

//This line is overwriting the printing:
header("Location: /index.php"); 

Any idea would be helpful. Thanks.

Joffrey Schmitz
  • 2,393
  • 3
  • 19
  • 28
Slyrfecso
  • 33
  • 5

0 Answers0