www - Redirect Page
Cara Redirect webpage dalam bermacam gaya
kasus : redirect ke lostfocus.org
HTML
<html>
<head>
<meta http-equiv=”Refresh” content=”0;URL=http://lostfocus.org">
</head>
</html>
PHP
<?
header (“Location: http://lostfocus.org“);
?>
CGI
#!/usr/bin/perl
print “Location: http://lostfocus.org\n\n“;
#!/usr/local/bin/python
print “Location: http://lostfocus.org\n\n“;
(jangan lupa chmod file nya ke 755)
JSP
<%
response.sendRedirect(“http://lostfocus.org“);
%>
Comments