When to Use Ajax and When Not To

What to Do When You Get the "Ajax Call" from Your Boss I admit it, I've never been a huge fan of JavaScript. I was always really glad that About had a JavaScript Guide so that I didn't have to cover it on my site. I can read and write JavaScript, but until lately, I had [...]

Get or Post

When you use Ajax to access the server without reloading the web page you have two choices on how to pass the information for the request to the server. These two options are to use GET or POST. These are the same two options that you have when passing requests to the server to load a [...]

Ajax- Asynchronous or Synchronous

One of the biggest advantages that Ajax has in web pages is that it can access information on the server without having to reload the web page. This means that to retrieve or update one small piece of information only that information needs to be passed to and from the server instead of having to [...]

Date Method Reference

This page lists the available methods that can be used with date objects. Entries containing UTC refer to Coordinated Universal Time (UTC). The UTC, FullYear, and Millisecond methods were added [...]

How To Redirect with PHP

You can use a simple PHP script to redirect a user from the page they entered to a different web page. One reason you may want to do this is that the page they are trying to access no longer exists. Using this method, they can be seamlessly transfered to the new page without having [...]

Upload a File and write to MySQL

On our site, we have tutorials about adding data to a MySQL database, and tutorials about uploading files, but recently one of our forum users asked: "I know how to submit data into a mySQL table through a form. Now I want to upload the image file to the remote directory (say, 'images/') but at the [...]

Renaming PHP Uploads

Previously in our script allowing files to be uploaded from the browser and saved to the hosting via PHP, we mentioned it was possible to rename the files to something random to prevent people uploading files with the same name and overwriting each other's files. In this script we will explore that further. <form [...]

Uploading Files with PHP

The HTML Form This script will allow you to upload files from your browser to your hosting, using PHP. The first thing we need to do is create an HTML form that allows people to choose the file they want to upload. <form enctype="multipart/form-data" action="upload.php" method="POST"> Please choose a file: <input name="uploaded" type="file" /><br /> <input type="submit" [...]

Base_convert () PHP Function

What is a base?: The base we are the most familiar with (our regular numeric system) is base 10. What this means is that, each 'slot' has 10 possibilities before a second digit is needed. For example we can have the digits 0-9 before needing to add a second digit. In binary, there are only [...]

Lesson 1: Review

It may not seem like we have covered very much so far, but you may be surprised at what you've learned. Let's review what we have studied in Lesson 1.   The contents of the Graphics Software site are copyright © Sue Chastain and About.com. These pages may be [...]

Lesson 1d: Palettes

Let's continue our exploration of the Photoshop workspace. There are four main counterparts to the Photoshop workspace: the menu bar, the status bar, the toolbox, and the palettes. All that's left to cover now are the palettes. Since this is a general overview [...]

Lesson 1c: The Toolbox

Let's continue our exploration of the Photoshop workspace. There are four main counterparts to the Photoshop workspace: the menu bar, the status bar, the toolbox, and the palettes. We've already covered the menu bar and the status bar. In this lesson we'll be learning [...]

Lesson 1b: Status Bar

Let's continue our exploration of the Photoshop workspace. There are four main counterparts to the Photoshop workspace: the menu bar, the status bar, the toolbox, and the palettes. We looked at the menu bars in the first section. In this lesson we'll be learning about [...]

Lesson 1a: Menu Bar

Let's get started by exploring the basic elements of the Photoshop workspace. There are four main counterparts to the Photoshop workspace: the menu bar, the status bar, the toolbox, and the palettes. In this lesson we'll be learning about the menu bar. The Menu Bar [...]

Two columns with color

  How do you make a two column CSS layout with color in either column that spreads to the full height of the page? This article will show you how to build a basic two column layout that has: Liquid width (based on the browser window size or viewport) Full width header and footer color in either or both columns color [...]
« Trang trướcTrang sau »