Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. http://www.catb.org/esr/faqs/smart-questions.html
  2. isset returns a boolean true or false, so its result will never equal the string "showthread". On top of that, I fail to see how that could possibly have fixed your error. Can you post the original and complete error message?
  3. Why reinvent this wheel? It's been done by Symfony (and many other projects i'm sure), and packaged up ready to be used in any project. http://symfony.com/doc/current/components/routing
  4. No, were not here to write code for people. Where exactly are you stuck?
  5. What you are describing is much better done client side using Javascript.
  6. The problem is that you are assuming the 'insid' index exists. It doesn't always. Use isset to check first before using it.
  7. JavaScript != Java. The two are completely unrelated.
  8. Trying to find tutorials specific to your needs is just about pointless. Gaining an understanding of the language syntax, the available extensions/libraries and learning how to think about your problems analytically will get you a lot further with your quest. It won't however happen overnight.
  9. If MltMelt does what you're after, the code is available for that (https://github.com/mltframework/mlt). You could always just create a wrapper around its command line interface for php if you wanted to as well.
  10. All of your question have already been answered by most of the popular modern frameworks available for php. I'd recommend you take a look at one of them. Symfony or Laravel are my preferred options.
  11. Oh, and... See: http://au1.php.net/manual/en/function.spl-autoload-register.php http://www.php-fig.org/psr/psr-0 http://www.php-fig.org/psr/psr-4 https://getcomposer.org/doc/04-schema.md#autoload
  12. The problem that you are having is that apps like wordpress weren't designed with composer in mind. So, they need special custom scripts. A better solution would be for wordpress to catch up to the rest of the php world and start using composer. Of course, that isn't really likely because their entire application is not modular (nor oop), so it doesn't really fit the "package" mentality.
  13. You can only have one composer.json file per project. Requiring multiple composer.json files makes no sense. What are you trying to do exactly? If you want to install this: https://github.com/composer/installers, you simply need to add "composer/installers": "~1.0" to the "require" section of your existing composer.json file and then run `composer.phar install` Or, you can have composer add the line and install for you all in a single step: composer.phar require 'composer/installers:~1.0'
  14. Missed this did you? http://forums.phpfreaks.com/topic/150979-this-board-is-not-a-code-repository
  15. What sort of messages?
  16. That makes little sense. SSH is a network communication protocol.
  17. It should contain the code to process the form submission. What "process" means needs to be defined by you.
  18. http://www.tuxradar.com/practicalphp/9/0/0
  19. Have you tried searching http://packagist.org ?
  20. Never heard of Oracle http server before, the config looks like Apache's Http server.
  21. Again, Where are you stuck exactly? It seems a pretty simple requirement.
  22. I find it hard to believe you have a script but can't write this functionality. Where are you stuck exactly?
×
×
  • 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.