Just two small code improvements I found:
1) It's best practice in PHP to make all the header-calls before outputting the body of the page. Otherwise, those headers might not be applied.
2) The header-call returns void, so printing that is useless. Also, the line below set the same header again, so it's basically a duplicate line.
Just two small code improvements I found: 1) It's best practice in PHP to make all the header-calls before outputting the body of the page. Otherwise, those headers might not be applied. 2) The header-call returns void, so printing that is useless. Also, the line below set the same header again, so it's basically a duplicate line.