Jump to content

luisda2994

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by luisda2994

  1. Hello,

     

    I need to be able to send a form to a real email address using mail(), however every solution I find has to do with uploading the website to a host, and due to the nature of my project that's not possible. It must run in my own computer and still be capable of sending emails.

     

    Any example, code or help appreciated.

     

    Thanks

  2. I doubt PHP would be the tool for that. The major use case for PHP is that it runs on a web server and only executes when someone makes a request for a PHP script. It wouldn't sit there and monitor a COM port, for example. It could, but that's not really what it's for. You might want to look into using C/C++ or Java to write a little console application that will sit there waiting for COM traffic. That application could save things to a database which PHP could then read to show on a web site.

     

    I see, so what combination of languages can I use? C++ to read it and save it into a database? Is it possible to combine C++ and MySQL?

  3. Hello everyone, I have read the basic tutorial and googled about this topic, but I'm confused.

     

    The context is: I'm sending simple characters from a microcontroller to a virtual terminal in my PC. The transmission protocol is RS232 (9600 baud, No parity, 8 bits, 1 stop bit) and I need to be able to capture the messages to later insert them into a database.

     

    I have read something about a paid library but as I said I'm new to web programming.

     

    Right now, I need to figure out how to detect an incoming character and save it.

     

    Thank you!

×
×
  • Create New...