Search results

  1. M

    Email not working?

    Tectite FormMail? It seems to set the necessary options to send from an arbitrary e-mail address (it sets sendmail_from, which can otherwise cause problems). It uses, the PHP mail function, which is what I'll base my testing on. At this point, I'll say the problem isn't likely FormMail. So far...
  2. M

    Email not working?

    What method are you using to send the e-mails (language and function or methods)? What "From" address are you using? Have you checked for the messages in the spam folders on the target mailboxes?
  3. M

    Missing Data on account

    "neilhanlon.com" resolves to "74.63.233.26". A reverse lookup on that returns "chopin.x10hosting.com." A lookup on that resolves to "74.63.233.26". Conclusion: your domain resolves to the current chopin host. Did wp-blog-header.php get lost in the transfer? Does it still exist in...
  4. M

    Determining if a day is 0 or 1

    If what's the case? You've quoted my whole post, so I can't tell which part you're referring to. The code produces the behavior you've described. Running this: <?php // localDB.php provides LocalDB::connect include_once('localDB.php'); function day2timestamp($day) { return mktime(0, 0, 0...
  5. M

    Determining if a day is 0 or 1

    The question of what the overall goal is is still open, though it's not as important as the task behavior is now well defined. However, there still might be a better way of achieving the goal. Do you have any more information about how the values are used? There's still the problem of fetching...
  6. M

    Determining if a day is 0 or 1

    Which suggests there is an overall goal involving picking a schedule. This is important because the requirements are dependent on the overall goal. If you know why the code needs to perform a task, you can figure out the behavior of the task. Inversely, without knowing why a task should be done...
  7. M

    Determining if a day is 0 or 1

    Is the bold text your answer? What's your answer to: Really? Why do you care that Feb 1st is 0 and Feb 10th is 1? It's an entirely arbitrary valuation. Why does it matter whether or not you count some days?
  8. M

    Determining if a day is 0 or 1

    That's not an overall goal, that's a step to the goal. What use is assigning a 0 or 1 to a day? What's the purpose of the assignment? This still isn't consistent. Feb 11 is skipped but not counted, while Feb 5 is counted. Did you mean to assign a 1 to Feb 12, or do you want to skip some days...
  9. M

    Determining if a day is 0 or 1

    This contradicts the earlier example, where you assigned a value of 1 to Feb. 8th. Getting the count of days mod 2 will do what you want, but you still haven't specified where you want to start counting from. The beginning of the week? Month? Year? An arbitrary date? If you told us the overall...
  10. M

    Voice modification software?

    You could get a VST host and look for plugins, starting with a pitch shifter. DestroyFX and TAL-Dub have some great plug-ins. Look for voice related plugins .
  11. M

    mod_php or php-fast_cgi?

    Unless you need the Apache functions in PHP or Apache API in Perl, it's not worth the battle; use FastCGI. If it turns out later you need either, you can switch.
  12. M

    can't create tables anymore

    It does, which is the point: to display an error message so OP has a clue what's going wrong. Good point; see the link in my previous post about information disclosure. Even displaying an SQL error message is a security risk. However, DDL statements (table creates & drops) should only be...
  13. M

    Redirecting to cgi-sys/defaultwebpage.cgi

    When I go to http://sowrabh.x10hosting.com/, the source of the resulting page is the same as for http://sowrabh.x10hosting.com/index.html. Perhaps you need to clear your web cache.
  14. M

    How do i add a page

    Just have to say: avoid W3Schools. Their approach to HTML is very poor, advocating presentational HTML elements. The following sites have better tutorials: How To Create's HTML tutorial - The Basics Dev.Opera HTML Dog How To Create See "What’s the best website for learning HTML...
  15. M

    WEBSOCKETS, The future is now.

    This certainly isn't the appropriate forum. The tutorials forum might be, if you have a how-to. Failing that, there's the "Off Topic" and "Computers & Technology" forums. Each forum should have a sticky specifying what topics are appropriate; read them before posting, otherwise you risk getting...
  16. M

    can't create tables anymore

    @dani22: Looks like you've got the immediate issue resolved. There's something you can do in the future to diagnose SQL query problems: check function results for errors. With the old mysql driver, check whether the result of mysql_query is identically FALSE. You have to use the === operator so...
  17. M

    can't create tables anymore

    And how was that? cPanel? Using phpMyAdmin's table wizard? Running a query from phpMyAdmin? Running a query from a script? Something else? When asking for help, be precise and informative.
  18. M

    Remove duplicates

    Do you mean you want to learn SQL? Try SQLzoo and "Writing MySQL Scripts with PHP and PDO", or the suggestions in other threads ("sql database", "Sql for noobs", "Want to learn to program...."). The threads include links to yet more pages with yet more suggestions.
  19. M

    MySQL timezone, NOW() command problems

    Note that the value returned by NOW() is 6 hours behind UTC_TIMESTAMP(), so those at least are consistent. Try PHP's time functions; on Lotus, they report a timezone of EST and the correct time for that timezone. MySQL is 14 hours, 16 seconds fast relative to the PHP functions. I'm not certain...
  20. M

    Help

    This thread belongs in the "Free Hosting" forum, not "Programming Help". However, before you go asking there, you should always check the server status site before asking about site problems. Chopin still has some issues.
Top