Jump to content

HuntsvilleMan

Members
  • Posts

    28
  • Joined

  • Last visited

    Never

Everything posted by HuntsvilleMan

  1. I have a PHP script that creates a small mp3 files as part of a voice mail application. Now I need to email this mp3 file as an email attachment to the person expecting to get the message. Since I'm using Yahoo Small Business as my web hosting server, I need something compatible with Yahoo's unix server. I'm vaguely aware that Yahoo has had a problem with spammers in the past and likely still do so I'm also wondering what experience other users of Yahoo Small Business hosting have encountered in getting this type of email to work. Initally I might generate 50 to 100 emails a day and in time perhaps up to 1500 emails a day. Each email goes to only one recipient so it's not a classic bulk email type application. Thanks for suggestions
  2. The reason I didn't choose a single DATETIME field was not knowing how to write a query for all rows for say '2011-12-03' unless date was in a field by itself. Sounds like using the DATETIME field is a better choice, but how to write the query? Thanks
  3. I am trying to insert the current time and date into fields of type time and date. The line below works just fine. mysql_query("INSERT INTO testtable (ID, CallTime, CallDate) VALUES ('1234', '12:12:12', '2001-01-01')"); When I insert the actual time and date as shown below the code below fails. mysql_query("INSERT INTO testtable (ID, CallTime, CallDate) VALUES ('1234', date('G:i:s'), date('G:i:s'))"); If I echo date('G:i:s') and date('G:i:s') they look like they would work. I'm guessing there is a formating problem here but need idea for how to make it work. Thanks for a suggestion
  4. I am new to PHP. What got me interested was building a telephone application using the tools at Twilio.com. While I have programmed some in other languages (visual basic, C, ADA, etc), web programming is all new and have spent the last week with web tutorials learning basics of PHP and HTML. Still need more basic PHP material to read, especially good examples that build on one another. For now I learning basic syntax and trying to see the big picture. My experience with previous languages taught me to study code from more experience programmers and avoid the urge to go too far without good mentors. Finding a good development environment is high on my list. For now I'm editing with NOTEPAD and looking at some pretty uninformative diagnosics in a log file. Hope to learn enough that I can give back later. At this point I can't offer a lot. Suggestions for more material to read about PHP would be nice. If anyone else has written an application using Twilio let me know.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.