Jump to content

need help


richardmux

Recommended Posts

Hi i need help with the below i am trying to make.. i took a registration script from :

http://www.wikihow.com/Create-a-Secure-Login-Script-in-PHP-and-MySQL

 

i have followed it and reached a point where i need to register a user and when i go to registration.php i dont  get the forms.. i think something is wrong with the below..

 

 <form action= "<?php echo esc_url($_SERVER['PHP_SELF']);?>"
                method="post" 
                name="registration_form">
            Username: <input type='text' 
                name='username' 
                id='username' /><br>
            Email: <input type="text" name="email" id="email" /><br>
            Password: <input type="password"
                             name="password" 
                             id="password"/><br>
            Confirm password: <input type="password" 
                                     name="confirmpwd" 
                                     id="confirmpwd" /><br>
            <input type="button" 
                   value="Register" 
                   onclick="return regformhash(this.form,
                                   this.form.username,
                                   this.form.email,
                                   this.form.password,
                                   this.form.confirmpwd);" /> 

 

 

 

pls help to advise.. 

Link to comment
https://forums.phpfreaks.com/topic/285003-need-help/
Share on other sites

 

when i go to registration.php i dont  get the forms.

What do you mean by this?

 

Are you getting a blank screen? If you are then there is a PHP error preventing the page from loading. To see the error either look in your servers error log or enable error_reporting by adding the following two lines at the top of your script

ini_set('display_error', 1);
error_reporting(E_ALL);

Post the error(s) here if you are not sure how to fix them.

Link to comment
https://forums.phpfreaks.com/topic/285003-need-help/#findComment-1463418
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.