Custom Video Markup With preg_replace_callback() (Techniques)

Don’t you hate the ugly code generated to embed a video? Couldn’t there be a better way? The short answer is yes.

Allow your CMS ’ users and clients to embed videos the clean, quick and effortless way. Just tell them to copy the URL and surround it by curly braces just like this

{{ http://www.youtube.com/watch?v=kzdykNa2IBU }}

In this tutorial I’ll teach you how to process this data with preg_replace_callback() and some regex magic.

Download Custom Video Markup With preg_replace_callback() (Techniques)

DNS for beginners (Fundamentals)

In this 40 minute exclusive video tutorial you will learn about DNS – the system that makes domain names such as www.envato.com or www.themeforest.net work on the Internet.

This tutorial is produced for beginners and you will need no previous knowledge of DNS in order to follow it.

This tutorial will cover:

  • Why we are using domain names
  • The structure and purpose of DNS
  • Forward and reverse lookups
  • An example of a forward lookup
  • SOA and zones
  • Cache and TTL
  • FQDN ’s
  • A few words about pointers (A and MX records)

About the author

This tutorial is produced by Martin Hellsing, a former information technology teacher and owner of a web hosting company in Sweden. Today Martin works as a IT-consultant focusing on network security and SaaS environments.

Download DNS for beginners (Fundamentals)