Archive / Server Setup

RSS feed for this section

“Save As” Dialog Box for Streaming File

To download files using a “Save As” dialog box try this code:         Select Case FileExt            Case “gif” ContentType = “image/gif”            Case “tif” ContentType = “image/tiff”            Case “jpg” ContentType = “image/jpeg”            Case “pdf” ContentType = “application/pdf”            Case “avi” ContentType = “video/x-msvideo”            Case “mp3” ContentType = “audio/mpeg”            Case “mpg” ContentType = “video/mpeg”            Case “wav” ContentType = “audio/wav”            Case “rar” ContentType = “application/x-rar-compressed”            Case “zip” ContentType = “application/x-zip-compressed”            Case […]

SPF Record

SPF is Sender Policy Framework. This is a tool to help fight spam by validating the from address of emails. When an email is received by an email server the sending domain can be checked for proper origination. Here is a sample rule in DNS: v=spf1 ip4:67.169.211.46 mx ptr -all Here is a tool to validate the […]

PHP 5 on Windows 2003 Server (IIS)

Here are my notes on setting up PHP 5.1.6 on a Windows 2003 server (SBS). Must have “c:/php/” in system PATH environment variables (must reboot server when changing). In IIS under Web Service Extentions must have c:\php\php5isapi.dll Enabled. In IIS under the default web site (and particular web site to use PHP), configure the Application extention […]