Code Samples

Looking for free PHP, ASP, HTML, JavaScript, or CSS code? Well, here you go. And feel free to make requests for additional code samples.

Passing Variables from HTML to Flash

Most flash applications have little, if any, interaction with the web pages in which they are embedded. However, sometimes it is necessary for the page to share information with the flash application. In this tutorial, we will show you two simple methods for passing variables.

Read Article

Tags:

How To Write A PHP Contact Form

Contact forms are a great addition to any website. Read our contact form tutorial and download a complete code sample. This form works out-of-the-box and even verifies that visitors have entered valid email addresses. Download it now, for free!

Read Article

Tags:

How To Parse HTML Files As PHP

There are many reasons to parse HTML files as PHP. Some webmasters do it because they are converting an old static website into a dynamic website and don’t want to lose pagerank. Other websites do it because search engines favor web pages with .html endings. Still others do it for security reasons.

Fortunately, parsing HTML files as PHP easily accomplished on Linux Apache via the use of an htaccess file.

Read Article

Tags: , , ,

Superscripts, Subscripts & the Uneven Line Height Problem

Many web browsers do a bad job of displaying text with superscripts and subscripts, resulting in paragraphs with uneven spacing between lines. This article shows you how to fix that problem.

Read Article

Tags: ,

WordPress $post Variable: A Simple Reference

If you are a WordPress developer you might have found the need to access information that is not readily accessible via the template tags. So before you go and create a complicated function, take a look at how you can use the WordPress $post variable to retrieve additional post data.

Read Article

Tags:

Google Sitemaps Tutorial - How To Make One

In this article, we show the structure of a Google sitemap and give link to two free tools that can generate sitemaps for your website.

Read Article

Tags: , ,

How To Design Websites For Internet Explorer

Previously, we published an article on the versions of Internet Explorer that you should view when testing your website for cross-browser compatibility. In this article, we highlight a few tricks and tips on how to code your website.

Read Article

Tags: , , ,

301 Redirects with .htaccess files on Linux Apache

At some point, it may be necessary to reorganize a website or move a website to a new domain name. This means that your pages will no longer be accessible via their previous urls, resulting in a lot of 404 - Not Found errors for all visitors and search engines that request these pages.

In this article, we explain how to move pages or an entire website, yet do so without annoying visitors or hurting your position in search engines.

Read Article

Tags: , , , , , ,

Want us to work on your project?

Contact us today for a quote. Click here to submit details regarding your project.

If you are making a general inquiry, send an email to info@velvetblues.com