SaIRoS
08-30-2006, 11:35 AM
Well, I think this is really a nice script and can be used to redirect from a page to another. I used this many times :P
HTML version (you must put this within the <head></head> tags:
<div class='htmltop'>HTML</div><div class='htmlmain'><meta
http-equiv="refresh" content="0; url=your new address.html"></div>
content=0 is time in seconds that the page will wait untill redirect you - so change it to any time you want
url= is the redirection (destination) URL
the file mast be saved like HTML document (index.html for example)
PHP version:
Create a new document and change it's extension to PHP file. Name it index.php
Now open it with notepad and paste this code:
<?
echo ("<meta http-equiv=\"Refresh\" content=\"0; URL=redirection URL here\"/>Your Are Now Being Redirected");
?>
as you can see it's almost the same as HTML code
change the content= fieled to whatever you want in seconds and URL= to your desired destination URL
Enjoy :cool:
HTML version (you must put this within the <head></head> tags:
<div class='htmltop'>HTML</div><div class='htmlmain'><meta
http-equiv="refresh" content="0; url=your new address.html"></div>
content=0 is time in seconds that the page will wait untill redirect you - so change it to any time you want
url= is the redirection (destination) URL
the file mast be saved like HTML document (index.html for example)
PHP version:
Create a new document and change it's extension to PHP file. Name it index.php
Now open it with notepad and paste this code:
<?
echo ("<meta http-equiv=\"Refresh\" content=\"0; URL=redirection URL here\"/>Your Are Now Being Redirected");
?>
as you can see it's almost the same as HTML code
change the content= fieled to whatever you want in seconds and URL= to your desired destination URL
Enjoy :cool: