Просмотр файла worldtimeservis/timereg.php

Размер файла: 1.1Kb
<?php
header("Content-type: text/vnd.wap.wml; charset=ISO-8859-1");
echo "<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?>";
echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"
\"http://www.wapforum.org/DTD/wml_1.1.xml\">\n";
echo "<!-- 2005 - 2008 [email protected] -->\n";


echo "<wml>";
echo "<head><meta http-equiv=\"Cache-Control\" content=\"no-cache\" forua=\"true\"/></head>";

echo "<card title=\"Registration\">";
echo "<p>\n";
echo "\n";

$sitereg = str_replace ("http://", "", $sitereg);
$sitereg = str_replace ("Http://", "", $sitereg);
$sitereg = str_replace ("HTTP://", "", $sitereg);

$tiednim= fopen('timesites.txt', 'a');
$lisnim=$sitereg.'
';
fputs($tiednim, $lisnim);
fclose($tiednim);

echo "Registration success!<br/>Put this link to your site: <br/><br/>http://yoursite.com/folder/yourtime.php?site=$sitereg<br/>";

echo "<a href=\"yourtime.php?site=$sitereg\">Look your page</a><br/><br/>";
echo "<a href=\"http://gscorpy.net\">Gscorpy Portal</a><br/>";
echo "<a href=\"timereg.wml\">Back</a><br/>";

echo "\n";
echo "</p>";
echo "</card>";
echo "</wml>";
?>