I have a PHP page that has an error, but if I return, everything will be fine. I cannot redirect because the page can be accessed from two different places.
How can I create javascript that loads automatically when the page loads?
Thanks Sebastian
EDIT
that won't work. is there any way to get the url of history.go (-2)?
thanks Sebastian
source share