Jump to content

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.

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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