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 […]
Archive | Laravel
Laravel Multipart Registration and Reminder Emails
Laravel 4 comes with a password reminder and registration interface. The interface sends out reminder emails with unique tokens, so that the application can confirm the user trying to recover their password does have access to the email address they claim is theirs. Using the interface is easy. To recover a password, an anonymous user […]
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, […]
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 […]