How to get information from user using PHP?

Gen A asked:


hello, i’m new to php, i now know how to create forms and simple programs but how to i retrieve data from a user.. for example i want to make a form with two text boxes, and a submit button and when the user fills those text boxes the informatoin automatically gets to me.. but i do not now how people get the information from users? is it posible to sent it to email or something? thanks

Marc
Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Live
  • MySpace
  • StumbleUpon
  • Technorati
  • TwitThis
December 4, 2009 • Tags: , • Posted in: Programming & Design

6 Responses to “How to get information from user using PHP?”

  1. colanth - December 7th, 2009

    If you mean ‘you’ personally, not your php program, yes, use php’s mail() function to send email.

  2. Daniel S - December 8th, 2009

    An email with php httpus2phpnetfunctionmail usually though user input is either immediately used or written to.
    An email with php httpus2phpnetfunctionmail usually though user input is either immediately used or written to database such as mysql.

  3. Fred Bear - December 11th, 2009

    For form processing here httpphpresourceindexcomcomplete_scriptsform_processing.

  4. just "JR" - December 17th, 2009

    HTML FORM to EMAIL (Php)

    Your index.html file:

    Your name:
    Your password:
    Your email:

    (replace by their correct form - stupid editor!)
    Your emailfwd.php file:

  5. DzSoundNirvana - December 19th, 2009

    For you can enable email supportdzsoundnirvanacom or download it below instillation notes are the bottom of this.

  6. question asker - December 22nd, 2009

    Here’s a simple mail form..