

Using the PHP function strpos() you can search a PHP variable to find any occurrence of one string inside of another. For example, your string is “Hello World!” and you…
We’re working on a new project in Laravel 5.6 and along the way plan on providing tutorials for several of the Laravel functions and guides. Even a simple Laravel install…
Today I had PHPStorm open and not sure what I did, but for some reason it was stuck in a loop of re-indexing files. It wasn’t a new project and…
We’re always looking for ways to improve server performance and page speed loading times. Today we finished migrating the rest of our cPanel accounts over to PHP-FPM. It’s straight forward…
MailChimp allows you to create sign up forms with their builder, but they can be a pain to style and for some don’t allow enough customization. The following code is…
I need to grab the data from the “enclosure” tag from the following feed: https://queryfeed.net/twitter?q=%40CabosNews&title-type=user-name-both&geocode= In the example, you can modify the “enclosure” field to any of the fields you…
With PHP 5 they introduced the DateTime class. Prior to that everyone used strtotime, date, etc…commands to achieve the same results. I was a late adopter and continued to use…
The PHP function strtok splits a string one by one. In the example below I’m trying to split off everything after the ? in the URL. https://www.facebook.com/LiquidWebInc?fref=ts https://www.facebook.com/CocaColaUnitedStates?brand_redir=1 In PHP…
This will be a walk-through on how to create a submit form that checks the database to make sure the username is not taken. If it is taken it will…