Jump to content

Search the Community

Showing results for tags 'errors'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Development
    • HTML Coding
    • JavaScript
    • PHP
    • CMS
    • Database
    • Web Server
    • Web-site Development
    • Internet Marketing, SEO
  • Library
    • Tricks and solutions
    • Books
  • Commercial services
    • Freelance
    • Job
    • Goods and Services
  • Our Forum
    • Flame
    • Contests
    • Feedback and Ideas

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Web site


Telegram


Signal


Viber


Skype


From


Interests

Found 1 result

  1. Делаю форму регистрации. После регистрации пишет: Warning: mysql_connect(): Host 'x.x.x.x' is not allowed to connect to this MySQL server in /home/u973934296/public_html/register/go.php on line 5 Что делать? Хост, логин, и пароль указал правильно. Использую phpMyAdmin 3.5.2.2. go.php (скрипт регистрации) $sql_server = "sql6.lordhosting.ru"; $sql_user = "####"; $sql_pass = "####"; $sql_connection = mysql_connect($sql_server, $sql_user, $sql_pass); /* Здесь скрипт останавливается и пишет ошибку */ mysql_select_db("u973934296_db"); $name = $_GET["name"]; $surname = $_GET["surname"]; $nickname = $_GET["nickname"]; $email = $_GET["email"]; $login = $_GET["login"]; $pass = $_GET["pass"]; $repass = $_GET["repass"]; $sex = $_GET["sex"]; $birthyear = $_GET["byear"]; $birthmonth = $_GET["bmonth"]; $birthday = $_GET["bday"]; $ava = $_GET["ava"]; if($repass != $pass) die("Пароль повторен неверно!"); $requestsql = "INSERT INTO `users` (`id`, `name`, `surname`, `nickname`, `email`, `login`, `password`, `sex`, `birthyear`, `birthmonth`, `birthday`, `avatar`) VALUES (NULL, '".$name."', '".$surname."', '".$nickname."', '".$email."', '".$login."', '".$pass."', '".$sex."', '".$birthyear."', '".$birthmonth."', '".$birthday."', '".$ava."')"; $resultsql = mysql_query($requestsql);
×
×
  • 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. See more about our Guidelines and Privacy Policy