Archive | Laravel

Laravel 4 – moving uploaded files

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, exceptions need to be used to ensure the move took place. First check a file has been uploaded. In this example ‘file’ is the name of the file field in […]

Continue Reading 5

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 2