777 bestandsrechten geven.
Posts by xtreempje
-
-
Nvm heb 't al gevonden.
-
Hallo, ik heb lang geleden best veel met php gewerkt maar ben heel veel vergeten en heb nu een foutmelding en ik kan hem niet oplossen.
PHPNotice: Undefined index: purchased in C:\xampp\htdocs\prolo\index555.php on line 8 Notice: Undefined index: money in C:\xampp\htdocs\prolo\index555.php on line 9 Notice: Undefined index: attack in C:\xampp\htdocs\prolo\index555.php on line 10 Notice: Undefined index: defense in C:\xampp\htdocs\prolo\index555.php on line 11
ik wil dat mijn health uit mijn database wordt weergegeven netzoals mijn naam.
PHP
Toon MeerUsername : xtreempje Health : Notice: Trying to get property of non-object in C:\xampp\htdocs\prolo\index555.php on line 64 Attack : Notice: Undefined variable: attack in C:\xampp\htdocs\prolo\index555.php on line 70 Defense : Notice: Undefined variable: defense in C:\xampp\htdocs\prolo\index555.php on line 74
pagina met de error :
PHP
Toon Meer<?php require_once 'auth.php'; ?> <?php require_once 'connection.php';?> <?php $email = $_SESSION['email']; $purchased = $_SESSION['purchased']; $money = $_SESSION['money']; $purchased = $_SESSION['attack']; $money = $_SESSION['defense']; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <meta content='text/html; charset=iso-8859-1' http-equiv='Content-type' /> <meta content='width=330, height=400, initial-scale=1' name='viewport' /> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> <title>Please Log in.</title> <link href="login.css" media="screen" rel="stylesheet" type="text/css" /> </head> <body style='min-height:380px'> <div class='layout' id='page'> <div class='centered'> <div class='column' style='margin-top:-174px'> <div class='logo'></div> <div class='login_page preserve_links'> <div class='title_graphic'></div> <div class='login_frame flexible'> <div class='top'></div> <div class='middle'><div class='flash_message'> <div class='flash_boxes'> </div> </div> <form method="post" action="login.php"> <div style="margin:0;padding:0"></div> <div class='field text_field'> <text- <label for="username" name="username" id="username"><strong><h2>Welcome</h2></strong></label> <p><br /> <label for="custom" name="custom" id="custom">Username</label> : <label for="custom" name="custom" id="custom"><strong><?php echo $user; ?></strong></label> <br /> <label for="custom" name="custom" id="custom">Health</label> <label for="custom" name="custom" id="custom"><strong>:</strong></label> <label for="custom" name="custom" id="custom"><strong><?php echo $user->health; ?></strong></label> </p> <p> <label for="custom3" name="custom" id="custom"><strong></strong></label> <label for="custom3" name="custom" id="custom">Attack</label> <label for="custom3" name="custom" id="custom"><strong>:</strong></label> <label for="custom3" name="custom" id="custom"><strong><?php echo $attack; ?></strong></label> <p> <label for="custom4" name="custom" id="custom">Defense</label> <label for="custom4" name="custom" id="custom"><strong>:</strong></label> <label for="custom4" name="custom" id="custom"><strong><?php echo $defense; ?></strong></label> </p> </div> </br> </strong> <label for="custom3" name="custom" id="custom"><br /> </label> <p> </p> </div></strong></div> </br> </div> <tr><td colspan=2><font face="verdana,arial" size=-1> Logout <a href="login.php?action=Logout">here</a>!</ <br /> <br /> </div> </div> </div> <div class='actions'> </div> <img alt="Sm_loader" class="right" id="loading_spinner" src="sm_loader.gif" style="margin-top:13px;display:none;" /> <div class="clear"></div> </div> <br /> <br /> <a href="/corp/home"></a> <div class="clear"></div> </div> <div class='bottom'></div> </div> </div> </div> </div> </div> </body> </html>
mijn login.php
PHP
Toon Meer<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <meta content='text/html; charset=iso-8859-1' http-equiv='Content-type' /> <meta content='width=330, height=400, initial-scale=1' name='viewport' /> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> <title>Please Log in.</title> <link href="login.css" media="screen" rel="stylesheet" type="text/css" /> <?php require_once 'connection.php'; if (!isset($_REQUEST['action'])) { ?> <body style='min-height:380px'> <input id="auth_token" name="auth_token" type="hidden" value="ZMbisHfLMZJvtD0D0C61bofjI5CrlWKMyFJ6iIza8L4=" /> <div class='layout' id='page'> <div class='centered'> <div class='column' style='margin-top:-174px'> <div class='logo'></div> <div class='login_page preserve_links'> <div class='title_graphic'></div> <div class='login_frame flexible'> <div class='top'></div> <div class='middle'><div class='flash_message'> <div class='flash_boxes'> </div> </div> <form action="login.php" class="onboard_form" method="post"><div style="margin:0;padding:0"></div> <b><font color="red"><font face="verdana,arial" size=-5>No data filled in.</font></font></b> <div class='field text_field'> <label for="username" name="username">Username</label> </div> <div class='another_row'> <input class="autotab behavior" id="email" name="email" tabindex="1" type="text" /> </div> <div class='field text_field'> <label for="password" name="password">Password</label> <span> </span> </div> <div class='one_more_row'> <input id="password" name="password" tabindex="2" type="password" value="" /> </div> <div class='remember_me_field'> <div class='field check_box_field'> <input id="remember_me" name="remember_me" type="checkbox" value="1" /> <label for="remember_me" style="display:inline">Stay signed in</label> </div> </div> <div class='actions'> <div class="right gistsubmit" onclick="document.getElementById("loading_spinner").style.display = "inline";"><input name="commit" type="submit" value="Sign In" /><span></span></div> <img alt="Sm_loader" class="right" id="loading_spinner" src="sm_loader.gif" style="margin-top:13px;display:none;" /> <div class="clear"></div> </div> <input id="time_zone_offset" name="time_zone_offset" type="hidden" value="-8" /> <input id="from_openid" name="from_openid" type="hidden" /> <input id="version" name="version" type="hidden" /> <br /> <a href="/users/new">Create account</a><br /> <a href="/users/forgot_password?from_openid=false">Forgot password?</a> <br /> <a href="/corp/home"></a> <div class="clear"></div> </form> </div> <div class='bottom'></div> </div> </div> <script src="/javascripts/pages/login_page.js?0ae7d22b16" type="text/javascript"></script> </div> </div> </div> </body> </html> <?php } else { switch ($_REQUEST['action']) { case 'Register': if (!isset($_REQUEST['action'])) { header ('refresh: 3; url=register.php'); die ('No form has been submitted'); } else { $user = $_POST['username']; $pass = $_POST['password']; $pass2 = $_POST['check_password']; $email = $_POST['email']; if (empty($user)) { echo ('Please fill in an username.</br>'); } if (empty($pass)) { echo ('Please fill in an password.</br>'); } if (empty($pass2)) { echo('Your password did not match.</br>'); } if (empty($email)) { echo('Please fill in an email.</br>'); } elseif ($pass != $pass2) { header ('refresh: 3; url=register.php'); die ('Passwords do not match'); } elseif (!get_magic_quotes_gpc()) { $user = addslashes($user); $pass = addslashes($pass); } $pass = addslashes(sha1($pass)); $user = addslashes(base64_encode($user)); $check_sql = "SELECT username " . "FROM users " . "WHERE username='$user'"; $sql = "INSERT INTO users (username, password, email) " . "VALUES ('" . $user . "','" . $pass . "','" . $email . "')"; $check_result = mysql_query($check_sql, $conn) or die ('Could not check up user account; ' . mysql_error()); if ((mysql_fetch_array($check_result)) != 0) { header ('refresh: 3; url=register.php'); die ('Username bestaat al'); } mysql_query($sql, $conn) or die ('Could not create account; ' . mysql_error()); header ('refresh: 3; url=index.php'); echo ('Account created'); break; } case 'Login': if (!isset($_REQUEST['action'])) { header ('refresh: 3; url=index.php'); die ('No form has been submitted.'); } else { $user = $_POST['username']; $pass = $_POST['password']; if (empty($user) || empty($pass)) { header ('refresh: 3; url=index.php'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <meta content='text/html; charset=iso-8859-1' http-equiv='Content-type' /> <meta content='width=330, height=400, initial-scale=1' name='viewport' /> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> <title>Please Log in.</title> <link href="login.css" media="screen" rel="stylesheet" type="text/css" /> </head> <body style='min-height:380px'> <div class='layout' id='page'> <div class='centered'> <div class='column' style='margin-top:-174px'> <div class='logo'></div> <div class='login_page preserve_links'> <div class='loginheader'></div> <div class='login_frame flexible'> <div class='top'></div> <div class='middle'><div class='flash_message'> <div class='flash_boxes'> </div> </div> <form method="post" action="login.php"> <div style="margin:0;padding:0"></div> <div class='field text_field'><br> <label for="username" name="username" id="username"><center>Logging In, Please wait <img src="sm_loader.gif"></center></label> </div> <div class='one_more_row'> <div class="clear"></div> </div> <br /> <br /> <div class="clear"></div> </div> <div class='bottom'></div> </div> </div> </div> </div> </div> </body> </html> <?php } elseif (!get_magic_quotes_gpc()) { $user = addslashes($user); $pass = addslashes($pass); } $pass = addslashes(sha1($pass)); $user = addslashes(base64_encode($user)); $sql = "SELECT id, username, password, email, money, purchased, attack, defense " . "FROM users " . "WHERE username='$user' " . "AND password='$pass' "; $result = mysql_query($sql, $conn) or die ('Could not check up user account; ' . mysql_error()); if (($row = mysql_fetch_array($result)) == 1) { header ('refresh: 0; url=invailed.php'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <meta content='text/html; charset=iso-8859-1' http-equiv='Content-type' /> <meta content='width=330, height=400, initial-scale=1' name='viewport' /> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> <title>Please Log in.</title> <link href="login.css" media="screen" rel="stylesheet" type="text/css" /> </head> <body style='min-height:380px'> <div class='layout' id='page'> <div class='centered'> <div class='column' style='margin-top:-174px'> <div class='logo'></div> <div class='login_page preserve_links'> <div class='loginheader'></div> <div class='login_frame flexible'> <div class='top'></div> <div class='middle'><div class='flash_message'> <div class='flash_boxes'> </div> </div> <form method="post" action="login.php"> <div style="margin:0;padding:0"></div> <div class='field text_field'><br> <label for="username" name="username" id="username"><center>Logging In, Please wait <img src="sm_loader.gif"></center></label> </div> <div class='one_more_row'> <div class="clear"></div> </div> <br /> <br /> <div class="clear"></div> </div> <div class='bottom'></div> </div> </div> </div> </div> </div> </body> </html> <?php echo ('Username and password does not match.'); } else { session_start(); $_SESSION['id'] = $row['id']; $_SESSION['username'] = stripslashes($row['username']); $_SESSION['password'] = stripslashes($row['password']); $_SESSION['email'] = stripslashes($row['email']); $_SESSION['email'] = stripslashes($row['money']); $_SESSION['email'] = stripslashes($row['attack']); $_SESSION['email'] = stripslashes($row['defense']); } header ('refresh: 3; url=index2.php'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <meta content='text/html; charset=iso-8859-1' http-equiv='Content-type' /> <meta content='width=330, height=400, initial-scale=1' name='viewport' /> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> <title>Please Log in.</title> <link href="login.css" media="screen" rel="stylesheet" type="text/css" /> </head> <body style='min-height:380px'> <div class='layout' id='page'> <div class='centered'> <div class='column' style='margin-top:-174px'> <div class='logo'></div> <div class='login_page preserve_links'> <div class='loginheader'></div> <div class='login_frame flexible'> <div class='top'></div> <div class='middle'><div class='flash_message'> <div class='flash_boxes'> </div> </div> <form method="post" action="login.php"> <div style="margin:0;padding:0"></div> <div class='field text_field'><br> <label for="username" name="username" id="username"><center>Logging In, Please wait <img src="sm_loader.gif"></center></label> </div> <div class='one_more_row'> <div class="clear"></div> </div> <br /> <br /> <div class="clear"></div> </div> <div class='bottom'></div> </div> </div> </div> </div> </div> </body> </html> <?php break; } case 'Logout': session_start(); session_unset(); session_destroy(); header ('refresh: 3; url=index.php'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <meta content='text/html; charset=iso-8859-1' http-equiv='Content-type' /> <meta content='width=330, height=400, initial-scale=1' name='viewport' /> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> <title>Please Log in.</title> <link href="login.css" media="screen" rel="stylesheet" type="text/css" /> </head> <body style='min-height:380px'> <div class='layout' id='page'> <div class='centered'> <div class='column' style='margin-top:-174px'> <div class='logo'></div> <div class='login_page preserve_links'> <div class='logoutheader'></div> <div class='login_frame flexible'> <div class='top'></div> <div class='middle'><div class='flash_message'> <div class='flash_boxes'> </div> </div> <form method="post" action="login.php"> <div style="margin:0;padding:0"></div> <div class='field text_field'><br> <label for="username" name="username" id="username"><center>Logging out, Please wait <img src="sm_loader.gif"></center></label> </div> <div class='one_more_row'> <div class="clear"></div> </div> <br /> <br /> <div class="clear"></div> </div> <div class='bottom'></div> </div> </div> </div> </div> </div> </body> </html> <?php break; } } ?>
en mijn auth.php
PHP
Toon Meer<?php session_start(); require_once 'connection.php'; $id = $_SESSION['id']; $user = $_SESSION['username']; $pass = $_SESSION['password']; if (empty($id) || empty($user) || empty($pass)) { session_unset(); session_destroy(); header ('refresh: 3; url=index.php'); die ('Session expired.'); } elseif (!get_magic_quotes_gpc()) { $user = addslashes($user); $pass = addslashes($pass); } $pass = addslashes($pass); $user = addslashes($user); $sql = "SELECT id, username, password, email, money " . "FROM users " . "WHERE id='$id' " . "AND username='$user' " . "AND password='$pass'"; $result = mysql_query($sql, $conn) or die ('Could not check up user account; ' . mysql_error()); if (($row = mysql_fetch_array($result)) == 0) { session_unset(); session_destroy(); header ('refresh: 3; url=index.php'); die ('Session data incorrect'); } else { $user = stripslashes(base64_decode(stripslashes($user))); } ?>
alsjeblieft help me anders kan ik niet verder
-
Aantal Leden :379
Leden Online :0niet egt bekent :p
-
Versio wordt in totaal 11,41
-
jqdonleach kun je je msn even doorgeven?
frankiscool, rapifia is van jou? zo ja kun jij toevallig ook even jou msn door geven?bedankt voor de reacties.
-
Hallo iedereen,
ik ben op zoek naar een hosting die een .net domein verkoopt met walliecard.
graag hoop ik op een reactie terug.
mvg, xtreempje -
Ik ben op zoek naar de MSN Invite script waarbij je moet inloggen met je hotmail Email en password.
Heeft iemand dit script misschien liggen? Graag gratis, of weet iemand misschien waar ik deze kan downloaden?
Mvg xtreempje, -
Post je script en dan kunnen we je makkelijker helpen.
heb even rond gekeken en gezorgt dat ik zelf in de gevangenis kwam.
het probleem doet zich voort in index2.phpje moet even je index2.php poste dan kan ik je verder helpen.
-
Vanwaar het de kleuren/thema?
Geen ideeGraag zou ik willen weten wat er beter kan.
ik hoef jullie ook niet te vragen om het te beoordelen met punten want dan komt deze layout toch laag uit.dus wat kan er verbeterd worden? en wie weet er goeie tutorials ( Graag nederlands, maar mag ook engels ).
-
Problem solved
heb het zelf maar gemaakt -
edit je post met :
Crimebrain bood het laatst met 5 euro.
inplaats van elke keer genoteerd te zeggen, dit is spam vriend. -
Mobstarz.nl
Maffiastarz.nl
Criminalminds.com
Misdaadplegers.nl -
Mensen niet kopen, dit is een vervalsde layout.
het is een gratis layout op freelayouts.com.
het enige wat deze man/jongen heeft gedaan is de header veranderd.dit is oplichting en hiervoor kun je een boete krijgen steven.
graag weghalen of er volgen maatregelen door moderators.
want wij willen het forum graag schoon en netjes en legaal houden!edit : net alsof doen dat je 'm hebt verkocht en meteen plaatjes alles weghalen.
bull shit!ik heb hier bewijs en ik ga hier mee naar de politie.
ik hou niet van dit gedrag steven en nu ben je de lulbewijs :
ja maffiahome.nl , heb meteen screens gemaakt en vid dat ik dat intypte bij internet balk en dat ik die layout kreeg.
je bent genaaid vriend.Bewijs met video dat hij deze layout verkocht :
External Content www.youtube.comContent embedded from external sources will not be displayed without your consent.Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.bewijs dat maffiahome tot hem behoord :
External Content www.youtube.comContent embedded from external sources will not be displayed without your consent.Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.bekijk in HD
-
Cijfer : 0/10
pluspunten : Geen want deze is gedownload
minpunten : liegen, je zegt dat je er heel lang aan hebt gewerkt en dat Jij er een mooie hosting layout van hebt gemaakt.
deze kun je gewoon downloaden, ik edit me post zo meteen ik ben even de DL link aan 't zoeken.:slotje:Edit :
orginele layout :
http://www.resellerguide.com/r…/basic-screenshot-big.jpgte downloaden op :
http://www.resellerguide.com/p/free-hosting-templatesdownload link :
http://www.resellerguide.com/r…ostingtemplate1/basic.zip -
je hebt jezelf weer eens overtroffen
geweldig, i just love it. -
dat is een betere reactie
-
dankje voor jullie reacties, ben ik veel mee opgeschoten
en wat je zegt klopt az, maikel beetje vriendelijker reageren kan ook hé -
hoeveel euro ong.?
login systeempje enzo zit er al ingebouwt. -
beste mensen op het forum,
ik ben een sinds kort bezig met de banditi source om te bouwen naar het engels.
dit is me al bijna gelukt maar...
nu loop ik tegen 't probleem aan dat de flash bestanden zoals geluksrad ( lucky wheel ) in het nederlands is.
zou ik deze prijzen/taal kunnen veranderen? zo ja op welke manier?