You are here: Re: Problem with PHP Page « All PHP « IT news, forums, messages
Re: Problem with PHP Page

Posted by Steffen on 04/06/06 09:49

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>


<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<?


$type = $_GET['type'] ;


if ($_GET['type'] == "")
{
echo " ?><script>
setTimeout("window.location.replace('http://www.example.com/')" ,0000)
</script><?


";



}


?><title>Stuff - <?

if ($_GET['type'] == "")
{
echo "Redirecting...";



}


elseif ($_GET['type'] == "youaremighty")
{
echo "You Are Mighty";


}


elseif ($_GET['type'] == "justgotowned")
{

//Here
echo "Just Got Owned" ;


}


?></title>
<meta name="keywords" content="stuff, internet, aninote, <?

if ($_GET['type'] == "youaremighty")
{
echo "You Are Mighty";



}


elseif ($_GET['type'] == "justgotowned")
{
//Here
echo "Just Got Owned" ;


}


?>">
<meta name="description" content="This page links to personalized
aninotes, in this case, <?

if ($_GET['type'] == "youaremighty")
{
echo "You Are Mighty";



}


elseif ($_GET['type'] == "justgotowned")
{

//Here
echo "Just Got Owned" ;


}


?>">
<link rel="stylesheet" type="text/css" href="../styles/default.css">
</head>

<body>


<p>blah</p>


</body>
</html>

I think i have found your errors. I have commented them in the code.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация