In this article, we’ll go through the PHP functions that allow you to use regular expressions to perform search and replace operations on strings. What Is a Regular Expression? Regular expressions—also called “regex”—are search patterns for text. These patterns can be processed by a regex engine to find substrings, validate that a string matches a… Continue reading How to Work With Regular Expressions in PHP
Category: Tutorials
You learn something everyday if you pay attention
24+ Best Free Retro Fonts (50s–80s Fonts to Download)
Looking for free retro fonts? Cool retro fonts can be such a stylish addition to design projects, especially if that retro font style is right on target with the era. In this article, we’ll take a look at some retro-looking fonts that you can download now. Download this vintage retro font and thousands of others… Continue reading 24+ Best Free Retro Fonts (50s–80s Fonts to Download)
What is PHP Used For?
PHP is an open source language that was created to make web development easier. It’s primary and most suitable purpose is as a web development language for creating web apps or APIs. You don’t need a complicated set of commands to create webpages in PHP. In fact, you can mix PHP with plain HTML in… Continue reading What is PHP Used For?
44 Best Vintage Script Fonts (Retro Calligraphy and Cursive Styles to Download)
Vintage script fonts come in a wide variety of styles to suit every project and need. If you’re in the market for vintage fonts, check out this list of the best vintage script fonts from Envato Elements and GraphicRiver. Unlimited Font Downloads From Envato Elements Both Envato Elements and Graphic River offer high-quality vintage script… Continue reading 44 Best Vintage Script Fonts (Retro Calligraphy and Cursive Styles to Download)
How to Make a Digital Brochure
What You’ll Be Creating In this tutorial, we’ll look at how to make a digital brochure in InDesign. Working with a digital brochure format could be preferable for remotely distributing your info. So if you’ve ever wanted to try making your own digital trifold brochure, check out this walkthrough. We’ll also check out some digital… Continue reading How to Make a Digital Brochure
Real-Time Global Aviation Data With the aviationstack API
Aviation is among the most important global industries because it connects people and businesses across cities, countries, and continents. It is the only rapid transportation network that spans the world. However, aviation isn’t just about transporting people; today’s economy almost completely depends upon the timely delivery of goods and services. Major retailers rely upon the… Continue reading Real-Time Global Aviation Data With the aviationstack API
Get Real-Time Weather Data With the weatherstack API
“You can always talk about the weather.” It’s a cliched phrase, but regardless of a person’s personality, political views, or culture, the weather is a subject that anyone and everyone can talk about and find common ground. It’s the universal truth that binds humanity together. But the weather is more than that—it’s a force that… Continue reading Get Real-Time Weather Data With the weatherstack API
31+ Best Brush Fonts (Script, Paint, and More!)
Find the best brush fonts handcrafted by pro designers. Check out this list for great inspiration. 33 Best Brush Fonts (Script, Paint, and More!) You can achieve wonders with a spectacular brush font. They make the perfect addition to any wedding invitation or a compelling header for your website. Handcrafted with expertise, these top brush… Continue reading 31+ Best Brush Fonts (Script, Paint, and More!)
System Fonts: All You Need to Know
In this tutorial, we’ll be taking a look at system fonts. We’ll be going over what exactly system fonts are and what they aren’t! We’ll be looking at them from a design perspective, discussing the pros and cons of system fonts. We will also be exploring system fonts in popular culture, and we’ll touch briefly… Continue reading System Fonts: All You Need to Know
Android Essentials: Creating Simple User Forms
Android applications often rely upon data supplied by users. This tutorial walks you through the creation and use of a number of the most common controls used to collect data from the user. Getting Started For this tutorial, you will design and implement a membership registration form. Whether you’re in charge of recruiting members for… Continue reading Android Essentials: Creating Simple User Forms
20 Fonts Similar to Proxima Nova (Alternatives to Download)
Love sans serif fonts, but you’d prefer a Proxima Nova alternative? Fonts similar to Proxima Nova share its sleek, stylish, modern look. In this article, we’ll take a look at the aesthetic of the Proxima Nova font and why it’s so successful. We’ll also take a look at some fonts like Proxima Nova that you… Continue reading 20 Fonts Similar to Proxima Nova (Alternatives to Download)
What is Shopify?
Shopify is an eCommerce platform for online stores and POS (point of sale) systems for retailers. It includes a huge selection of tools for anyone looking to start an eCommerce business. Arguably it’s not just software; it is a platform, an ecosystem for eCommerce. It differs from self-hosted eCommerce solutions like WooCommerce, Magento, and OpenCart… Continue reading What is Shopify?
Search and Replace Strings With Regular Expressions in PHP
PHP comes with a huge variety of functions to work with strings. You can use these built-in PHP functions to trim strings, join them, or replace them. String functions in PHP are pretty powerful by themselves. You can use them to make case-insensitive changes or do multiple replacements at once. However, they still require you… Continue reading Search and Replace Strings With Regular Expressions in PHP
Hand Lettering: How to Vector Your Letterforms
What You’ll Be Creating I remember a year ago I was having so much trouble vectoring my letterforms. I had a decent understanding of the Pen Tool, but had no idea that learning just a few minor techniques would do wonders for my type and help create those smooth curves I was looking for. This… Continue reading Hand Lettering: How to Vector Your Letterforms
PHP Superglobals Explained—With Cheatsheet
In this post, I’ll give you a cheatsheet quick reference to all the PHP superglobal variables available in PHP. What Is a Superglobal Variable? Let’s have a look at the definition of superglobal variables. Superglobals are built-in variables that are always available in all scopes. Whether you are a seasoned PHP developer or a novice… Continue reading PHP Superglobals Explained—With Cheatsheet
How to Handle Text Overflow (with a CSS Ellipsis)
When a string of text overflows the boundaries of a container it can make a mess of your whole layout. Here’s a cool trick to handle text overflow by truncating long strings with a CSS ellipsis. Text Overflow (with a CSS Ellipsis) Our Overflowing Text Demo During this quick tip we’ll use the following demo… Continue reading How to Handle Text Overflow (with a CSS Ellipsis)
8 Best Free Live Chat PHP Scripts
Are you thinking of adding a free live chat feature to your website? Do you want to give personalized live chat support that will improve your visitors’ website experience? Do you want your forum members to chat with each other in real time? Fortunately, there are free PHP scripts available to help. Free PHP live… Continue reading 8 Best Free Live Chat PHP Scripts
Form Input Validation Using Only HTML5 and Regex
Validation of form input is something that should be taken seriously. With luck, nothing worse than garbage data will be submitted to a site which uses data from forms without proper validation. However, there also a chance that hackers will be able to compromise the private data of users who trusted you with their information.… Continue reading Form Input Validation Using Only HTML5 and Regex
17 Fonts Similar to Arial
In this article, we’ll cover the history of Arial, the Helvetica substitute. We’ll give you an overview of the font and some amazing fonts similar to the Arial font. Arial has become the synonym for Helvetica since its beginnings. There are no two fonts with more history, critique, and comparison than these two. Arial is… Continue reading 17 Fonts Similar to Arial
How to Use cURL in PHP
Today, we’re going to explore the cURL extension in PHP which allows you to make HTTP requests from your code. Often you need to communicate with external websites in your day-to-day PHP development. Whether it’s calling third party REST APIs to fetch data or downloading resources from the external website, you want a library which… Continue reading How to Use cURL in PHP
How to Build a Simple Theme Switcher With the CSS Checkbox Hack
In this tutorial, you’ll learn how to create a CSS-only theme switcher by taking advantage of the “CSS checkbox hack technique” and CSS variables. Ready for another CSS challenge? Note: This tutorial assumes that you’re familiar with this particular CSS technique along with advanced CSS selectors (e.g. general sibling combinator). If you haven’t heard of… Continue reading How to Build a Simple Theme Switcher With the CSS Checkbox Hack
A to Z of Illustrator: Tips, Tricks, & Hacks!
Get ready for some rapid-fire tips and tricks on how to use Adobe Illustrator! In this tutorial, we’ll take a look at 26 tips, tricks, and hacks, from A to Z. For all the featured images and resources, check out Envato Elements! With one subscription, you’ll have unlimited access to assets such as graphics, video templates,… Continue reading A to Z of Illustrator: Tips, Tricks, & Hacks!
Understanding Variable Scope in PHP
Variables are an important part of any programming language. You can use them to store all kinds of information like integers, floats, strings, arrays, the contents of a file, etc. The data stored in variables can then be manipulated by adding or removing information. Using variables also allows us to create loops and perform some… Continue reading Understanding Variable Scope in PHP
20 Best Etsy Banner Designs (Using an Etsy Banner Maker)
If you have an Etsy shop, you need an eye-catching banner to make sure your page stands out from the crowd. Don’t worry—you don’t need to waste time trying to figure out how to make an Etsy banner yourself. That’s because Placeit’s Etsy banner maker will help you create an eye-catching banner in a matter… Continue reading 20 Best Etsy Banner Designs (Using an Etsy Banner Maker)