Use header() + file_get_contents() to implement file forwarding
The header() function is used to send raw HTTP header information. If you want to redirect the user's request to another page, you can use the Location HTTP header. The basic syntax is as follows:
header