Login   Register  
PHP Classes
elePHPant
Icontem

File: index.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Igor Herson Aquino de França  >  Url short URL dynamic  >  index.php  >  Download  
File: index.php
Role: Example script
Content type: text/plain
Description: test script
Class: Url short URL dynamic
Create and redirect URL shortcuts
Author: By
Last change:
Date: 2008-09-18 09:32
Size: 730 bytes
 

Contents

Class file image Download
<?php
require('miniUrl.php');
$tinyurl = new miniUrl();
$tinyurl->redirectPage();
 
?>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>MiniURL Result</title>

</head><frameset rows="30,*">
<frame src="header.php?code=<?php echo $tinyurl->gets[1]; ?>" scrolling=no marginwidth=0 marginheight=0">
<p>Original Adress: <?php echo $tinyurl->destiny;?></>
<frame src="<?php echo $tinyurl->destiny;?>"><noframes>Seu browser não suporta frames. O Google utiliza frames para mostrar os resultados da pesquisa de imagens. Você pode ver a <a href=http://sonataperdue.blogspot.com/2007/10/fotofemini-igor-amelkovich.html>página original</a> desta imagem.</noframes></frameset>
</html>