Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. And your specific question / issue is?
  2. Codelgniter is an abomination and a dying project so forget it. Any of the other 3 are probably worthwhile though I don't hear much about Cake these days (but that is likely just the circles I hang in). As for where to start. This question gets asked all the time and the answer is always the same. Try them all and see. If I were in your position I would spend a weekend with each, and then decide. They are all very capable, so it's just personal opinions as to which one you like best.
  3. You don't need to place anything anywhere. You need to understand what composer is. Start here: https://getcomposer.org/doc/00-intro.md, its not rocket science. composer installs any and all dependencies into the vendor directory. So whatever highcharts thing you have downloaded, you don't need it if you have just installed it via composer. Your tone suggests that it is somehow our fault that you are not understanding any of this, and frankly, I don't like it.
  4. Composer is the same on Windows as it is on Linux. Just cd into the root of your project and execute: composer require 'ghunti/highcharts-php:~3.0'
  5. How should we know? You need to actually describe your problem. http://www.catb.org/esr/faqs/smart-questions.html
  6. Yeah, you're going to need to provide more information than "not working".
  7. Or you could just read our sticky: http://forums.phpfreaks.com/topic/273121-readme-php-resources-faqs/?do=findComment&comment=1405508 posted at the top of this very board.
  8. AR is just a pattern. One of the more popular frameworks getting around these days (Laravel) uses this same pattern for its ORM Eloquent. So, the pattern is around, I've just never heard of that particular library before. AR isn't a particularly good pattern to use for an ORM anyway though in my opinion as it tightly couples you models to their persistence implementation. The Data Mapper pattern gives you a much cleaner end result. Maybe you'd be interested in looking at that? If so, I would highly recommend Doctrine.
  9. I'm not sure you're going to find much help here with such an obscure little library.
  10. It is a "to each his own" type thing and no, I don't see any issue with leaving out the develop branch. I have worked at places and on projects using master & develop, master, staging and develop and master alone, it really is up to you. With fewer devs (I have found), it probably makes more sense not to worry about develop. Make sure to always use feature branches however.
  11. Why would you do that? As a framework it is an abomination. As a project, it is dying a slow and painful death. Move on, nothing to see here. They are the website pages.
  12. Have you installed Symfony's dependencies using composer? Have you created a vhost on your http server for this project?
  13. So where exactly are you stuck? The install process is pretty straight forward.
  14. So, is php working on your machine? You hint at using mamp already, so why is this question in the "PHP Installation & Configuration" board? Are you simply stuck getting Symfony working?
  15. It doesn't yet exist. You'r using a terribly old version of php (nearly 8 years old, released 24-Aug-2006). As stated in the manual, filter_var didn't exist until 5.2.
  16. Besides the point I know but, you already have an account. Duplicate accounts are not permitted.
  17. Yes, composer often takes along time to complete dependency resolution and installation. It's quite normal. On a side note: That's not how to do it. You should create a "standard-project" repo or similar and have it pull all the dependencies including this "brain" framework you speak of.
  18. http://php.net
  19. Both systems use different line ending but this doesn't generally cause any issue. Its just means that sometimes weird characters show up in different text editors. Whatever is easiest, it doesn't really matter. I think jazzman1 misunderstood the question / issue at hand.
  20. Put simply a patch is just a file of changes that can be applied over the top of an existing file. An example: Given a file named foo.txt containing... Hello World And a patch file named foo.patch containing... diff --git a/foo.txt b/foo.txt index 557db03..3ef92e9 100644 --- a/foo.txt +++ b/foo.txt @@ -1 +1 @@ -Hello World +Hello World, my name is trq. Applying this patch using... patch -p1 < foo.patch Would result in foo.txt containing.... Hello World, my name is trq. Patches are often used to apply changes to source code. What I assume your host is talking about is that they will patch your database with the latest security fixes.
  21. No, nothing special. Just download them. PHP files are simply text files.
  22. Line 31 of that first snippet is not valid php at all. It looks more like JavaScript. We need more context.
  23. Because the iserror variable is out of scope. It has been defined within a function.
  24. Replace: $success[header('Location: index.php')]; with: header('Location: thankyou.php'); Then create the thankyou.php page.
×
×
  • 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.