PHP registration page

Hi, I am in the process of redesigning my union's website to
include a member area. Here's my problem...
I already have a database for our union members. What I want
to do is to be able to have register using data that I already have
for them in a table: Last Name, First Name, Date of Birth, Last 4
digits of SSN. There will also be fields for user name and password
(which will originally be blank in the table). When the user hits
the submit button, the form data needs to compare those first 4
submitted fields to the corresponding ones in the existing table
(much the same way a credit card company might do with an existing
account). If the data submitted matches what's in the table, the
user name and password submitted in the form are written to the
table and the user should be redirected to a login page.
How should i go about building such a registration page??
Help!!! ???
Thanks,
rborc415

rborc415 wrote:
> Hi, I am in the process of redesigning my union's
website to include a member
> area. Here's my problem...
Please don't post the same message in more than one forum. I
have
answered you in the Dreamweaver AppDev forum.
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/

Similar Messages

  • PHP registration page help!!

    Hi, I am in the process of redesigning my union's website to
    include a member area. Here's my problem...
    I already have a database for our union members. What I want
    to do is to be able to have register using data that I already have
    for them in a table: Last Name, First Name, Date of Birth, Last 4
    digits of SSN. There will also be fields for user name and password
    (which will originally be blank in the table). When the user hits
    the submit button, the form data needs to compare those first 4
    submitted fields to the corresponding ones in the existing table
    (much the same way a credit card company might do with an existing
    account). If the data submitted matches what's in the table, the
    user name and password submitted in the form are written to the
    table and the user should be redirected to a login page.
    How should i go about building such a registration page??
    Help!!! ???
    Thanks,
    rborc415

    rborc415 wrote:
    > I've been knocking around with what you suggested and
    I'm kind of flying blind
    > at this point... could I ask you to be a little more
    specific?
    Basically, what you are doing is creating a search page. If
    the search
    produces a result, you want to display an update form. You
    can either do
    it all in one page, and control what it displayed with
    conditional
    logic, or you can use session variables pass the information
    from one
    page to the next.
    The basic way to do it with separate pages is to create a
    search form in
    page 1. Get the user to enter the four items. Send the form
    using the
    GET method to page 2.
    In page 2, create a recordset to search for the record, using
    the $_GET
    variables. If the recordset is empty, display a message
    saying "record
    not found". If the recordset is not empty, display the
    results in an
    update form, using readonly fields for the already-registered
    values.
    Use ordinary text fields for the items you want the user to
    fill in.
    Apply an Update Record server behavior.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • How do I compensate for only one ADDT ' tNG_config.inc.php file with many Registration pages to build?

    My dynamic site has a lot of different languages funneled into one website, using various cookies, url params, php includes, etc. all to obtain similar info in different languages. Thank you David Powers.
    It is working really well and now I’ve come to the Registration section. Okay, so registration isn’t all that hard; I could do most of it with the standard Dreamweaver set of tools. Alas, I really like much of what ADDT has to offer with welcome email messages and activation and such.
    Here’s the setup: Obviously, with many different language people, I have many different databases for them. I did that becuase we’re expecting a big audience and I really don’t want to have all those different language names in the same table. Furthermore, these tables, whereby the students will login, will also contain a lot of information about their work so again, don’t want to have one massive table. I’ve divvied them up into tables by language and I’m using those tables to keep track of them and their work.
    I want to use ADDT’s User Registration Wizard and I have looked at all the neat stuff in the Control Panel/Login Settings.
    Here’s my situation: I notice that when I’m done with the configuring of one of the registration pages, I’m asked if I want to upload the tNG_config.inc.php page and that it has changed since the last upload. I saved a copy of the _config.inc.php and did a new registration form with the same info and when done, I compared the two _config.inc.php files. As one would guess, there is a small difference in the Connection string to the databases  $tNG_login_config["connexction"] = "connString_Ital_db".
    My problem is that I have 13 of these registration pages to do but ADDT only has the one tNG_config.inc.php. That’ll work great for the one with which it is associated, but the others will obviously break. I’ve looked through the code in the Registration pages, to find the ADDT link to the tNG_config.inc.php file hoping to rename it Italian, Spanish, etc, but the name of the file does not appear in the Registration page.  I realize that ADDT Control panel is designed for use on one site, and can then be used on others, with the changes etc. But my site seems a little unique since so many sites are actually in one.
    Has anyone whipped this problem before? I just don’t understand why there is no link in the head code of the Registration page to let me change it and to create more config files with different names. Thanks for you help!
    [Moved by moderator to appropriate forum]

    Hi Brian,
    I just tried to check all of ADDT´s "includes" files for any internal references (read: "require" or "require_once" statements) to the file "tNG_config.inc.php". So far I can only see this file referenced in the file "tNG.inc.php" (within the "$KT_tNG_uploadFileList1" array).
    So what could this mean ? Maybe you´ll have to make copies of the the original "tNG.inc.php" as well and save them as, say, "tNG.inc_ital.php" file plus make sure that these copies internally point to a different "tNG_config_ital.inc.php" file -- because it´s always the first mentioned file which gets referenced from e.g. an ADDT login page (see the "Load the tNG classes" - part)
    I want to use ADDT’s User Registration Wizard and I have looked at all the neat stuff in the Control Panel/Login Settings
    The Control Panel will always update the main "tNG_config.inc.php" file, so any further modifications will have to become manually applied to the custom files you´re creating.
    Cheers,
    Günter

  • [SOLVED] About the registration page...

    okay to make this shorter ive registered here using the answer of this guy
    http://answers.yahoo.com/question/index … 504AAO187t
    im so interested in arch linux that's why searched for the answer and i found one. lol.
    a to that captcha.
    im running backbox linux right now and my system generated this:
    7494e13078df6f09d5aac285cedc26727b40af6db8e43f8a3b23710e2a1ef268
    Questions:
    do we really need to run Arch Linux in order to get the right answer?
    Answer:
    i get it now it shows the week number and passes it into sha256sum.
    does that captcha really prevent bot from registering?, if the answer to that captcha spreads all over the net, then that would render the captcha useless.
    Suggestion:
    Why don't Arch use a dynamic captcha. what i mean is that everytime the user proceeds with the wrong answer the captcha change into another problem just like those. and then Arch has a database for that captcha alone a database that stores "Problem and Answers" to those captcha showed in the registration page.
    sorry for the bad english as english is not my native language. and sorry if i didn't introduce myself.
         ey3blast
    Last edited by ey3blast (2012-12-26 13:58:31)

    well I've read your post on this thread:
    https://bbs.archlinux.org/viewtopic.php?id=153660
    and thank you for the quick response better than RTFM. linux community is really great and im learning alot hope to learn more from the community so i could get the chance to contribute.
    you're actually right about that post there might be something wrong with the system clock. so i tried to echo date -u +%W$(uname) and it shows this weird output "date -u +%WLinux" i don't know what's wrong with this cause my system clock is running well i don't know why it doesn't show the week number though. anyone help me fix this thing?
    --- Fixed the problem ---
    well here's what i did, at first i run the command but i got the wrong answer because my system clock was turned off at that time then it shows nothing then i tried to echo the command and there i got the wrong answer. on the second time i run the command with the system clock turned on i still echoed it that's why i still got the wrong answer it shows this weird output when echoed "date -u +%WLinux". what i did right now is that i remove the echo and there i get the correct answer for the captcha.. hope this thread will help newbies like me in the future.
    Thank you for the help Mr. Trilby. I appreciate it.
       ey3blast
    Last edited by ey3blast (2012-12-26 13:44:08)

  • Developing a login and registration page

    Can someone tell me what would be a good way to create a
    login and registration page in DW 8. We will be using Microsoft SQL
    2005 to store the user information. Could I use PHP with MS SQL
    2005? Or would it be best if I use ASP.net with VB or C# through
    the DW 8 functions. The websites I have are all created in DW
    8.

    If you end database will be SQL2005 why are mucking around
    with MySQL. You
    can download a copy of SQL Express for development purposes.
    Paul Whitham
    Certified Dreamweaver MX2004 Professional
    Adobe Community Expert - Dreamweaver
    Valleybiz Internet Design
    www.valleybiz.net
    "cpltek" <[email protected]> wrote in
    message
    news:f0nomh$ne8$[email protected]..
    > OK. I have been trying to set a database with MySQL and
    use DW to create
    > my php
    > pages but I am having trouble finding the shareware
    version of MySQL at
    > their
    > site. I have MySQL version 5.0.37 community edtion
    installed on my local
    > computer but I dont know if this is a client or the
    actual server to
    > create
    > databases and tables in. Do you know where I can
    download the necessary
    > files
    > to do this? I have a virtual server over here I could
    use to set up the
    > mySQL
    > server. We will purchase the retail version once I get
    familar with php
    > and
    > mySQL. I have a good understanding fo RDMS and SQL code.
    The harderest
    > thing for me is setting up a testing server in DW and
    connecting to the
    > MySQL.
    >

  • Connect java to php web page

    Hello...
    I am new in this forum, so I am sorry if I post my question in wrong place.
    I have php web page and want to call my java classes i.e connect java to php. My java code will read from file some info. then will organize these info. finally, the java will write the organized info. in file, the php will display the content of the file.
    can help me please to achieve this goal...
    thanks in advance
    ibtesam saleh

    I do not how to use JPoller, put it looks very advanced.
    Or you can use a simple code in (java/perl/c/what so every u know)
    void main(){
    while (true) {
    checkDirectoryAndReadNewCommandsAndWriteNewOutputs();
    Thread.sleep(waitTime);
    }and put your program on your windows/linux startUp
    Or you can learn using sockets in java and write your own html service with port 80 (I did some experiments)
    Or you can try to use WebService example from Netbeans program (I tried it worked for me)
    Or you can learn J2EE (I have never find the time to look at)
    Or ... many ideas, to time :)

  • Problem with php processing page

    I am new to php and have created a form for my website online.  When testing upon submit the form goes to my email fine with all the fields coming in correct.  The problem I am having is the processing form is also sending a blank email along with the correct one and also i get at least one blank email a day.  I am not sure where I need to add something into my code or if it is just the users hitting submit without anything filled out. Also any tips and advice on how to prevent email injection would be much helpful. I have read up on this and not really sure where to add protection code. Thanks for the replies they will be much appreciated. 
    Here is the code from the php process page:
    <?php
    /* Subject and Email Variables */
    $emailSubject = 'Online Order';
    $webMaster = '[email protected]';
    /* Gathering Data Variables */
         $competition = $_POST['competition'];
         $product = $_POST['product'];
         $eventcitytwoField = $_POST['eventcitytwo'];
         $eventstateField = $_POST['eventstate'];
         $eventdateField = $_POST['eventdate'];
         $eventdatetwoField = $_POST['eventdatetwo'];
         $routineoneField = $_POST['routineone'];
         $routinetwoField = $_POST['routinetwo'];
         $routinethreeField = $_POST['routinethree'];
         $routinefourField = $_POST['routinefour'];
         $routinefiveField = $_POST['routinefive'];
         $routinesixField = $_POST['routinesix'];
         $firstnameField = $_POST['firstname'];
         $lastnameField = $_POST['lastname'];
         $phoneField = $_POST['phone'];
         $email = $_POST['email'];
         $shippingField = $_POST['shipping'];
         $shippingstateField = $_POST['shippingstate'];
         $zipcodeField = $_POST['zipcode'];
         $cctypeField = $_POST['cctype'];
         $ccnumberField = $_POST['ccnumber'];
         $expdateField = $_POST['expdate'];
         $expyearField = $_POST['expyear'];
         $billingaddressField = $_POST['billingaddress'];
         $billingcityField = $_POST['billingcity'];
         $billingstateField = $_POST['billingstate'];
         $billingzipField = $_POST['billingzip'];
         $commentsField = $_POST['comments'];
    $body = <<<EOD
    <br><hr><br>
    Competition: $competition <br>
    Product: $product <br>
    Event City: $eventcitytwo <br>
    Event State: $eventstate <br>
    Event Month: $eventdate <br>
    Event Day: $eventdatetwo <br>
    Routine One: $routineone <br>
    Routine Two: $routinetwo <br>
    Routine Three: $routinethree <br>
    Routine Four: $routinefour <br>
    Routine Five: $routinefive <br>
    Routine Six: $routinesix<br>
    First Name: $firstname <br>
    Last Name: $lastname <br>
    Email: $email <br>
    Phone Number: $phone <br>
    Shipping Address: $shipping <br>
    Shipping State: $shippingstate <br>
    Shipping Zip: $zipcode <br>
    Credit Card Type: $cctype <br>
    Credit Card Number: $ccnumber <br>
    Exp Month: $expdate<br>
    Exp Year: $expyear <br>
    Billing Address: $billingaddress <br>
    Billing City: $billingcity <br>
    Billing State: $billingstate <br>
    Billing Zipcode: $billingzip <br>
    Comments: $comments <br>
    EOD;
         $headers = "From: $email\r\n";
         $headers .= "Content-type: text/html\r\n";
         $success = mail($webMaster, $emailSubject, $body, $headers);

    You are not posting the data to a database, so you have fewer security concerns, but you SHOULD post to a database because as it is now, you probably have to re-enter all that data that comes in through the email. You can have the data sent to a database and then emailed in the same script.
    For form security, validate some fields using REGEX. The email address is an obvious one. You can also require that some fields be filled in, which will eliminate your blank submissions. Use CSS to hide a "dummy" field. Visitiors won't see it but spambots will see it and fill it out. Create a routine upon submission that rejects any submission that doesn't have that field blank. If you do change your form to post to a database, don't post to $_SERVER['PHP_SELF'] as that is not secure.
    You asked a big question and I just gave you some pointers above. Use the security forum at the following website for help with security issues:
    http://forums.devnetwork.net/index.php

  • Stuck on the 'Registration' page on iTunes when I try to update my iPod

    I started a topic before but it got archived so I'm trying again, hope thats ok.
    Ever since I've had my iPod, every time i plug it into my laptop to either update, delete songs etc I've been able to skip past the registration section but a good few months ago it decided to not let me skip the page so after many frustrating attempts I decided to just register it, I did so on iTunes and received emails from Apple to say its registered. So i thought it would be fine but it still does the same thing,
    I get the options of: Never Register, Register Later and Continue but no matter what i select it either doesn't let me move past the page or just sends me back filling out the same registration form which still doesn’t disappear when I’ve entered all my details.
    I thought if i left it for a while it might change but I’ve tried again this evening and its still the same!
    ill try and post a picture to explain...
    http://i33.tinypic.com/6i8gvt.jpg
    I'm hoping someone somewhere may know what to do? I know previously someone suggested adjusting the screen resolution but its nothing related to that.
    Thank you for any replies! It's such a frustrating situation.
    Message was edited by: Nikki2008
    Message was edited by: Nikki2008

    I never registered it until it got completley stuck on this page earlier this year, before i just clicked register later i think and then when it wouldnt let me do anything but that registration page i decided to go through all the various things to register it. So it is acutally registered now (i did that back in May) but nothing has changed since.
    If i click continue it shows me all the details i entered in May but still does not let me progress to see/edit my music...

  • How to create a Registration page in WebDynpro java

    Hi All,
    How to create a registration page in Web Dynpro java.Whatever i enter in the field of registration page should be stored in the pcd..So plz help me???
    Message was edited by: suman sahu

    Hi Suman,
        I have a similar kind of requirement , please let me know if you have got the solution for this??
    Regards,
    Ravi.

  • Query : Addition of extra fields in the User Registration page of portal.

    Hi All,
    I have a query, about adding extra fields in the new user registration page of portal.
    If you can suggest the required source files in details,inorder to incorporate two more fields.
    Say, AGE and COMPANY,with the existing fields in the same page.
    Along with this,can you please send the details of retrieving those information from backend and the backend functionalities associated with the SUBMIT button on the registration page.
    Regards,
    Sudeep

    Hi,
    Your query is divided into two parts.
    The first part is adding new fields into existing form. This feature comes under Branding of portal. Plz use the link below understanding the same and related help :
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/79/affe402a5ff223e10000000a155106/frameset.htm
    The second part is retrieving the values from backend.Here it will be the UME database. You need to develop a logon.par file and replace the same in your portal.
    Happy Customizing.
    Sukanta Rudra

  • Passing new values as extension to FM in registration page in b2c ISA..

    Hi experts,
    I have b2c application with CRM50. I have added new fields in the user(consumer) registration page.I need to pass these values to the backend. The standard function module CRM_ISA_REGISTER_CONSUMER  which has an parameter EXTENSION_IN to pass the extension data is called from UserCrm.class.
    The standard action SaveRegisterAction.class in config.xml after i click save button is called.
    I am not able to find the exact method to overwrite in which where i can add the addExtensiondata() method.
    Is anyone added new fields in the register.jsp page? Kindly help me out in this if any one has some idea.
    Also if anyone has the API for CRM50 please mail me to [email protected]
    thanks in advance.
    Nitin

    Hi Nitin,
        Could you find any code to call business object "User"  in action "SaveRegisterAction"?if you find, i think you can create new action extends from "SaveRegisterAction" ,and in the new action call method "addExtensiondata()" of object "User",after this you can get data in the function module you are mention.
    Best Regards.
    jason

  • Just got an iphone4 and itunes wont recognize it.thr registration page is blank except where you fill in answers. and it already wants me to update a new version but says network timed out. help

    just got an iphone 4 and the registration page is blank. it also says there is a new version available but says network keeps taking time out

    Hi Jen.  My daughter just compleated her nursing program and is now working as a full time nurse.  Focus and study hard and soon you will be there too.  Now to the problem at hand.  I have the same problem.  I gave up on it and satisfied myself with my iPod without the upgrade.  Reason being I've read so many posts of people having problems after the upgrade.  But I'm sure other factors are involved.  Nevertheless here is the fix most say works to solve the problem:  What ever virus protection you have installed on your computer, disable it.  Then try to install the update. After that enable the protection. I had Kaspersky, and it does it's job well. The thinking is, the virus protection is blocking the upgrade.  Hope this works.   Charlie

  • How to send an entire HTML, PHP dynamic page using phpmail()?

    How to send an entire HTML, PHP dynamic page using phpmail()
    from PHP website, similar to mail this page or send to a friend
    link?

    Hello,
    Please change the mail address
    "info[at]furkids[dot]co[dot]za" from this thread ^^^look above^^^
    to "[email protected]"
    Thank you

  • Trying to add captcha to forum registration page...

    I just put up a site and my forum is getting terrible spam so I need to add a captcha to the registration page.
    Here is the html code with my attempt to add a captcha module with the help of a support agent, it does not work for some reason.
    <h1>Forum Registration</h1>
    <div class="error">{module_error}</div>
    <div class="forum-registration">
    <h2>Existing Users - Login</h2>
    <form method="post" action="{module_pageaddress}" onsubmit="return check_RegistrationForm(this,'login')">
        <div class="form">
        <div class="item">
        <input type="hidden" name="OrderLogin_Info" />
        <label>Username</label><br />
        <input name="Username" maxlength="255" class="cat_textbox" />
        </div>
        <div class="item">
        <label>Password</label><br />
        <input type="password" name="Password" maxlength="255" class="cat_textbox" />
        </div>
        <div class="item">
        <input type="submit" value="Login" class="cat_button" /><a href="#" onclick="document.getElementById('lostpassword').style.display='inline';return false;">Forgot your username/password?</a>
        </div>
        </div>
    </form>
    <form method="post" action="/LostPasswordProcess.aspx" name="catseczonelpform57982" style="display: none;" id="lostpassword">
        <h2>Forgot Password</h2>
        <div class="form">
        <div class="item">
        <label>Enter Username or Email Address</label><br />
        <input name="Username" maxlength="255" class="cat_textbox" />
        </div>
        <div class="item">
        <input type="submit" value="Retrieve" class="cat_button" /><br />
        </div>
        </div>
    </form>
    <hr />
    <h2>New User - Registration</h2>
    <form method="post" action="{module_pageaddress}" onsubmit="return check_RegistrationForm(this,'newuser')">
        <div class="form">
        <div class="item">
        <input type="hidden" name="OrderRegistration_Info" />
        <label>Name</label><br />
        <input name="Registration_Name" value="{module_RegistrationInfo,Name}" class="cat_textbox" />
        </div>
        <div class="item">
        <label>Email</label><br />
        <input name="Registration_Email" value="{module_RegistrationInfo,Email}" class="cat_textbox" />
        </div>
        <div class="item">
        <label>User Name</label><br />
        <input name="Registration_Username" value="{module_RegistrationInfo,Username}" class="cat_textbox" />
        </div>
        <div class="item">
        <label>Password</label><br />
        <input type="password" name="Registration_Password" value="{module_RegistrationInfo,Password}" class="cat_textbox" />
        </div>
        <div class="item">
        <label>Confirm Password</label><br />
        <input type="password" name="Registration_ConfirmPassword" value="{module_RegistrationInfo,ConfirmPassword}" maxlength="255" class="cat_textbox" />
        </div>
        <div class="item">
        <label>Alias</label><br />
        <input name="Registration_Alias" value="{module_RegistrationInfo,Alias}" class="cat_textbox" />
        </div>
        <div class="item">
        <label>Signature</label><br />
        <textarea type="text" rows="4" name="Registration_Signature" class="comment">{module_RegistrationInfo,Signature}</textarea>
        </div>
        <div class="item">
        <label>Enter Word Verification in box below <span class="reg">*</span></label><br />
        {module_recaptcha}</div>
        <div class="item">
        <input type="submit" value="Register" class="cat_button" />
        </div>
        </div>
    </form>
    </div>
    <!-- END .forum-registration -->
    <script type="text/javascript" src="/CatalystScripts/ValidationFunctions.js"></script>
    <script type="text/javascript">
        //<![CDATA[
         function check_RegistrationForm(theForm,name) {  var why = "";  if (name == 'login') {  why += isEmpty(theForm.Username.value, "Username");  why += isEmpty(theForm.Password.value, "Password");  }  else {  why += isEmpty(theForm.Registration_Name.value, "Full Name");  why += isEmpty(theForm.Registration_Email.value, "Email Address");  why += isEmpty(theForm.Registration_Username.value, "Username");  why += isEmpty(theForm.Registration_Password.value, "Password");  why += isEmpty(theForm.Registration_ConfirmPassword.value, "Password Confirmation"); if (theForm,CaptchaV2) why += captchaIsInvalid(theForm, "Enter Word Verification in box below", "Please enter the correct Word Verification as seen in the image");  }  if (why != "") {   alert(why);   return false;  }    return true; }
        //]]>
    </script>

    You can do that on all forms Penny, Does keep them clean.
    It does mean that with no javascript they will never work, but in this day an age that should not be an issue.
    It looks like they were not hitting the registration url, but may have had a cached version of the page and using that to submit Penny.
    Its a good sollution - ideally for properness data- is a html5 attribute so the doctype really needs to be that. In XHML using rel="" on the form with the action in there is a good alternative as well.
    As a note Lynda's code was :
    $('.data-submit').data();
    This woud return all data
    $('.data-submit').data('action');
    Is more specifc and faster, if you had other data elements it would just fetch all or fall over.

  • ERecruitment external candidate registration pages goes Blank after SPS7

    HI All ,
    We have recently upgraded our system from NW 701 SPS3 to SPS7 .
    Information :
    Our eRecruitment setup is , External candidates will login through a
    different server and we have eRecruiting integrated with the ERP but with
    the frontend for the External Candidate on a different
    server.
    We have checked the SICF nodes (active)and Trex working fine , however when a
    candidate registration page or job search is opened the page remains
    blank .
    The logs in SM21 are as below when we tried to reproduce the same .
    RCF_UNREGSER R2 G HTTP/RFC session has been deleted following timeout
    Can you please guide us on this .
    Regards
    Rahul

    Hi all ,
    I myself resolved the issue thanks
    Regards
    Rahul Shady

Maybe you are looking for