Please!!!!!!
How to edit it?
Collapse
X
-
PHP Code:<?php
session_start();
require_once ('inc/config.php');
require_once ('inc/func.php');
require_once ('inc/head.php');
$login = $_COOKIE['login'];
if (!is_user())
{
echo 'Yo are not login';
}
else {
$current = time();
$off = $current - 900;
$query = @mysql_query("INSERT INTO `online` (`login`,`time`,`local`) VALUES('".$login."','".$current."','".$_SERVER['PHP_SELF']."')");
$sql = @mysql_query("DELETE FROM `online` WHERE `time` < '".$off."');
$show = @mysql_query("SELECT * FROM `online` WHERE `login` = '".$login."'");
if (mysql_num_rows($show) !=0)
{
while($row = @mysql_fetch_array($show))
{
echo '<a href="/users/profile.php?user='.$row['login']">'.$row['login'].'</a> : '.$row['local'].'<br />
}
}
}
require_once ('inc/foot.php');
?>Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
Visit: WapMasterz Coming Back Soon!
_______
SCRIPTS FOR SALE BY SUBZERO
Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
_______
Info & Tips
php.net
w3schools.com
-
Originally posted by Moderators View PostPlease!!!!!!
Simple... in any text editor !It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt.
ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ â“â“¡â“” â“ⓑⓛⓔ ⓣⓞ â“—â“”â“â“¡ !
ιη тнєσÑу, тнє ÏÑα¢тι¢є ιѕ α Ñєѕυℓт σƒ тнє тнєσÑу, вυт ιη ÏÑα¢тι¢є ιѕ тнє σÏÏσѕιтє.
Comment
Comment