Quantcast
Channel: notboring dev blog » PHP
Browsing index pages (6 articles)

Displaying line numbers as default setting in Jetbrains PHP Storm

To enable line numbers as default on every file you open, you use the settings dialogue: File -> Settings -> (IDE Settings) Editor -> Appearance -> [x] Show line numbers That’s it. Der...

View Article


Automated unit testing for code igniter 2.x/3.x

Here’s simple method for unit testing in CI 2.x/3.x. The test class in application/controllers < ?php class Frontend_Tests_Controller extends Frontend_Controller{ function __construct(){...

View Article


xampp mailtodisk application problem: no emails are being saved, the tool...

To “fix” the issue, please check the content of your xampp/apache folder. mailtodisk ingores the path settings and write the logs in to a subfolder of the webserver. That means you gonna find your...

View Article

PHP: Deleting all files from a folder that reached a certain age (x...

Here a quick example that explains how to delete all files of a folder that are older the x days/minutes/hours/months. This method works under both windows and unix. The custom getCorrectMTime()...

View Article

Simple to use Windows SMTP test server for developers

If you are developing on a windows server using xampp or a similar webserver package you might run into issues with testing functions that reply on emails. That’s because windows got no built in SMTP...

View Article


xampp: Making CURL available for direct (php.exe/php cli) execution

Open your xampp folder (eg. c:\xampp) and go into the php subfolder (eg. c:\xampp\php). Open the file “php.ini” in a text editor and enable CURL line by replacing the outcommented line...

View Article
Browsing index pages (6 articles)


Latest Images