Bash – How to know where the script is
To find out which folder the script is being executed in, and it doesn’t matter where it’s called DIR””$( cd
Read moreTo find out which folder the script is being executed in, and it doesn’t matter where it’s called DIR””$( cd
Read moreTo see all the routes configured in the symfony2 application, just use the command: php app/console router:debug
Read moreEveryone knows the strtotime function. With this one, for example, we can recover the date of 2 weeks ago, strtotime
Read moreTo make a personalized relationship between two tables in a model, it is possible to add an additional option in
Read moreWhen you start using PHPunit, you often find yourself faced with the need to simulate a method or object. Fortunately
Read moreWhen we have to process a very large xml, it is unfortunately not possible to use simpleXML. Fortunately for this,
Read moreWhen you want to process an XML file in PHP, there are two possibilities. Either we use simpleXML or we
Read moreTo find out how to load a file in PHP from a form you have to start by formatting the
Read moreIt can happen that a function is only called from an interface (console, apache …). There is a function that
Read moreBy default on WordPress we have TinyMCE and although this plugin is very powerful, there are far too many buttons.
Read more