RSS Facebook Google+ Twitter YouTube

ShichDouble Framer v0.1



A small script made by me using simple codes and utilities.



Use: Use a frame to redirect others when they will go out of your website.
Language: PHP & HTML
Duration: 1 hour


Code:



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<?php
$hpname =""; /* Website name - exemple: Shichemt Home */
$homepage = ""; /* Your Homepage or your customized upframe.html - exemple: http://www.shichemt-alen.com/ */
$url = (isset($_GET['url']) && (!empty($_GET['url']))) ? trim($_GET['url']) : @header('Location: /index.php'); /* Get URL From Adress or If Empty redirect to index.php */
$link = "$url"; /* "Redirect to" URL */
?>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title><? echo "$hpname"; ?> will redirect you to: <? echo "$link"; ?></title>
</head>

<frameset rows="200,*" frameborder="no" border="0" framespacing="0">
<frame src="<? echo "$homepage"; ?>" name="topFrame" scrolling="No" noresize="noresize" id="topFrame">
<frame src="<? echo "$link"; ?>" name="mainFrame" id="mainFrame">
</frameset>
<noframes><body>http://www.blogger.com/img/blank.gif
</body>
</noframes>
<!-- Please do not remove this -->
<!--
Created by Shichemt Alen
Blog: http://shichemt-alen.blogspot.com/
Website: http://www.shichemt-alen.com/
Script-Name: ShichDouble Framer
Version: 0.1
-->
</html>

or click here

FAQ:

Q: How to install it?
R: Just save it to a php file and upload it to a server that support php files.



Q: An error is shown "index.php not found", what shall I do?
R: Simply, change "/index.php"
@header('Location: /index.php');

By your website index page
@header('Location: /yourpage.php');




Fix & Issues:
Feel free to send an email with the issue and a screen shot.

0 Comments |:

Post a Comment