Problem! People can only register to my site using Firefox.

Discussion in 'PHP' started by ritchie111, Aug 19, 2007.

  1. #1
    Hi.
    I have a problem with people registering to my site.:(
    People can only register using firefox, And i have not got a clue why they can not register using any other browser..
    For example if they register using Internet explorer they go through the normal procedure but then when they have finnished they dont get an email with there activation code, or password and they dont even register on my database..:(
    Only Firefox will allow them to register successfully.
    Any advice or help would be very greatfull.


    Thanks Ritchie
     
    ritchie111, Aug 19, 2007 IP
  2. hans

    hans Well-Known Member

    Messages:
    2,923
    Likes Received:
    126
    Best Answers:
    1
    Trophy Points:
    173
    #2
    i safely assume you have fully HTML validated your pages !!

    to test why you need to give All DETAILS - hence full URL to the page that causes problems.
     
    hans, Aug 19, 2007 IP
  3. tamilsoft

    tamilsoft Banned

    Messages:
    1,155
    Likes Received:
    78
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Give the website url
     
    tamilsoft, Aug 20, 2007 IP
  4. ritchie111

    ritchie111 Peon

    Messages:
    279
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #4
    ritchie111, Aug 20, 2007 IP
  5. Vangs

    Vangs Peon

    Messages:
    8
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I'm not too sure about this, but it could possibly be because of your form action being blank. Try changing the action to action="register.php" and see if that helps.
     
    Vangs, Aug 21, 2007 IP
  6. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #6
    I have been able to register with IE. Just the message was not visible until I looked at the source code.

    (It was in the very first line, infront of any <html> tags, etc...)
     
    nico_swd, Aug 21, 2007 IP
  7. ssanders82

    ssanders82 Peon

    Messages:
    77
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Here's a possibility: how are you checking for a POST? In Internet Explorer, when someone hits "enter", the form submits but $_POST['submit'] will *not* be set. In Firefox, it will.

    So, if you're doing if($_POST['submit']) to check for post, it will only work on IE if the user clicks the submit button, not if they hit enter. Could this be the case?
     
    ssanders82, Aug 21, 2007 IP
  8. Eps

    Eps Peon

    Messages:
    17
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    That could. You should always use

    if($_SERVER['REQUEST_METHOD'] == 'POST')

    because this is the only reliable way of knowing whether or not a form is submitted.
     
    Eps, Aug 22, 2007 IP
  9. Eps

    Eps Peon

    Messages:
    17
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    And as for the message being in front of the HTML tags... well you should simply take a good look at what situation might cause that kind of output and I'm sure you'll locate what's causing the problem.
     
    Eps, Aug 22, 2007 IP
  10. ritchie111

    ritchie111 Peon

    Messages:
    279
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #10
    I have an update, i have got the register form to work so its it recognising the registration now, where as before when people registered the form would reset.
    But now the only problem im having is its not sending the email out:(
     
    ritchie111, Aug 22, 2007 IP
  11. ritchie111

    ritchie111 Peon

    Messages:
    279
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #11
    It doesnt work either way mate :)
     
    ritchie111, Aug 22, 2007 IP
  12. sweet.swetha

    sweet.swetha Peon

    Messages:
    52
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Are they getting any error or information message when they register through IE ?
     
    sweet.swetha, Aug 22, 2007 IP
  13. ritchie111

    ritchie111 Peon

    Messages:
    279
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #13
    No nothing at all.
    It all goes through the registration process no problem.
    Just no email is been sent to them with there login details
    Like there password.
    :confused::(
     
    ritchie111, Aug 24, 2007 IP
  14. lpstong

    lpstong Notable Member

    Messages:
    3,292
    Likes Received:
    216
    Best Answers:
    0
    Trophy Points:
    230
    #14
    Same here. But I am sure this is what you are talking about as the issue at hand. Is those who reg in IE and having an email sent for validation and with the password info right?
     
    lpstong, Aug 24, 2007 IP