powershell -Command "Start-Process cmd -Verb RunAs"
Redirection of pages:
_______________________________________
HTML WAY:
________________________________________
<!DOCTYPE html>
<html>
<head>
<title>HTML Redirect</title>
<meta http-equiv="refresh"
content="5; url = https://ide.geeksforgeeks.org" />
</head>
<body>
<h1 style="text-align:center;color:green;">
GeeksforGeeks
</h1>
<p style="text-align:center;">
If your browser supports Refresh,
you'll be redirected to GeeksforGeeks
Homepage, in 5 seconds.
</p>
</body>
</html>
<?php
header("Location: https://ide.geeksforgeeks.org");
exit();
?>
<html>
<head>
<title>HTML Redirect</title>
<meta http-equiv="refresh"
content="5; url = https://ide.geeksforgeeks.org" />
</head>
<body>
<h1 style="text-align:center;color:green;">
GeeksforGeeks
</h1>
<p style="text-align:center;">
If your browser supports Refresh,
you'll be redirected to GeeksforGeeks
Homepage, in 5 seconds.
</p>
</body>
</html>
________________________________________
PHP WAY:
________________________________________
header("Location: https://ide.geeksforgeeks.org");
exit();
?>
https://debiandog.github.io/doglinux/zz06-trinitydog.html
No comments:
Post a Comment
Коментар: