Gunz web to work?

Results 1 to 1 of 1
  1. #1
    Proficient Member lapochier is offline
    MemberRank
    Oct 2008 Join Date
    153Posts

    Gunz web to work?

    Hi all,

    anyoen can help me to made this work -_- http://forum.ragezone.com/f245/relea...-v-2-a-466241/

    i use wanp server v2.0 soo when i open register or clan upload its show me this

    C:\wamp\www\Website\register.php on line 21

    uplaod clan image :

    '; } if ($step == '2') { $user1 = anti_injection($_POST['user']); $pass1 = anti_injection($_POST['pass']); if (valida(Array($user1,$pass1)) == TRUE) { $query = mssql_query("SELECT AID From Login Where UserID = '$user1' AND Password = '$pass1' "); while($r = mssql_fetch_array($query)){ if (mssql_num_rows($query) == 1){ $query2 = mssql_query(" SELECT Login.UserID, Login.Password, ClanMember.Grade, Clan.EmblemUrl, Clan.Name, Clan.CLID FROM ClanMember INNER JOIN Clan ON ClanMember.CLID = Clan.CLID INNER JOIN Login INNER JOIN Character ON Login.AID = Character.AID ON ClanMember.CID = Character.CID Where Login.UserID = '$user1' and Login.Password = '$pass1' and ClanMember.Grade = '1' "); if (mssql_num_rows($query2) >= '1'){ echo


    '; }}else { echo " ERROR GEEN CLAN ";} } } ; } ; if ($step == 'done') { $emblem = $_POST['uploaded'] ; $CLID = $_POST['clan']; $target = "upload/"; $target = $target . basename( $_FILES['uploaded']['name']) ; $ok=1; if (!($_FILES['uploaded']['size'] > '9500')) { //echo "Your file is too large.
    "; $ok=1; if(($_FILES['uploaded']['type'] == "image/jpeg")) { $ok=1; //echo "Wrong file type.
    "; } if(($_FILES['uploaded']['type'] == "image/GIF")) { $ok=1; //echo "Wrong file type.
    "; } if(($_FILES['uploaded']['type'] == "image/PNG")) { $ok=1; //echo "Wrong file type.
    "; } } else { $ok=0;} // if ($ok==0) { echo "Sorry your file was not uploaded
    "; echo "Please check the file size or file type"; } else { if(move_uploaded_file($_FILES['uploaded']['tmp_name'], $target)) { echo "The file ".basename( $_FILES['uploadedfile']['name']). " has been uploaded
    "; echo "You may close this window now"; mssql_query ("UPDATE Clan SET EmblemChecksum = EmblemChecksum + 1 WHERE Name = '$CLID'"); mssql_query ("UPDATE Clan SET EmblemUrl = 'upload/".$target."' WHERE Name = '$CLID'"); } else { echo "Sorry, there was a problem uploading your file."; }} }; ?>

    Anyoen can help me? to made this work?

    Ty




Advertisement