Home > Tag Archives: tutorial (page 5)

Tag Archives: tutorial

January, 2012

  • 20 January

    Display Page Loading Time

    Have you ever noticed that lots of websites feature some text towards the very bottom of a page saying “Page took x.xxx seconds to load”? It’s a pretty simple thing to make and gives your site something that we all love … stats! So today we’ll take a look at how to accomplish this through the use of PHP. First ...

November, 2011

  • 11 November

    Connecting to a MySQL Database

    None of our previous PHP tutorials have dealt with a database yet, and that is for the sole reason that not everyone has access to a database, however for those who do this tutorial will teach you the basics on how you can connect to your database. We wont be covering SQL queries and the conversion of SQL queries into ...

  • 9 November

    Using Custom Extensions

    Ever wondered how Google makes some of their pages have the extension .g? This is a fairly easy procedure really, and htaccess does a great deal in helping us accomplish this. First decide what you want the new extension to be, for our purposes we will use the extension of .purple (simply because it makes sense – what with the site being called ...

  • 9 November

    Selecting Default Index Files

    Most web hosts setup your account to use a specific file as the index file. In most cases this is either index.html, index.php, index.htm or defualt.html, but what happens if you don’t want to use any of those names for your index file? What if you want your index file to be called thestart.php (for example). Well once again we ...

September, 2011

  • 20 September

    Creating Custom Error Pages

    One of the most common uses for a .htaccess file is to create custom error pages. The Apache server comes pre-installed with several different error pages, the problem with them is that they are quite frankly…. ugly. In order to use custom error pages we just need to add the following line(s) to our .htaccess file (for instructions on how to create ...

  • 20 September

    Creating a .htaccess file

    Before you can start using any htaccess commands and functions, it is important to know how to create a .htaccess file. Surprisingly this actually causes people lots of problems. Most Operating Systems, Windows in particular, will not accept the file name .htaccess when you go to try to save the document. This error seems to have been fixed in Windows ...

  • 16 September

    Night & Day Detection

    If we assume that people’s interests vary according to the time of day, your website might be well served by promoting different kinds of content depending on whether its day or night. For example lets say we have two articles, one about the sun eventually burning out, and one about the Hale-Bopp comet. We can make the main article be ...

  • 7 September

    Make Life Easier With Custom Photoshop Actions

    Once you start working with Photoshop for some time you’ll find that your projects require many of the same, repetitive, actions and tasks. By creating custom actions for your more routine tasks, you’ll have more time to focus on your image. Creating a custom action is relatively easy, so in this tutorial I am going to create a custom action ...

  • 5 September

    Getting Ready For Video (Video Filters)

    Just as in print, not all the colors you see on a computer monitor can be reproduced correctly on video. If you are preparing overlays or graphics for TV or video, you can use the NTSC filter from your Video submenu to make your graphics broadcast safe. Take a look at the following graphic before the filter is applied: Now ...

August, 2011

  • 31 August

    The Pen Tool

    The pen tool is an extremely valuable feature in Photoshop – however often overlooked by most people due to a simple lack of understanding how all of it’s components really work. I will attempt to breakdown the various options and features of this tool and hopefully help to provide a better understanding for what it does. To start, Click and ...

  • 30 August

    Editing Colors Within A Photo

    A common task in Photoshop is the need to change a specific color in a photo, may it be a person’s hair or eye color. In this tutorial I will go over two different methods you can use to change the colors within a photo. Each method has its own advantages and disadvantages – so it’s best to be familiar ...

  • 30 August

    Triangles

    Continuing on with shapes and Photoshop I wanted to touch base upon triangles. Photoshop doesn’t have a built in triangle tool, so drawing a triangle takes a bit more work than the circles and squares took. Here we will use Photoshop’s line and arrowhead feature to create various triangles. We’ll start off by double clicking the line tool which will bring up ...

  • 30 August

    Circles and Squares

    Shapes are probably the simplest and most common starting point for Photoshop users – and one of the most common beginner questions I get asked is “how do I draw a perfect circle?”. In this tutorial I attempt to answer that question – along with the usual follow-up of “and what about a perfect square?”. In the vertical tool bar ...

  • 26 August

    Square CSS Badges

    I was playing around with CSS earlier today and came up with something rather interesting, I call them CSS badges since I’m really not sure what else to call them.The code behind these buttons is actually extremely simple and I have commented it along the way so you could easily see what controls what. Adding an icon to the badge ...

July, 2011

  • 21 July

    Programming In C: Functions with Viewer Choice

    Using a Conditional inside a User-Defined Function If you want to give the viewer a choice of options, this can be handled either inside a user-defined function, or in the main( ) function. Let’s begin by handling viewer choice inside a user-defined function. In this example, a customer chooses how many books to order. The company uses this chart to ...

  • 5 July

    Programming In C: Built In & User Defined Functions

    There are several different types of functions in C. So far, we have used one type of function:built-in C functions, like printf( ) and scanf( ). These functions are part of the C programming language. Another type is called a user-defined function. This is a function which the programmer creates and uses in a C program. We will learn how to ...

June, 2011

  • 21 June

    Programming In C: Character Type Library Functions

    Character Type Header File If you need to check what type of character the viewer typed, use ctype.h which is the character type header file. We write it like this: #include<ctype.h> Here is a list of character type library functions: isalpha  checks if the input is an alphabetical letter  isdigit  checks if the input is a number  isupper  checks if the input ...

  • 21 June

    Programming In C: More Library Functions – strcmp, stricmp, strcat, strstr

    strcmp: compare two strings You can compare the characters and spaces in a string using the strcmp function. For example, is “William Lambton” the same as “William Lamberton”? Using strcmp, the computer will compare each character and space, to see if they are identical. If the names are the same, the computer will return a value of 0. We can express this ...

  • 21 June

    Programming In C: Library Functions for Strings – strcpy, strlen

    C Library Functions for Strings C comes with libraries of special functions, that we can use in our programs. These functions are stored in the string header file, <string.h>, which we include at the beginning of our program: #include<string.h> Here is a list of string library functions: strcpy copies a string strlen calculates the length of a string strcmp compares ...

  • 21 June

    Programming In C: Declaring Strings & Gets and Puts Functions

    Declaring (Initializing) Strings As we learned in the lesson on Characters and Strings, a string is a character variable with more than one character. Strings can be abbreviations, words, phrases, sentences, or even paragraphs. To declare a string, use the char variable type, then specify how many characters are in the string. Add one to this number, because at the end of the ...

Like every other website, this site uses cookies to analyze our traffic. Cookies may also be utilized by our advertisers and partners. By using this website you agree to the use of said cookies. More Information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings, continuing to navigate past this message, or you click "Accept" below then you are consenting to the use of cookies on the Rapid Purple website.

Close