Plz Help!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Plz Help!

    <?php
    if($id == "jungiama")
    {

    if(!mysql_fetch_row(mysql_query("SELECT `nick` FROM users WHERE `nick` LIKE &#39;".$_GET[&#39;nn&#39;]."&#39; AND pass=&#39;".md5($_GET[&#39;pas&#39;])."&#39;")))
    {
    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 "<p align=\"center\">Blogi duomenys</p></card></wml>";
    exit;
    }
    else
    {
    session_name(&#39;wapID&#39;);
    session_start();

    $_SESSION[&#39;nick&#39;] = $_GET[&#39;nn&#39;];
    $_SESSION[&#39;pass&#39;] = $_GET[&#39;pas&#39;];
    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 "<p align=\"center\">
    Prisijungei sėkmingai!

    <anchor>Toliau<go href=\"prisijungus.php?wapID=".session_id()."\"></go></anchor>
    </p>";
    }
    }
    echo "</card></wml>";
    ?>

    Can you say what&#39;s wrong?

    #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...
    _______
    Info & Tips
    php.net
    w3schools.com

    Comment


      #3
      I&#39;m a new....Iwith registration, login password makes to a letters and numbers i don&#39;t know. It&#39;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"><p align="center">Blogi duomenys</p></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?

      Comment


        #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...
        _______
        Info & Tips
        php.net
        w3schools.com

        Comment


          #5
          What has?I don&#39;t understand it&#39;s error maybe on user_check.php? thats script:

          <?php

          session_id(strip_tags($_GET[&#39;wapID&#39;]));
          session_start();

          if( empty($_SESSION[&#39;nick&#39;]) || empty($_SESSION[&#39;pass&#39;]) )
          {

          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 "<p align=\"center\">Blogi duomenys</p></card></wml>";
          exit;
          }
          else
          {
          $nn = $_SESSION[&#39;nick&#39;];
          $pas = $_SESSION[&#39;pass&#39;];

          }

          $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 (&#39;".$nn."&#39;,NOW())"))
          {
          mysql_query("DELETE FROM `online` WHERE `laikas` < NOW() - 120");
          mysql_query("UPDATE `online` SET laikas = NOW() WHERE `nick` LIKE &#39;$nn&#39;");
          }



          ?>

          Comment


            #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...
            _______
            Info & Tips
            php.net
            w3schools.com

            Comment


              #7

              Comment

              Working...
              X