trq
Staff Alumni-
Posts
30,999 -
Joined
-
Last visited
-
Days Won
26
Everything posted by trq
-
http://www.catb.org/esr/faqs/smart-questions.html
-
Why isnt isset working? Whats wrong with this?
trq replied to xFalseProphet's topic in PHP Coding Help
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? -
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
-
No, were not here to write code for people. Where exactly are you stuck?
-
What you are describing is much better done client side using Javascript.
-
JavaScript != Java. The two are completely unrelated.
-
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.
-
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.
-
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.
-
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
-
composer.json files for installing apps automatically
trq replied to entheologist's topic in Applications
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. -
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'
-
Missed this did you? http://forums.phpfreaks.com/topic/150979-this-board-is-not-a-code-repository
-
That makes little sense. SSH is a network communication protocol.
-
It should contain the code to process the form submission. What "process" means needs to be defined by you.
-
Of course bots have ip addresses.
-
What the actual fuck?
-
http://www.tuxradar.com/practicalphp/9/0/0
-
Have you tried searching http://packagist.org ?
-
Help Needed on php-fpm configuration
trq replied to thesmahesh's topic in PHP Installation and Configuration
Never heard of Oracle http server before, the config looks like Apache's Http server. -
Again, Where are you stuck exactly? It seems a pretty simple requirement.
-
I find it hard to believe you have a script but can't write this functionality. Where are you stuck exactly?