Laravel / Google Maps -- Get Locations in Bounds
Problem: While working on a project using Laravel back-end and JavaScript front-end. I had a situation where I needed to get all the locations for the map with given bounds. First,
Problem: While working on a project using Laravel back-end and JavaScript front-end. I had a situation where I needed to get all the locations for the map with given bounds. First,
Problem: While working with a company, I decided to look into how they were generating their registration codes which were used to allow users to pre-purchase access to their platf
Problem: One of my client's Laravel web sites was having issues with logging in users where the first time, they would get the TokenMismatchException (gracefully handled, of course
Problem: While converting some older Laravel code, I ran into an issue where the hydrate method had been removed. My usage was similar to this: $raw_result = DB::query(...); $hydra
Problem: I wanted to quickly populate some tables using some large CSVs (400k+ records) but parsing the files and importing each line was out of the question and doing one mass ins
About Dynamic Relative Date-time Range Dynamic Relative Date-time Range (also known as a Rolling Date Range) is a string formatted representation of a period of time relative to th
I apologize that this page is not well organized. It mainly exists to serve as notes for myself. If you can make sense of this, great! Changes I had to make to my code when updatin
Problem: Recently I've been setting up some servers for web hosting and while install the LAMP stack, ran into a funny issue where the server would return a blank page when I tried
Problem: With the recent release of Laravel 4, the documentation URLs for Laravel 3 have been completely changed and I haven't been able to find it. Solution: Found it: http://thre
Problem: I found a well-written PayPal REST API that used Composer . My existing project was in Laravel 3. I wanted to make everything work without hacking all my files to bits. Bu
Problem: I was working on a project in Laravel when I realized I really wanted to have 1 route rule for a specific controller but be able to allow a lot of different arguments. Sol
Problem: While trying to develop quickly I set up a routing rule for Laravel that I thought was correct. But when I tried to access the page, I was met by this error: Missing argum
Problem: While developing a web site on my development service provided by Dreamhost , I found that I would occasionally (and randomly) run into the following error: General error:
Problem: While developing a multilingual application for a client using PHPActiveRecord , I noticed that foreign characters were not getting read properly from the database due to
Problem: Every week I get an automated call from some number to my Twilio number. It is very annoying and I don't want to pay (even a penny) every time this caller tries to dial my
Problem: One of my clients currently has me working on a project involving the creation of a Facebook application. Since the project is small and needs to be completed ASAP, I chos
Problem Running a Twilio application on my personal server was working fine until I moved it to DreamHost . At that point my XML was corrupt and closer inspection showed that doubl
After installing Trixbox 2.8 on my Oracle VirtualBox, I was playing around and enabled the Trixbox Addons repo under Settings > Repositories. Upon refresh my it was apparent tha
Problem: In some instances, you may want to know if your request in the controller was ajax. Solution: Turns out CodeIgniter has added an is_ajax_request method to the input class.
Intro Being tired of having a trying to fully utilize CodeIgniter's built-in ActiveRecord (which is really a loose interpretation of the ActiveRecord design pattern if you ask me),
Problem: If you have recently upgraded your CodeIgniter framework to their recent 2.0 release, you have have run into some issues, that were not covered in the upgrade guide or in
Problem: I have been trying to load a large fixture file in Symfony but everytime I went to load the fixture using doctrine:load-data, Symfony would crash. I looked at the mySQL ta
Problem: I want to split my fixtures into separate files in the fixtures directory but when I try to load the data, I get constraint errors. Solution: Symfony has a solution for de
When transferring a project from our development server to our production server at work, I realized that uploading FLV files resulted in the end result being a .BIN (or binary fil
Being new with Symfony, I decided to learn on their most recent stable version (1.4). For my work, I needed to be able to upload a file from the user when they submitted a form. Wh
Recently while installing Symfony on my localhost using the xampp package, I realized I was having issues once I was trying to get the screen to load. When I typed in the url using
Recently I ran into an issue where I would call a PHP file that would generate a unique id and return that to Flash (I am sure I could do the same thing from within flash but decid