Quote:
Originally Posted by Mark.B
AH yes...I did the redirect by changing the redirect line to this:
Code:
exec_header_redirect($_SERVER['HTTP_REFERER']);
That sends you back to the page you were already on, thus replicating almost exactly the behaviour of the default style chooser.
If anybody knows how to pull the URL out of this please let me know. 
|
You can just echo it echo($_SERVER['HTTP_REFERER']);
Anyway I tried that already by the suggestion of Dismounted. Unfortunately, my server block this HTTP_REFERER requests and it not reliable on some browsers (IE from what I've read). Hence the workaround I've found on post #21.