Menu

Need Time/Date Sent in Email

Help
avermat
2006-04-09
2013-06-03
  • avermat

    avermat - 2006-04-09

    Is it possible for the email to show the time and date when the info from the form was sent?  Maybe a better question is can somebody provide me with the php code to do this?

    Great form, thanks in advance for any advice.

     
    • TNTEverett

      TNTEverett - 2006-04-11

      Right before this code
      $message = stripslashes($message);
      add the following
      $message .= date('l dS \of F Y h:i:s A');

       
    • Eric Meijer

      Eric Meijer - 2006-04-11

      Sorry, but may I be so rude to interrupt.
      In the past forums like these were introduced to solve real technical problems and to support open source application development. As I monitor this forum for quite a long time I notice a degradation in this point of view. More and more people without any knowledge of webdevelopment, PHP scripting or whatsoever starting to ask all kind of questions regarding free support for specific functionality for propriatary applications. Formgenerator is a great tool to gererate a generic set of forms for a webdeveloper. With a little bit of knowledge in the field it's no hassle at all. If you want more functionality feel free to develop this. If things work fine and you added improvements to the offered tooling, feel free to make a contribution. That's how I look at the forums supported by sourceforge.net.
      By the way, I don't want to offend people who like to offer the helping hand. My only worrie is to keep these forums as where they were meant for.

      To learn more about PHP and webdevelopment there is plenty on the Internet and even more books written about.

      Am I wrong or is it the way I discribed?

      Regards,

      Eric

       
      • TNTEverett

        TNTEverett - 2006-04-11

        I object to your comment.
        People want to use the product.  When people use the product there are bound to be problems, and there are bound to be requests for specific customizations.  Some of the requests might be simple, some might be more involved.  If people can not get support, people will stop using the product all together. 
        As a user myself I can say that the first thing I wanted to do with my form required customization.  Because I am familiar with PHP and web development it was easy for me to make the required changes.  Most people don't have this knowledge and probably never will. 
        I can also say that from the developers perspective, if no one uses the product, what's the point of this forum?  If no one is allowed to ask and get answers to questions how will the developer know how people are using the product?  How will the developer know what custimizations should become new features? 
        In my opinion this forum now includes a wealth of knowledge for the developer to use to improve the usefulness of this product.  It includes this knowledge because people use the forum and continue to come back and ask more and more questions.  They keep coming back because they get answers. 
        If the developer does not appreciate the fact that there are people willing to use and support the forum, I will be glad to terminate all additional support. 

         
    • avermat

      avermat - 2006-04-19

      I just got back from vacation.  THANKS tnteveret1!  Your code worked perfectly, just what I wanted.  I hope other beginners will find your code as useful as I did. 

      As for meijee, I am sorry I didn't know why these forms were originally introduced and that my issue was not a "real" technical problem.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.