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
Tag: used
The role of Reflection in the design process
[unable to retrieve full-text content] The often-overlooked last step. In product design, when we release a feature into the wild, we can expect a degree of objectivity in the feedback we get. We can tell if our designs are helping or hurting based on the feedback and metrics after we ship. Getting my hands on these metrics… Continue reading The role of Reflection in the design process
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)
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
How to build tech that does things differently
[unable to retrieve full-text content] Data ethics principles and processes are useful, but they are often of limited use when it comes to addressing the social and environmental harms of the data economy. This post is about using creative R&D to build data technologies that embed a different set of values from the ground up,… Continue reading How to build tech that does things differently
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
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
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
21 High Quality Photoshop Actions for Photographers & Designers
23 Shares Photoshop Action can transform your photos into Oil painting photo effect, newspaper effect, abstract art, glowing skin retouch, watercolor effect, comic and halftone dots effects with just one action effect. Mostly Photoshop actions available with video tutorials that shows how to setup action files and how to use. Every time you run the… Continue reading 21 High Quality Photoshop Actions for Photographers & Designers
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
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)
Top 5 Best Vinyl Records With Beautiful Design
There is no debate: vinyl is da shizz again. Well, it’s always been but now more and more music aficionados are buying the OG music format. Vinyl sales increased dramatically last year, finally beating CD after 35 years. And this year, it’s just January and many vinyl pressing plants are fully booked till the end… Continue reading Top 5 Best Vinyl Records With Beautiful Design
5 Platforms to Showcase Your Work as a Beginner Designer
2 Shares Social media are one of the marvels introduced to us by the internet. It allows us to communicate and share anything we want from anywhere. And that provides countless opportunities for those who want to earn money by doing art. But where do I start as a beginner designer? What platforms are the… Continue reading 5 Platforms to Showcase Your Work as a Beginner Designer
How to Make a Propaganda Poster
What You’ll Be Creating In this tutorial, you’ll learn how to make your own propaganda poster in Photoshop, using a vintage propaganda style and giving it a contemporary twist for International Women’s Day. Suitable for Photoshop beginners, this tutorial is a great way to learn more about poster design and discover how to create a… Continue reading How to Make a Propaganda Poster
Example of How to Add Google reCAPTCHA v3 to a PHP Form
In this article, I’m going show you how to add Google reCAPTCHA v3 to a form on your PHP website. The latest reCAPTCHA is different than the previous versions—it doesn’t require user interaction at all. In this post, we’ll see how it works, and we’ll build a real-world example for demonstration purposes. As a website… Continue reading Example of How to Add Google reCAPTCHA v3 to a PHP Form
How to Make a Live Chat Script in PHP
In this article, we’ll discuss how you can make a live chat script in PHP. Although there are different ways you could achieve this, we’ll use a socket-based implementation. If you’re building a community site which involves user engagement, it’s useful to provide a way for users to discuss ideas in real time. When it… Continue reading How to Make a Live Chat Script in PHP
42 Best Web Fonts (Ready to Download and Use)
Looking for cool fonts for web design or some new web fonts to use on your website? In this article, we’ll take a look at some serif web fonts, sans serif web fonts, and other stylish fonts you can use on your website today. Whether you’re looking for the best web body fonts or some… Continue reading 42 Best Web Fonts (Ready to Download and Use)
20 Best New Websites, February 2021
It’s February, and the spring sun is finally starting to peep through the winter clouds. While many of us are still largely restricted to our homes, the web has kept on growing. We see a shift in attitude towards natural health, wellbeing, and sustainability, and these are now being branded less often as outliers and… Continue reading 20 Best New Websites, February 2021
Ethics, UX and our role in all this
[unable to retrieve full-text content] Ethics, UX, and our role in all this We live in a world where our behaviours are accurately being predicted every step of the way. It sometimes feels like apps and products know us more than we know ourselves. This is not necessarily bad, or that we should be scared every… Continue reading Ethics, UX and our role in all this
Make a Simple Mobile App With Material Design: Create a Login Screen
Material Design is a design system that helps teams build high-quality digital experiences. It brings together style, interaction, and motion to create hierarchy, meaning, and continuity throughout the application. Material Design comes with material components for Android that are necessary to ensure developers come up with beautiful designs. In this tutorial, you’ll get an overview… Continue reading Make a Simple Mobile App With Material Design: Create a Login Screen