PHP form validating

Discussion in 'PHP' started by WTM, Feb 4, 2006.

  1. #1
    I need some help Please!

    I have two forms on the same page: one login form and one form that collects information from customers.
    For second form there are script to validate entries. Now when I try to use login form I get all this messages about invalid entries in the second form.
    Is there a way to make it work?

    My friend paid crazy money to some amateurs to develop his site and it looks like they purposely left a lot of bugs so they could charge some more to fix it.
     
    WTM, Feb 4, 2006 IP
  2. mad4

    mad4 Peon

    Messages:
    6,986
    Likes Received:
    493
    Best Answers:
    0
    Trophy Points:
    0
    #2
    It sounds like one of the forms is not formed properly. Basically the first form should start with <form> and end with </form> but it should end before the next one starts.

    Post the url and I will take a look at the code.

    Also don't pay any more money to somebody who has clearly not tested the code. Its OK to make mistakes as long as they are sorted out before the client sees them.
     
    mad4, Feb 4, 2006 IP
  3. WTM

    WTM Peon

    Messages:
    500
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks Mad.

    here is the page: driversunlimited.com/drivers_register.php

    If I am trying to login using form on the right - left form is being validated
     
    WTM, Feb 4, 2006 IP
  4. wwm

    wwm Peon

    Messages:
    308
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #4
    be carefull these amateurs probably left ur site open to attack!

    it seems all form validation is done on client side not on the server side, this is very dangeorus

    the reason u having problems with the login form is javascript

    if u want to put the source here ill help u out (or pm if u dont want post code)
     
    wwm, Feb 4, 2006 IP
  5. WTM

    WTM Peon

    Messages:
    500
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Thanks WWM,
    I will try to pm you source code for the page and includes.
    I greatly appreciate any help!
    P.S. you look delicious on the picture..
     
    WTM, Feb 4, 2006 IP