Using a few lines of PHP to programmatically upload an image to Cloudinary
Scheduled for 3rd May 2021.
This quick block post shows how to upload an image to Cloudinary using PHP, using their provided SDK
Showing posts from the category "PHP"
Scheduled for 3rd May 2021.
This quick block post shows how to upload an image to Cloudinary using PHP, using their provided SDK
Posted on 22nd March 2021.
PHP Deployer is a great little utility for deploying your PHP app via command line. It doesn't force you to use any specific tech stack and simplifies the process of getting your app live.
Posted on 15th September 2020.
I am currently in the midst of developing a new side-project and wanted to use the same class as a base for two separate elements of the project.
Posted on 20th April 2019.
Fetch is a fantastic JavaScript function which allows you to natively get and post data from the browser. This post includes some examples of how to use it.
Posted on 18th October 2018. Written For Liquid Light
Lumen is a micro-framework from the creators of Laravel. Using Laravel methodology, Lumen offers a leaner, cut-down version of the framework. By including less code, Lumen is able to offer ...
Posted on 12th March 2018.
I've recently moved all of my git repositories to Gitlab, this blog post walks through a script I have written to clone all of my repositories locally as a backup.
Posted on 17th June 2015.
Getting your passwords out of Locko into something else can be tricky due to their unique export format. This post helps with PHP
Posted on 3rd December 2014.
To put it very simply, a PHP class is a way of grouping a set of functions and variables into entities,allowing them to be used as self-contained instances . It ...
Posted on 18th May 2013.
As I mentioned in my first post I have made an archive of my previous Wordpress blog posts into a static page. This is done through some SQL and ...
Posted on 18th May 2012.
Before you continue - make sure you understand the story. The next thing is that php lines always need to end with a semi-colon (;). This tells php that the line ...
Posted on 10th May 2012.
Before you continue - make sure you understand the story. When developing static sites (i.e. sites without any sort of CMS - be it Wordpress, Drupal etc.) the ...
Posted on 6th May 2012.
Recently, a few friends of mine have been asking questions about PHP and want to learn the basics. I am a front-end developer for a web design agency. i.e. ...
Posted on 10th March 2011.
If you would like to limit the amount of items coming out of an array (for example the first 5 news items)
Posted on 16th February 2011.
This PHP statement applies class="even" to every other element when in a loop.
Posted on 14th February 2011.
If you want to apply a different class to the last item in a list generated by PHP, start off with Setting the $lastOne variable to the end of your list
Posted on 4th February 2011.
The following code will get the dimensions of an image: <?php list($width, $height, $type, $attr) = getimagesize(PATH_TO_IMAGE); I found this useful when using a lightbox to ...