Redirect a page using Javascript through PHP

/ Published in: PHP
Save to your folder(s)

Redirect page using PHP function.

I don't like using header() as I like to redirect page mid-page. This is implemented using Javascript written through PHP function. Has a die() function at the end for people who has disabled their Javascript in their browser.

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.