Matt Brown's Radio Weblog

Welcome to the Dreamweaver MX Blog. I am the Community Manager for Macromedia Dreamweaver and I work for Macromedia. Come to see what is happening in the community, on the Dreamweaver Team and around the web... Most of all, you get to hear my opinion.
   



Buy Macromedia products from the blog and get 10% off!

If you are thinking of buying Macromedia software, then this is the place to do it.

The first 100 people that respond off of our blogs, you can get 10% off one tool package by using the following promotional code when you check out.

SP23CMMRTL

Macromedia Store

  Friday, October 04, 2002


Looking for pricing guidelines and salary surveys? - There are a couple good places to look for guides on how to price your work and yourself. People ask for this all the time and I thought it would be worth having the links here. (Thanks JD)

http://www.gag.org/pegs/
http://www.emediastaffing.com/html/salary_guide.html


12:52:46 PM      comment []

TIP - Getting server information about your user - Using CGI you can get a lot of information about your user like their domain name and IP address which you can log in a database or display on screen. It is easy to do this with app servers like ColdFusion and ASP, but to do it in Javascript is less documented but it can be done.

Here is a simple example of getting the user's IP address and displaying that back into an alert box.

<script>
var ip = '<!-- #echo var="REMOTE_ADDR"-->';
alert("Your IP address is "+ip);
</script>

You will need to save the file as .shtm or .shtml for the CGI portion to evaluate.

Here is a list of the variables available to you:
(for IIS and from the IIS help system. For other servers, there are more variables you can access so check in your server's documentation.)

ALL_HTTP All HTTP headers
 
AUTH_TYPE This contains the type of authentication used.

AUTH_PASSWORD The value entered in the client's authentication dialog box.

AUTH_USER The value entered in the client's authentication dialog box.
 
CONTENT_LENGTH bytes that the script can expect to receive from the client.
 
CONTENT_TYPE The content type of the information supplied in the body of a POST request.

DOCUMENT_NAME The current file name.

DOCUMENT_URI The virtual path to the current document.

DATE_GMT The current date in Greenwich Mean Time (GMT).

DATE_LOCAL The current date in the local time zone.

GATEWAY_INTERFACE The revision of the CGI specification used by the Web server.

HTTP_ACCEPT Special-case HTTP header.

LAST_MODIFIED The date that the current document was last modified.

PATH_INFO Additional path information consisting of the trailing part of the URL after the script name, but before the query string, if any.

PATH_TRANSLATED This is the value of PATH_INFO, but with any virtual path expanded into a directory specification.

QUERY_STRING The information that follows the question mark (?) in the URL that referenced this script.

QUERY_STRING_UNESCAPED Unescaped version of the query string; that is, a version that is not URL encoded. 

REMOTE_ADDR The IP address of the client or agent of the client (for example, gateway or firewall) that sent the request.

REMOTE_HOST The host name of the client or agent of the client (for example, gateway or firewall) that sent the request. IIS 2.0 and 3.0 returned an IP address for this parameter. 

REMOTE_USER This contains the user name supplied by the client and authenticated by the server. This comes back as an empty string when the user is anonymous (but authenticated).

REQUEST_METHOD The HTTP request method.

SCRIPT_NAME The name of the script program being executed.

SERVER_NAME The server’s host name, or IP address, as it should appear in self-referencing URLs.
 
SERVER_PORT The TCP/IP port on which the request was received.

SERVER_PORT_SECURE A string of either 0 or 1. If the request is being handled on the secure port, this will be 1. Otherwise, it will be 0.

SERVER_PROTOCOL The name and version of the information retrieval protocol relating to this request. This is usually HTTP/1.0. The protocol is returned in the format name/version.

SERVER_SOFTWARE The name and version of the Web server answering the request. The server information is returned in the format name/version.

URL Gives the base portion of the URL. Parameter values will not be included. The value is determined when the Web server parses the URL from the header.


8:43:46 AM      comment []

Registry Utilities - You should be backing up your Dreamweaver registry entries including your site definitions. Unfortunately, the capability is not built into Dreamweaer. The good news though is that there is a utility to do this for you from Corey Eiges.

The time to check this out is now, if you wait till something goes wrong, you are too late so get on over there and download this guy.


8:35:57 AM      comment []


  © Copyright 2002 Matt Brown.
Last update: 11/1/2002; 2:48:06 PM.

October 2002
Sun Mon Tue Wed Thu Fri Sat
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
Sep   Nov

Matt Brown's Blog
Mike Chambers' Blog
John Dowdell's Blog
Bob Tartar's Blog





Search the Blog


Any word All words Exact phrase



















Site Meter