Jump to content

Kyle123

Members
  • Posts

    14
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Kyle123's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Okay well I have a source to a program in vb that i coded, in vb and C# there is a thing called codedom witch allows you to compile the source to a executable. I want to know how to do this in php. Hope I explained it more now
  2. I mean like a php builder, I know its possible because i'v seen people do it. Just don't know how.
  3. In php how could I build a .net application? So I have a source that I want to build in .net, but i'm not sure how...
  4. How can I select the last 5 db items? I was thinking a timestamp or some thing.
  5. No I don't... Is there any other way? Or can I make a corn job?
  6. How? I'v looked into this for about 2 hours now.
  7. Ummm I don't think so, i'v looked in to cron jobs and I don't think I can...
  8. Okay I want to run some code every 24 hours, what would be the best way to do this? Also I don't have root to the server or anything.
  9. I open the server, I want to know how to install it.
  10. I get this error with my php script. I found out its because I don't have ssh2_connect installed on my server, can anyone tell me how to do this? I'm running centos.
  11. if(isset($_POST['npassword']) and ($_POST['cpassword'])){ $npassword = $_POST['npassword']; $cpassword = $_POST['cpassword']; $username = $_SESSION['SESS_login']; if($npassword==$cpassword){ $password = md5($npassword); $lol = mysql_query("UPDATE `members` SET `passwd` = '$password' WHERE `login`= '$username';"); echo"Password Changed!"; } } It echos password changed, but its not updating the password. If I run it in phpmyadmin it works fine... So i'm really stuck.
  12. Okay I have done it now. Noob way but it works. $query = mysql_query("SELECT * FROM `members` WHERE login='$username'"); while($row = mysql_fetch_array($query)){ if($row['banned']=="0"){ }else{ echo $row['banned']; die(); } }
  13. <? include("config.php"); if(isset($_GET['username']) and ($_GET['password']) and ($_GET['hwid'])){ $username = $_GET['username']; $password = md5($_GET['password']); $query=mysql_query("SELECT banned FROM `members` WHERE `login`='$username'"); $result = mysql_num_rows($query); $outcome = ($result > 0) ? 'true' : 'false'; echo $outcome; } ?> I think the last bit is all wrong.
  14. Okay I need some help. I want to check a MySQL DB and then if it says 0 then don't do anything if it says anything else echo out what's there. I have tried for about a hour now.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.