Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. Do you have a mail server installed and configured?
  2. This topic has been moved to Application Design. http://www.phpfreaks.com/forums/index.php?topic=342726.0
  3. The thing that stands out the most is that your client side stuff is mixed in with your server side stuff. I would be inclined to make a new directory and place all your js, css and images within there own sub directories within that. Then, if your have sufficient privileges to do so your could (and should) also make this your servers document root for this site.
  4. This topic has been moved to JavaScript Help. http://www.phpfreaks.com/forums/index.php?topic=342727.0
  5. Have you tried Googling for a tutorial?
  6. Seriously, this is about the 5th thread you've opened on this subject. We have a 'do not double post' rule, you should stick to it.
  7. return exits a function and returns it's argument.
  8. This sounds like it would perfectly suite an ajax solution, something like what Facebook and Twitter do where as you forreach near the end of the page more data is dynamically fetched. Getting everything up front seems a massive waste of resources.
  9. Looks to me like mod_rewrite isn't working.
  10. Your missing the closing ); $(document).ready(function(){ $('span.close').click(function() { $(this).parent().fadeOut(400); }); });
  11. You should remove the onClick from your markup and leave the binding to jQuery.
  12. You must have missed this: http://www.phpfreaks.com/forums/index.php?topic=37442.0
  13. Many thanks. So you would create a class for each table (a model) and place in there, not only the data access code, but also as much of the validation that relates to the table as possible? S Precisely. The Model should be kind of like a gatekeeper of your data. It makes sense that it would be the place to store your validation is this then ensures that the same rules are applied everywhere within your application.
  14. It is generally considered best practice to have fat Models, and thin controllers. The more you can move into a Model the better as this means it can be used easily in different locations.
  15. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=342583.0
  16. This board is for help with code, were not exactly here to handout code.
  17. It should be pretty well explained in the manual. http://php.net/manual/en/book.geoip.php
  18. That would be correct. Have you done any Googling?
  19. This topic has been moved to Other RDBMS and SQL dialects. http://www.phpfreaks.com/forums/index.php?topic=342552.0
  20. This topic has been moved to Apache HTTP Server. http://www.phpfreaks.com/forums/index.php?topic=342523.0
  21. What exactly are you planning on doing with this 30,000 rows of data? Surely your not going to try and display it?
  22. You cannot write using simple http. You would need to setup webdav. otherwise, your going to need to look down the path of other protocols. ftp, ssh etc etc. Depending on what it is your doing, it might be better to provide an API the client can send data to.
  23. If your only hosting the single site there is nothing special you need to do. Multiple sites (domains) would required there own virtual hosts in Apache.
  24. This topic has been moved to JavaScript Help. http://www.phpfreaks.com/forums/index.php?topic=342394.0
×
×
  • 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.