Plz Help!

Started on the old forum in December 2006 · view the original in the archive · old links redirect here

6 replies · 623 views · started 19 years ago · 1 min read

songokas13 #1
<?php if($id == "jungiama") { if(!mysql_fetch_row(mysql_query("SELECT `nick` FROM users WHERE `nick` LIKE '".$_GET['nn']."' AND pass='".md5($_GET['pas'])."'"))) { print "<?xml version=\"1.0\" encoding=\"utf-8\"?>";
    echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\""
    . " \"http://www.wapforum.org/DTD/wml_1.1.xml\">
    <wml><card id=\"index\" title=\"***\">";
    echo "

Blogi duomenys </card></wml>"; exit; } else { session_name('wapID'); session_start();

    $_SESSION['nick'] = $_GET['nn'];
    $_SESSION['pass'] = $_GET['pas'];
    print "<?xml version=\"1.0\" encoding=\"utf-8\"?>";
	echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\""
    . " \"http://www.wapforum.org/DTD/wml_1.1.xml\">
    <wml><card id=\"index\" title=\"***\">";
    echo "

    Prisijungei sėkmingai!

    <anchor>Toliau<go href=\"prisijungus.php?wapID=".session_id()."\"></go></anchor>

"; } } echo "</card></wml>"; ?>

Can you say what's wrong? External image (may be gone)

subzero Super moderator Fellow · 3,954 posts #2

what script this go with there 2 ways that can be fix .

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... _______…

songokas13 #3

I'm a new....Iwith registration, login password makes to a letters and numbers i don't know. It's a Wap game http://wap-online.net and when i trying to go i get error 1: <?xml version="1.0" encoding="utf-8"?><!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"> 2: <wml><card id="index" title="MUWap.ne1.NET"> Blogi duomenys </card></wml>

3: Warning: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0

Can you help me?

subzero Super moderator Fellow · 3,954 posts #4

oh ok it the server has plugin mate ? it be some where in script

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... _______…

songokas13 #5

What has?I don't understand External image (may be gone) it's error maybe on user_check.php? thats script:

<?php session_id(strip_tags($_GET['wapID'])); session_start(); if( empty($_SESSION['nick']) || empty($_SESSION['pass']) ) { print "<?xml version=\"1.0\" encoding=\"utf-8\"?>";
echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\""
. " \"http://www.wapforum.org/DTD/wml_1.1.xml\">
<wml><card id=\"index\" title=\"***\">";
echo "

Blogi duomenys </card></wml>"; exit; } else { $nn = $_SESSION['nick']; $pas = $_SESSION['pass'];

    }

$fp = fopen("laikas.txt", "r");
$laikas = fread($fp, 1024);
fclose($fp);

if (time() - $laikas > 14400)
{
	$fp = fopen("laikas.txt", "w");
	fwrite($fp, time());
	fclose($fp);

	$fp = fopen("dienos.txt","r");
	$dienos = fread($fp, 1024);
	fclose($fp);

	$dienos++;
	$fp = fopen("dienos.txt","w");
	fwrite($fp, $dienos);
	fclose($fp);

	mysql_query("UPDATE `bankas` SET kiekis=kiekis+kiekis*0.03") or die( mysql_klaida( mysql_error() ) );
	mysql_query("UPDATE `gaujos` SET puolimai=0") or die( mysql_klaida( mysql_error() ) );
	mysql_query("UPDATE `users` as `useriai`, pastatai as build SET useriai.pinigai=useriai.pinigai+build.uzdarbis WHERE useriai.nick=build.kieno") or die( mysql_klaida( mysql_error() ) );
    mysql_query("UPDATE `users` as `useriai`, keksynas as kurvos SET useriai.pinigai=useriai.pinigai+kurvos.uzdarbis WHERE useriai.nick=kurvos.kieno") or die( mysql_klaida( mysql_error() ) );
	mysql_query("UPDATE `users` SET sportas=0, nusikaltimai=0, pinigai=pinigai+1000, givybes=100, ieskomumas=0") or die( mysql_klaida( mysql_error() ) );
}

if(!mysql_query("INSERT INTO `online` (nick,laikas) VALUES ('".$nn."',NOW())"))
{
	mysql_query("DELETE FROM `online` WHERE `laikas` < NOW() - 120");
	mysql_query("UPDATE `online` SET laikas = NOW() WHERE `nick` LIKE '$nn'");
}

?>

subzero Super moderator Fellow · 3,954 posts #6

its not in eng bro it mite be i try to sign up i think you need give pro to mysql all rights

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... _______…

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close