Jump to content

Maq

Administrators
  • Posts

    9,363
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Maq

  1. Maq

    JSON

    There are examples in the manual and plenty more on the net. Is there something specific you would like to know about?
  2. I mean an app that has already been built, all you have to do is implement and customize. Just Google, "free php social networking scripts".
  3. Why don't you just use a 3rd party app?
  4. Oops, sorry about that viion.
  5. That's not was I was implying. I want to see the output. Like the example I provided, the error you're receiving could be caused by the way you're passing the contact information to mail(). Also take a look at PFM's suggestion as mine is just a likely guess.
  6. Echo the contents of '$to' and post the output.
  7. Try something like: (Not tested) $path = "./"; foreach (glob($path . "/*.csv") as $filename) { if (filemtime($filename) >= $recentDate) { recentDate = filemtime($filename); $recentFile = $filename; } } echo "Most recent file: " . $filename; ?>
  8. pow - Please search the manual first.
  9. The same error has been reported in the manual. Please read this entry: http://us.php.net/manual/en/function.mail.php#77012 It has to do with the way you're providing the address. It's a platform issue.
  10. where would i view these errors? Browser, terminal, wherever you're running it from. Make sure you place those lines directly after your opening <?php tag.
  11. Try turning error reporting on. ini_set ("display_errors", "1"); error_reporting(E_ALL);
  12. First thing's first, you need to be properly set up with all extensions that you are going to be using. To settle some confusion: Add them. Download your extensions here, PECL, and put them in your extension directory. Make sure you restart Apache. You can run a script with just: phpinfo(); ?> to view all the extensions that have been installed. When you have all that working then come back with your relevant code and the entire error messages.
  13. You can submit the form to the same page to check, verify, and sanitize input. Upon success, query the DB, else, display relevant error message and prompt the user again. EDIT: Please surround code with tags for proper indentation and syntax highlighting.
  14. Line:38 should be 'elseif'. 'else' does not take a condition.
  15. You need backticks around `Date`. Temporarily put an or die clause to see what the error is. LIKE '%%' doesn't make any sense, as it will match on anything and everything. You should also put single quotes are your timestamp values.
  16. CV = phpfreaks community whore
  17. Maybe a sessions issue...? It's hard to tell with the lack of information. Is there a specific reason you posted this in the MySQL section?
  18. Can you explain exactly what you're trying to accomplish so we can provide the best solution for your situation?
  19. Really? Try this: http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a0080093f22.shtml
  20. Missing a semi-colon after your second echo.
  21. You're missing single quotes in both of your xajax class instances.
  22. What's the problem you're having?
  23. MySQL has REGEXP, if you want to be a bit more precise. Although, you will compromise some performance.
×
×
  • 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.