Archive | Laravel

Laravel 5 – Naming Logfiles According to OS User

Apologies in advance for the formatting of the code. WordPress is, basically, shit at handling any kind of formatting that is not its own flavour of HTML, so it plays all sorts of games reformatting and “improving” the layout. One day I’ll find a way through this mess. I asked the question here on how […]

Continue Reading

Laravel 4 – moving uploaded files

Note: This article was written for Laravel 4.x and now very outdated. Please see the comments below for recommendations on other resources you can use for later versions of Laravel. When handling uploaded files in the controller, there is a point where the file needs to be moved to its final destination. Unusually for Laravel, […]

Continue Reading

Validating Flight Codes

Working on a portal that allows end users to enter their flight details for Operation Wallacea (OPWALL) trips, we were finding many details not being entered correctly. Since the portal was to take some of the load off the operations staff, having to double-check everything was not really saving any tine. The flight codes (or […]

Continue Reading