Basic Photoshop Planets Tutorial
This is a basic tutorial for Adobe Photoshop which will allow you to create an awesome planet-like object.
This is a basic tutorial for Adobe Photoshop which will allow you to create an awesome planet-like object.
Okay so lets start this tutorial by explaining what rotoscoping is.
Rotoscoping is painting or cutting out elements from a single video frame or sequence of video frames, whether it be removing an element like a character from a background or adding an element like putting them right in the scene can be considered rotoscoping.
Here is a very simple tutorial on how to make a 3 column CSS (Cascading Style Sheets) based web page that will ultimately look like this;

You can see that there are 3 sections to the page, the left, middle and right hand side. We will refer to these as the Left Sidebar, Content and Right Sidebar. This style of page is well used because it offers an area for navigation of the website, an area for the content of the page and an area for miscellaneous extras. It is also an example of a fluid layout;- as the resolution of the viewers monitor increases, so does the size of the content area.
Let’s begin! Read the rest of this entry »
Using this snippit of code as an example I shall run you through the syntax of CSS code which will help in understanding how the code works.
#leftsidebar {
position: absolute;
left:10px;
top:50px;
width:200px;
background:#fff;
border:1px solid #000;
}
Although if you haven’t touched CSS before this will look complicated. I shall run you through each section of the code. Read the rest of this entry »
Well this post just had to be done.
For those of you running Windows, you would (obviously) know what Internet Explorer is (I’m just going to shorten it down to IE). Hell, even people who don’t run Windows know what IE is, because it’s used so widespread.
Mozilla Firefox is another browser that is becoming popular among Windows, Mac and Linux users. Read the rest of this entry »
Ok, so how do you format dates in PHP so it outputs the date format you want? Well thanks to PHP’s date() and strtotime() function, we can do all that! To kick off, lets take the most common date format ‘YYYY-MM-DD HH:II:SS‘. This date format seems to be most favoured as it increments in such a way that allows you to query a database that has multiple records in a useful way, such as:
First and foremost MAKE SURE YOU HAVE WRITE PERMISSIONS ENABLED ON THE FILE/DIR YOU WISH TO WRITE TO. Chmod 755, no more. Ok, so the code is similar to reading from a text file with a few different lines:
<?php
$filename = 'test.txt';
$fp = fopen($filename, "w");
$string = "w00t\nHello World";
$write = fputs($fp, $string);
fclose($fp);
?>
Ok, you know the basics. Ask questions if you don’t understand (by posting comments - it’s the only way to make this tutorial complete!).
To read a text file use the following PHP code:
<?php
$filename = 'test.txt';
$fp = fopen($filename, "r");
$data = fread($fp, filesize($filename));
fclose($fp);
?>
This is a simple snippet of code that will return an array of days between two dates.
get_days.php
get_days_example.php
Read on for a little more info…
I’m not sure how to start this one… It can be quite difficult to understand PHP classes at first, but hopefully I’ll make everything seem easy!
The two files used can be found below:
time.php
class.Time.php
Right here we go…