Jump to content
This site uses cookies! Learn More

This site uses cookies!

armedunity.com uses cookies to improve user experience.

By continuing to use this site, you agree to allow us to store cookies on your computer.

Logystone

Newbie
  • Content count

    11
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Logystone

  • Rank
    Newbie
  • Birthday 07/21/2000
  1. Hello everyone, Sorry for duplicating the question, This is Register.php Script <?PHP if(isset($_POST['user'])) { $user = $_POST['user']; } if(isset($_POST['email'])) { $email = $_POST['email']; } if(isset($_POST['password'])) { $pass = $_POST['password']; } $con = mysqli_connect("fdb16.awardspace.net","db_user","db_pass"); if (!empty($con)) die('Could not connect: ' . mysqli_connect_error($con)); $db_select = mysqli_select_db($con,"db_user"); if(!empty($db_select)) { die("Database selection failed: " . mysqli_error($db_select)); } if(!empty($user)) { $check = mysqli_query("SELECT * FROM `userinfo` WHERE `user`='".$user."'"); } if(!empty($check)) { $numrows = mysqli_num_rows($check); } if(!empty($numrows)) { if ($numrows == 0) { $pass = md5($pass); $ins = mysqli_query("INSERT INTO `userinfo` ( `id` , `user` , `email` , `pass` ) VALUES ('' , '".$user."' , '".$email."' , '".$pass."') ; "); if ($ins) die ("Succesfully Created User!"); else die ("Error: " . mysqli_error()); } else { die("User allready exists!"); } } ?> And i get this error : Warning: mysqli_connect(): (HY000/2002): Connection refused in /storage/ssd1/777/6725777/public_html/register.php on line 17Warning: mysqli_select_db() expects parameter 1 to be mysqli, boolean given in /storage/ssd1/777/6725777/public_html/register.php on line 21
  2. What's wrong with my register.php code!?

    @randomrabbit Thank you so much! @omard2000 Honestly i'm glad to hear this from you ,If you don't have any problem with Skype can you give me yours ?
  3. What's wrong with my register.php code!?

    @omard2000 this is testing script
  4. What's wrong with my register.php code!?

    @omard2000 Thank you so much!
  5. What's wrong with my register.php code!?

    @OcularCash Online
  6. <?PHP $user = $_POST['user']; $email = $_POST['email']; $pass = $_POST['password']; $con = mysqli_connect("lool","lool","lool"); if (!$con) die('Could not connect: ' . mysqli_error()); $db_select = mysqli_select_db("lool" , $con); if($db_select) { die("Database selection failed: " . mysqli_error($db_select)); } $check = mysqli_query("SELECT * FROM `userinfo` WHERE `user`='".$user."'"); $numrows = mysqli_num_rows($check); if ($numrows == 0) { $pass = md5($pass); $ins = mysqli_query("INSERT INTO `userinfo` ( `id` , `user` , `email` , `password` ) VALUES ('' , '".$user."' , '".$email."' , '".$password."') ; "); if ($ins) die ("Succesfully Created User!"); else die ("Error: " . mysqli_error()); } else { die("User allready exists!"); } ?> and i get these errors! Notice: Undefined index: user in /storage/ssd1/342/6725777/public_html/register.php on line 3Notice: Undefined index: email in /storage/ssd1/342/6725777/public_html/register.php on line 4Notice: Undefined index: password in /storage/ssd1/342/6725777/public_html/register.php on line 5Warning: mysqli_select_db() expects parameter 1 to be mysqli, string given in /storage/ssd1/342/6725777/public_html/register.php on line 11Warning: mysqli_query() expects at least 2 parameters, 1 given in /storage/ssd1/342/6725342/public_html/register.php on line 17Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, null given in /storage/ssd1/342/6725342/public_html/register.php on line 18Notice: Undefined variable: password in /storage/ssd1/342/6725342/public_html/register.php on line 22Warning: mysqli_query() expects at least 2 parameters, 1 given in /storage/ssd1/342/6725342/public_html/register.php on line 22Warning: mysqli_error() expects exactly 1 parameter, 0 given in /storage/ssd1/342/6725342/public_html/register.php on line 26Error:
  7. Welcome Window (Form)

    Wow Nice! Thaanks bro it helped me alot!
  8. Unity Recorder

    Thanks bro! I've just fixed it now! Deleted all recorder assets and re imported!
  9. Unity Recorder

    And I've updated the manifest
  10. Unity Recorder

    Thank you guys for your replies! @OneManArmy I've updated the recorder into 1.0 but i got these errors!
  11. Unity Recorder

    Hello everyone, I've installed Unity Technology Recorder. How can i start & stop record in c# ? here's my script : using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Recorder; using UnityEngine.Recorder.Input; using UnityEngine.UI; public class PlayerRecorder : MonoBehaviour { public static PlayerRecorder playerrecord; // public Text recordText; Recorder rec; void Awake() { playerrecord = this; gameObject.transform.SetParent(null, false); DontDestroyOnLoad(gameObject); } void Update() { if (Input.GetKeyDown("page down")) { print("Record In Progres"); } if (Input.GetKeyDown("page up")) { print("Record finished"); } } }
×