Results 1 to 5 of 5

Thread: [RESOLVED] PHP Code - works for some, not others

  1. #1

    Thread Starter
    WiggleWiggle dclamp's Avatar
    Join Date
    Aug 2006
    Posts
    3,527

    Resolved [RESOLVED] PHP Code - works for some, not others

    ok. i have this php page, "forgot_password.php". The user puts in their email, it asked for a secret question then put their answer, creatre a random password sends it to their email.

    Now it works fine for me, but for 2 other people who tested it on their computer, it didnt send the email and did not change the password.

    whats wrong!!! it is driving us nuts.
    My usual boring signature: Something

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    Re: PHP Code - works for some, not others

    "Tested it on their computer", does that mean they ran it on a local web server, or did they accessed a central web server with browsers from their computer?
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  3. #3
    PowerPoster
    Join Date
    Sep 2003
    Location
    Edmonton, AB, Canada
    Posts
    2,629

    Re: PHP Code - works for some, not others

    If it was on a central web server and it didn't send them emails and it didn't even update their password, then there's probably something wrong in your code. post some.
    Like Archer? Check out some Sterling Archer quotes.

  4. #4
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256

    Re: PHP Code - works for some, not others

    Are you sure it didn't update the password? If it's just an email problem, then it probaby has something to do with how you're sending the email. Some email providers are more strict on the format of incoming email that they will accept. It could be anything from how you're setting up from/reply-to or, if you're using html email or setting up the headers, whether you use \r\n or just \n.
    My evil laugh has a squeak in it.

    kristopherwilson.com

  5. #5

    Thread Starter
    WiggleWiggle dclamp's Avatar
    Join Date
    Aug 2006
    Posts
    3,527

    Re: PHP Code - works for some, not others

    thanks for your reply hobo. but i already figured itout. Thanks!
    My usual boring signature: Something

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width