The best way I would think of doing it is by using frames. - there is quite possibly a better way, but my suggestion would be
The PHP script generates something like
is replaced by the address the page is redirecting to.
Hope this helps,