I acquired a very basic redirect script from:
[HTML]http://www.minisitegal lery.com/blog/php-javascript-countdown-script-with-timezone-setting.html[/HTML]
which is supposed to count down to a specified date and switch to a new webpage after that date. The original coder had included this quote with the code:
It uses PHP to acquire the date from the server and javascript to keep refreshing the live countdown timer. Ok the javascript counter works fine but the redirect isn't working.
The output to this alert box showings the varbiable is equal to
Then I click the OK button to the alert and for some reason it's substituting an odd redirect location as follows:
Not sure why it is attaching both variables during runtime.
[HTML]http://www.minisitegal lery.com/blog/php-javascript-countdown-script-with-timezone-setting.html[/HTML]
which is supposed to count down to a specified date and switch to a new webpage after that date. The original coder had included this quote with the code:
WARNING…
This script is not created with proper error trapping. If it’s not working, then something is wrong with your implementation. And I can’t provide support for it either. Oh yeah, it’s poorly documented to.
So use at in anyway you want but don’t bug me with it.
This script is not created with proper error trapping. If it’s not working, then something is wrong with your implementation. And I can’t provide support for it either. Oh yeah, it’s poorly documented to.
So use at in anyway you want but don’t bug me with it.
It uses PHP to acquire the date from the server and javascript to keep refreshing the live countdown timer. Ok the javascript counter works fine but the redirect isn't working.
Code:
document.location.href = "<?=$_GET['data']?>"; alert("New Redirect Page="+ document.location.href);
Then I click the OK button to the alert and for some reason it's substituting an odd redirect location as follows:
Not sure why it is attaching both variables during runtime.
Comment