Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. Executing queries within a loop is very inefficient. You should read this: http://www.phpfreaks.com/tutorial/data-joins-unions
  2. This topic has been moved to Other Web Server Software. http://www.phpfreaks.com/forums/index.php?topic=347581.0
  3. This topic has been moved to Other Programming Languages. http://www.phpfreaks.com/forums/index.php?topic=347582.0
  4. Is this solved then or do you have a question?
  5. The simple answer is no. The interfaces are designed to return arrays because it is far more common to retrieve more than one field form a database. If you want to abstract this further yourself, php allows you to create your own functions.
  6. You already described what you must do, have you tried writing some code that actually does what you describe?
  7. Without using any form of obfuscation it's not possible. Anyone who knows anything about php will be able to remove your code within 2 minutes.
  8. You need to escape ALL external data that you use in ALL queries.
  9. ./ means the current directory ../ is the previous directory ../../ means two directories up and so on. This has little to do with PHP and has been how file paths have been referenced since the 60's.
  10. This topic has been moved to Ajax Help. http://www.phpfreaks.com/forums/index.php?topic=347585.0
  11. Firstly, sched_TestingOnlyQuery1.htm would need to be a php file. That file would then need to return it's data. eg; sched_TestingOnlyQuery1.php <?php return "SELECT bar FROM foo"; ?>
  12. You must have missed this? http://www.phpfreaks.com/forums/index.php?topic=37442.0
  13. For to be considered object oriented it would usually implement already existing design patterns. Just because you jam functionality into classes does not mean your site is uses oop.
  14. Your Controller is not the same 'type' as a Loader, and therefore should not extend it.
  15. You should firstly validate the data is a number using regex, then just use a simple expression to test that number is greater than 18.
  16. I think asking for what features to be included at this very early stage is probably not that important. IMO, I would concentrate on getting a good base system developed. Allot of existing forum software failed to do this and this is why allot of forum software is poorly designed and hard to work with. I would concentrate on getting the basic down. You'll need a flexible ACL system, good user tracking and above all a good system for implementing plugins. SMF for one has an absolute nightmare of a system for integrating plugins. IMO plugins should not put code into the core of the application. Take Wordpress for example. While not really implemented as well as it could be, they do have a good plugins system based on events that allow plugins to extend the functionality of Wordpress without ever modifying the Wordpress code itself. Most of the features mentioned above I wouldn't even really consider building into the application itself. They should likely be built as plugins, even if they ship with the software by default. As for a SourceForge page. SourceForge is so last decade man, all the cool kids are hosting on GitHub these days.
  17. This topic has been moved to Third Party PHP Scripts. http://www.phpfreaks.com/forums/index.php?topic=347473.0
  18. cloning creates a local repository which you may or may not need. One reason you might want to go with cloning (besides wanting to contribute) is it makes it easy to update to the latest version. You simply execute 'git pull' in the case of git.
  19. This topic has been moved to Other Libraries and Frameworks. http://www.phpfreaks.com/forums/index.php?topic=347443.0
  20. The best advice I could give is to keep things minimal. Only install what you need.
  21. To run hg you need to install mercurial. You should be able to download any of these projects a simple zip or tar file as well though. Generally, you would only clone a repo if you plan on actually contributing to the project.
  22. I particularly like the line "The nets largest script collection...." Github recently surpassed one million projects and a fairly high proportion of them are in active development. Decent enough design though, if your into that whole gaming clan look.
×
×
  • 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.