The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Troubles when making a register form
#1
Hi,

I'm having troubles when I want to adapt your code for my website. Everytime I get either 'Token doesn't match' or several errors: Notice: Undefined index: username in /Applications/MAMP/htdocs/igloo-new/users/classes/Validate.php on line 35

Notice: Undefined index: username in path/users/classes/Validate.php on line 35

Notice: Undefined index: password in path/users/classes/Validate.php on line 35

Notice: Undefined index: password in path/users/classes/Validate.php on line 35

Notice: Array to string conversion path/login.php on line 100

Notice: Array to string conversion in path/login.php on line 100

This is my code:
<pre>
Code:
<form action="login.php" class="login-landlord" name="login-landlord" method="post">
    <ul>
        <li class="titre-login">Login as a landlord</li>
        <li><input type="text" placeholder="Email"></li>
        <li><input type="password" placeholder="Password"></li>
        <li><input name="submit" type="submit" value="Login" class="btn" style="color:white"></li>
        <li><input type="checkbox" name="remember" id="remember" > Remember Me</li>
        <input type="hidden" name="csrf" value="<?=Token::generate(); ?>">
    </ul>
</form>
</pre>



I just copied the rest.

Thanks for your answers!
  Reply


Messages In This Thread
Troubles when making a register form - by JulienS - 09-08-2017, 08:05 PM
Troubles when making a register form - by Brandin - 09-08-2017, 10:35 PM
Troubles when making a register form - by JulienS - 09-09-2017, 11:48 AM
Troubles when making a register form - by mudmin - 09-09-2017, 12:00 PM
Troubles when making a register form - by JulienS - 09-09-2017, 12:17 PM
Troubles when making a register form - by mudmin - 09-09-2017, 12:37 PM
Troubles when making a register form - by JulienS - 09-09-2017, 01:01 PM
Troubles when making a register form - by Brandin - 09-09-2017, 02:18 PM
Troubles when making a register form - by JulienS - 09-09-2017, 02:34 PM
Troubles when making a register form - by Brandin - 09-09-2017, 02:36 PM
Troubles when making a register form - by JulienS - 09-09-2017, 03:49 PM
Troubles when making a register form - by mudmin - 09-09-2017, 04:33 PM
Troubles when making a register form - by JulienS - 09-12-2017, 07:19 PM
Troubles when making a register form - by karsen - 09-12-2017, 07:32 PM
Troubles when making a register form - by JulienS - 09-12-2017, 07:40 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)