<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Songhay System Funky KB: HTML, XHTML and Scripting</title>
        <link>http://www.songhaysystem.com/kb/subject/htmlscrp</link>
        <description>The Funky Knowledge Base at songhaysystem.com. The subject of this channel is HTML, XHTML and Scripting.</description>
        <lastBuildDate>Thu, 23 Oct 2008 21:15:21 GMT</lastBuildDate>
        <item>
<title>Firefox/Mozilla PROBLEM: “OK button grayed out / inactive / not working when trying to download a file”</title>
<link>http://www.songhaysystem.com/kb/number/2076072061/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>“I always click on a link to download a file and wait for a firefox window to appear. This window contains two options: &quot;Open with &quot; and &quot;Save to Disk&quot;, and three buttons: &quot;Browse...&quot;, &quot;OK&quot; and &quot;Cancel&quot;.”

“The problem is that &quot;OK&quot; button is playing…</description>
<pubDate>Thu, 23 Oct 2008 21:15:21 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>JavaScript: “The Miller Device”; Identifying an Array; Douglas Crockford</title>
<link>http://www.songhaysystem.com/kb/number/2076072056/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>The JavaScript language currently does not provide a good way to distinguish between objects and arrays. The typeof operator is broken: It identifies arrays as objects. Comparing a value's constructor property doesn't work because arrays created in a diff…</description>
<pubDate>Sat, 18 Oct 2008 01:18:03 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>PHP Zend Framework Exception: “Cannot send headers; headers already sent”</title>
<link>http://www.songhaysystem.com/kb/number/2076072043/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>It is important to remember that this exception is thrown when there is a blank line at the top of the PHP script.

Martin Burger: “I am so sorry for bothering you all. Needless to say, there was an empty line in one of my included scripts (pretty much …</description>
<pubDate>Wed, 17 Sep 2008 23:10:48 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>Zend Framework: Rewriting with .htaccess</title>
<link>http://www.songhaysystem.com/kb/number/2076072013/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>Routing requests

Again, these rules direct all requests to index.php, except specified file types:

RewriteEngine on
RewriteBase /
RewriteRule !\.(js|ico|txt|gif|jpg|png|css)$ index.php

Handling file and directory exceptions

These rules (used immediate…</description>
<pubDate>Mon, 25 Aug 2008 02:40:23 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>Zend Framework: Mapping the Same View to Multiple Controller Actions</title>
<link>http://www.songhaysystem.com/kb/number/2076071995/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>This is the form for mapping one or more Controller actions to a View:

    class MyController extends Zend_Controller_Action
    {
        public function preDispatch()
        {
            //Disable conventional calls to views for whole class:
        …</description>
<pubDate>Sun, 24 Aug 2008 07:00:47 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>PHP and Simple XML: “Allowed memory size of 8388608 bytes exhausted”; simplexml</title>
<link>http://www.songhaysystem.com/kb/number/2076071999/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>The PHP fatal error “Allowed memory size of 8388608 bytes exhausted” is thrown when Simple XML opens a “large” XML document. This issue is resolved by setting memory_limit  in php.ini or as a statement:

    ini_set('memory_limit', '64M');

This e…</description>
<pubDate>Mon, 25 Aug 2008 00:36:39 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>PHP Safe Mode</title>
<link>http://www.songhaysystem.com/kb/number/2076072000/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>The PHP safe mode is an attempt to solve the shared-server security problem. It is architecturally incorrect to try to solve this problem at the PHP level, but since the alternatives at the web server and OS levels aren't very realistic, many people, espe…</description>
<pubDate>Mon, 25 Aug 2008 00:38:54 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>JavaScript: window.status is Disabled for Security Reasons in Firefox</title>
<link>http://www.songhaysystem.com/kb/number/2076072010/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>This property does not work in default configuration of Firefox and some other browsers: setting window.status has no effect on the text displayed in the status bar. To allow scripts change the the status bar text, the user must set the dom.disable_window…</description>
<pubDate>Mon, 25 Aug 2008 02:28:37 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>JavaScript: parseInt() Function</title>
<link>http://www.songhaysystem.com/kb/number/2076072009/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>The parseInt() function parses a string and returns an integer.

The radix parameter is used to specify which numeral system to be used, for example, a radix of 16 (hexadecimal) indicates that the number in the string should be parsed from a hexadecimal n…</description>
<pubDate>Mon, 25 Aug 2008 02:26:57 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>JavaScript and Firebug: “Permission denied to set property XULElement.selectedIndex”</title>
<link>http://www.songhaysystem.com/kb/number/2076072011/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>Finally I found a simple solution for the FireFox error:

&quot;[Exception... &quot;'Permission denied to set property XULElement.selectedIndex' when calling method: [nsIAutoCompletePopup::selectedIndex]&quot; nsresult: &quot;0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)&quot;

This …</description>
<pubDate>Mon, 25 Aug 2008 02:32:55 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>JavaScript and Douglas Crockford: “if JavaScript were infinitely fast”</title>
<link>http://www.songhaysystem.com/kb/number/2076072012/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>I teach that if JavaScript were infinitely fast that most web applications would run at about the same speed. Christian Stockwell of Microsoft gave us the numbers to back that up. The top 100 Alexa websites spend on average about 3% of their time running …</description>
<pubDate>Mon, 25 Aug 2008 02:38:15 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>PHP: “How do I create arrays in a HTML &amp;lt;form&amp;gt;?”</title>
<link>http://www.songhaysystem.com/kb/number/2076071987/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>To get your &amp;lt;form&amp;gt; result sent as an array to your PHP script you name the &amp;lt;input&amp;gt;, &amp;lt;select&amp;gt; or &amp;lt;textarea&amp;gt;  elements like this:

    &amp;lt;input name=&quot;MyArray[]&quot; /&amp;gt;
    &amp;lt;input name=&quot;MyArray[]&quot; /&amp;gt;
    &amp;lt;input name=&quot;MyArray[]&quot; /&amp;gt;
    &amp;lt;input name=&quot;MyArray[]&quot; /&amp;gt;

I…</description>
<pubDate>Tue, 19 Aug 2008 22:44:23 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>PHP cURL: building headers for a HTTP Request</title>
<link>http://www.songhaysystem.com/kb/number/2076071979/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>This is an example for building headers for a cURL call in PHP:

    $ch = curl_init();
    $user_agent = 'Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)';

    …

    $headers = array();

    $headers[] = &quot;POST &quot; . $postPath . &quot; HTTP/1.1&quot;;
    $he…</description>
<pubDate>Thu, 03 Jul 2008 20:01:21 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>PHP: A Few “Magical” Constants</title>
<link>http://www.songhaysystem.com/kb/number/2076071969/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>__LINE__
    The current line number of the file.

__FILE__
    The full path and filename of the file. If used inside an include, the name of the included file is returned. Since PHP 4.0.2, __FILE__ always contains an absolute path with symlinks resolved…</description>
<pubDate>Wed, 02 Jul 2008 02:38:54 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>Adobe ActionScript 3.0 code block: get/set Template; Object Properties</title>
<link>http://www.songhaysystem.com/kb/number/2076071937/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>The get/set form looks like this:

    public function get prop():[type]
    {
        return this._prop;
    }

    public function set prop( value:[type] ):void
    {
        this._prop = value;
    }

A more compact spacing:

    public function get pr…</description>
<pubDate>Tue, 15 Jan 2008 01:59:56 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>WordPress PHP: “WordPress Restore with phpMyAdmin”; http://www.tamba2.org.uk/wordpress/restore/</title>
<link>http://www.songhaysystem.com/kb/number/2076071934/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>“If after moving everything you get a blank page when looking at your blog, check your themes. A faulty theme file will cause this blank page.”
</description>
<pubDate>Fri, 28 Dec 2007 19:00:39 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>Adobe ActionScript 3: Notes for “Beginners Guide to Getting Started with AS3 (Without Learning Flex)”</title>
<link>http://www.songhaysystem.com/kb/number/2076071916/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>Article location:

    http://senocular.com/flash/tutorials/as3withmxmlc/

The package declaration is new to ActionScript 3.0. It replaces the fully-qualified names for classes used in ActionScript 2.0. It follows that:

    class mx.controls.Button { ...…</description>
<pubDate>Mon, 03 Dec 2007 07:29:11 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>PHP Warning: open_basedir restriction in effect … is not within the allowed path(s)</title>
<link>http://www.songhaysystem.com/kb/number/2076071909/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>Your friendly hosting service may have Safe Mode enabled for PHP. Safe Mode is described here:

    http://us2.php.net/features.safe-mode

This means that you are not able to test for the existence of a file or directory with a root different from the “…</description>
<pubDate>Tue, 30 Oct 2007 18:14:35 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>PowerShell Profiles</title>
<link>http://www.songhaysystem.com/kb/number/2076071896/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>These are the locations of PowerShell profiles:

%windir%\system32\WindowsPowerShell\v1.0\profile.ps1

%windir%\system32\WindowsPowerShell\v1.0\Microsoft.PowerShell_profile.ps1

%UserProfile%\My Documents\WindowsPowerShell\profile.ps1

%UserProfile%\My Do…</description>
<pubDate>Mon, 08 Oct 2007 23:04:08 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>PowerShell 1.x script: Toggling Servers on and off in Windows Server 2003</title>
<link>http://www.songhaysystem.com/kb/number/2076071874/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>Function StopService
{
    $s = Get-WmiObject -Class Win32_Service -Filter $args[0]
    if ( $s )
    {
        Write-Host &quot;Service&quot;$s.Name&quot;found.&quot;
        if ( $s.State -eq &quot;Running&quot; )
        {
            Write-Host &quot;Service is running. Stopping servic…</description>
<pubDate>Wed, 29 Aug 2007 19:17:43 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>PowerShell 1.x and CMD: Running a PowerShell Session with a Different Execution Policy</title>
<link>http://www.songhaysystem.com/kb/number/2076071870/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>@ECHO OFF
REM    This command runs PowerShell
REM    with a different execution policy
REM    than the default Restricted mode
REM    and restores the default mode upon exit.
ECHO This command will start PowerShell in RemoteSigned mode.
ECHO Are you sure …</description>
<pubDate>Tue, 28 Aug 2007 21:50:00 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>CMD: Console Command Template</title>
<link>http://www.songhaysystem.com/kb/number/2076071871/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>@ECHO OFF
COLOR 4F
ECHO This command will do something.
ECHO Are you sure you want to continue? (Press Ctrl C to quit.)
PAUSE

ECHO Running...
dir .
ECHO No more commands to process.
ECHO End of Command Script.
PAUSE
</description>
<pubDate>Tue, 28 Aug 2007 21:40:46 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>CMD: A Script That Deletes Recent Document References</title>
<link>http://www.songhaysystem.com/kb/number/2076071872/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>@ECHO OFF
COLOR 4F
ECHO *********************************************************************
ECHO *                                                                   *
ECHO * This command will delete the links in the Recent Documents list.  *
ECHO * Are …</description>
<pubDate>Tue, 28 Aug 2007 21:41:36 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>JavaScript Code: Dom() Class; Abandoned Code</title>
<link>http://www.songhaysystem.com/kb/number/2076071780/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>//Bryan Wilhite (rasx@kintespace.com)

//WARNING: this object depends on Sniffer.js!
Dom = function()
{
    this.IsMs = (is_ie5_5up || is_opera6up)? true : false
    this.IsMsMac = (is_mac &amp;&amp; is_ie5up)? true : false
    this.IsMz = is_gecko
    this.IsSaf…</description>
<pubDate>Wed, 10 Jan 2007 05:38:11 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>PHP 5.x Code: Building a SQL Format String for sprintf()</title>
<link>http://www.songhaysystem.com/kb/number/2076071771/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>&amp;lt;?php        
    $sql = &amp;lt;&amp;lt;&amp;lt;BLOCK
SELECT
    `server`.`server_id`
,   `server`.`server_name`
,   `server`.`ip` 
,   `server`.`mac`
,   `server`.`sn`
,   server_status.status
,   `notes`
FROM
    `server`
,   server_status
WHERE
    `server`.status_id = se…</description>
<pubDate>Thu, 05 Oct 2006 22:32:20 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>Flash MX ActionScript 2.0: Flippant Remarks about createClassObject(); Array()</title>
<link>http://www.songhaysystem.com/kb/number/2076071723/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>createClassObject() is a method of UIObject. &quot;UIObject is the base class for all version 2 components; it is not a visual component. The UIObject class wraps the ActionScript MovieClip object and contains functions and properties that allow version 2 comp…</description>
<pubDate>Thu, 22 Dec 2005 19:27:05 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>Flash MX ActionScript 2.0: Explicitly Adding the DataProvider API to An Array()</title>
<link>http://www.songhaysystem.com/kb/number/2076071724/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>//This may be useful:

import mx.controls.listclasses.DataProvider;
DataProvider.Initialize(Array);</description>
<pubDate>Thu, 22 Dec 2005 19:37:16 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>JavaScript Code: DOM Routines; Dom.js; Abandoned Code</title>
<link>http://www.songhaysystem.com/kb/number/2076071722/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>
function jsAnchorElement()
{
    var vCount = arguments.length

    var oElement = window.document.createElement('a')

    if(vCount &amp;gt; 0) oElement.href = arguments[0]
    if(vCount &amp;gt; 1) oElement.innerHTML = arguments[1]
    if(vCount &amp;gt; 2) oElement.id = a…</description>
<pubDate>Sat, 03 Dec 2005 06:30:35 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>PHP Code: A REST Call Using readfile(); WARNING: Mysterious &quot;Cannot modify header information&quot; Warnings in UTF-8 Encoded Documents</title>
<link>http://www.songhaysystem.com/kb/number/2076071720/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>The following uses the readfile() function to load an XML file. This pattern can be used for AJAX calls outside of the security sandbox:

    header('Content-type:text/xml');
    /*
        WARNING:
        Do not include a Unicode Signature or
        By…</description>
<pubDate>Tue, 15 Nov 2005 00:54:11 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>XHTML Problem: Internet Explorer Shows Blank Page When &amp;lt;script /&amp;gt; Is Present; Minimized script elements</title>
<link>http://www.songhaysystem.com/kb/number/2076071697/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>Minimized script elements are interpreted as open elements by Internet Explorer up to version 6.x. It follows that

    &amp;lt;script type=&quot;text/javascript&quot; src=&quot;...&quot; /&amp;gt;

will be seen as

    &amp;lt;script type=&quot;text/javascript&quot; src=&quot;...&quot;&amp;gt;

This will effectively cons…</description>
<pubDate>Tue, 02 Aug 2005 23:09:20 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>PHP Code: Call to Amazon.com Web Service with fopen(); phpGetAmazon()</title>
<link>http://www.songhaysystem.com/kb/number/2076071668/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>function phpGetAmazon($ASIN){

    $amazonAffiliateTag = '';
    $amazonURI = '';
    $filePointer = false;
    $HTML = '';
    $index = '';
    $key = '';
    $stream = '';
    $streamline = '';
    //This URI seems to work for books as well:
    $uri = …</description>
<pubDate>Thu, 28 Apr 2005 02:59:37 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>Flash MX ActionScript 1.0/2.0: Avoid the use of _root</title>
<link>http://www.songhaysystem.com/kb/number/2076071655/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>According to the documentation, &quot;Use this, this._parent, or _parent keywords rather than _root, depending on where your ActionScript is located.&quot; This allows movies to work correctly when they are loaded by other movies. For more information please see:

…</description>
<pubDate>Thu, 17 Mar 2005 08:47:01 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>ASP.NET Code: A Quick and Dirty Way to Make Cookies That Never Expire</title>
<link>http://www.songhaysystem.com/kb/number/2076071653/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>The following takes advantage of the System.DateTime.MaxValue property, making sure that your cookie will not expire for a large time:

    // Create a cookie.
    HttpCookie cookUPrefs = new HttpCookie(&quot;UPrefs&quot;);
    cookUPrefs.Value = &quot;English&quot;;
    coo…</description>
<pubDate>Tue, 15 Mar 2005 22:29:31 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>Macromedia Dreamweaver MX PHP and MySQL: PHP and Dreamweaver MX Video Tutorials; Mark Fletcher; mark-fletcher.co.uk
</title>
<link>http://www.songhaysystem.com/kb/number/2076071594/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>In the wake of Dreamwaever 2004, this stuff may look like historical lore but it certainly was an eye opener for me. Mark Fletcher explains how to use Dreamweaver MX with PHP to provide a way for static-page, &quot;professional&quot; web developers to transition to…</description>
<pubDate>Wed, 30 Jun 2004 07:16:07 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>HTML Code: Apple's Recommendation of QuickTime Rendering</title>
<link>http://www.songhaysystem.com/kb/number/2076071456/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>&amp;lt;!--
    The following is based on 
    http://developer.apple.com/quicktime/compatibility.html.
--&amp;gt;

&amp;lt;object
    classid=&quot;clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B&quot;
    width=&quot;64&quot;
    height=&quot;64&quot;
    codebase=&quot;http://www.apple.com/qtactivex/qtplugin.cab…</description>
<pubDate>Wed, 19 May 2004 05:14:04 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>Flash MX ActionScript 1.x: The Change Handler Function of ComboBox; Flash UI Components</title>
<link>http://www.songhaysystem.com/kb/number/2076071576/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>The Change Handler function cannot be of _global scope and by default should be in the timeline of the clip. This can be of the form:

    function asComboHandler(objCombo){
        var vValue = objCombo.getValue();
        switch(vValue){...}
    }</description>
<pubDate>Fri, 14 May 2004 05:39:23 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>Flash MX ActionScript 1.0/2.0: Code Hints; Suffixes; Flash MX 2004; Dreamweaver MX</title>
<link>http://www.songhaysystem.com/kb/number/2076071558/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>The following summarizes the suffixes that produce code hints in Flash MX and Flash MX 2004. Note that many of these suffixes are documented in Flash MX but do not cause hints to appear (at least in my copy of Flash MX); these hints should also work in Dr…</description>
<pubDate>Thu, 08 Apr 2004 22:34:23 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>ASP and VBScript 5.5 Code: basRowCmds(); Use of the Regular Expression Object</title>
<link>http://www.songhaysystem.com/kb/number/2076071551/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>Function basRowCmds(vString)
    If Len(vString) = 0 Then Exit Function
    Dim vCmdButton
    Dim objRegExpr: Set objRegExpr = New regexp
    objRegExpr.Pattern = &quot;&amp;lt;\!--cmd_(\D+)_(\D+)_(\d+)--&amp;gt;&quot;
    objRegExpr.Global = True
    objRegExpr.IgnoreCase = Tr…</description>
<pubDate>Tue, 03 Feb 2004 19:07:39 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>Flash MX ActionScript: Loading Data Across Domains; Macromedia Flash Security Sandbox</title>
<link>http://www.songhaysystem.com/kb/number/2076071546/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>If you have noticed any Flash &quot;sandbox&quot; error messages popping up with the Flash 6 player or greater, then please refer to these TechNote articles:

&quot;Loading data across domains&quot; (16520)
http://www.macromedia.com/support/flash/ts/documents/load_xdomain.ht…</description>
<pubDate>Mon, 24 Nov 2003 05:48:57 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>Microsoft JScript and MSHTML: The HTML Editor Application; HTA; MSDHTML</title>
<link>http://www.songhaysystem.com/kb/number/2076071532/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>Users of AOL mail and MSN Hotmail have been enjoying the one thing that makes the Microsoft Internet Explorer Web browser necessary: the ability to edit HTML in place. This was one of the original specifications Tim Berners-Lee (http://www.w3.org/People/B…</description>
<pubDate>Tue, 26 Aug 2003 00:49:31 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>VB Script and ASP Code: the Split() Function Always Returns an Array; Empty Arrays; IsArray()</title>
<link>http://www.songhaysystem.com/kb/number/2076071530/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>There may be the temptation to use the IsArray() function against the Split() function in some sort of data type validation test. However, the Split() function will always return True for such a test even when its required argument is a zero-length string…</description>
<pubDate>Sat, 23 Aug 2003 00:39:42 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>VBScript: Regular Expressions</title>
<link>http://www.songhaysystem.com/kb/number/2076071519/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>Microsoft makes mention of regular expressions in VBScript back in 1999, with &quot;Microsoft Beefs Up VBScript with Regular Expressions&quot; by Vernon W. Hui at:

    http://msdn.microsoft.com/library/en-us/dnclinic/html/scripting051099.asp

I was completely unaw…</description>
<pubDate>Mon, 02 Jun 2003 01:01:22 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>ASP, VBScript and ADSI: ADSI Authentication Function; basADSILogin</title>
<link>http://www.songhaysystem.com/kb/number/2076071507/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>Function basADSILogin(vDomain,vUser,vPwd)
    Dim vADsPath
    vADsPath = &quot;WinNT://&quot; &amp; vDomain &amp; &quot;/&quot; &amp; vUser &amp; &quot;,user&quot;

    Dim objADSI

    basADSILogin = False

    On Error Resume Next
    Set objADSI = GetObject(vADsPath)
    If Err.number &amp;lt;&amp;gt; 0 Then E…</description>
<pubDate>Thu, 06 Feb 2003 19:19:32 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>Flash ActionScript: the Differences between loadVariables() and loadVariablesNum()</title>
<link>http://www.songhaysystem.com/kb/number/2076071504/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>Flash 4 introduced loadVariables() and loadVariablesNum(). I assumed that an earlier version of Flash developed one of the functions to deprecate the other but this assumption is wrong.

While not running in &quot;expert mode,&quot; Flash promises to automatically …</description>
<pubDate>Sat, 28 Dec 2002 00:13:15 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>ADSI: Flippant Remarks about Active Directory Services Interface (ADSI)</title>
<link>http://www.songhaysystem.com/kb/number/2076071479/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>ADSI is for automating networking services as ADO is for automating database systems. I previously thought that ADSI was only for programmatically manipulating Active Directory (AD). I was wrong.

ADSI is built into Windows 2000. It is always running by d…</description>
<pubDate>Fri, 20 Dec 2002 00:52:53 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>ASP: Flippant Remarks about Server.Execute() and Server.Transfer()</title>
<link>http://www.songhaysystem.com/kb/number/2076071490/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>Since Microsoft is characteristically silent about their own shortcomings, these flippant remarks about Server.Execute() and Server.Transfer() are extremely flippant: these new features suck; they are almost completely useless---okay, they are useless.

I…</description>
<pubDate>Tue, 27 Aug 2002 23:10:43 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>VBScript and ASP Code Snippet: LOGON_USER Split(); vLoginDomainName, vLoginUserName </title>
<link>http://www.songhaysystem.com/kb/number/2076071481/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>Dim vLogin : vLogin = Request.ServerVariables(&quot;LOGON_USER&quot;)

Dim vLoginDomainName, vLoginUserName
If InStr(1,vLogin,&quot;\&quot;,vbTextCompare) &amp;gt; 0 Then
    vLoginDomainName = Split(vLogin,&quot;\&quot;,-1,vbTextCompare)(0)
    vLoginUserName = Split(vLogin,&quot;\&quot;,-1,vbTextCom…</description>
<pubDate>Tue, 28 May 2002 21:36:23 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>VBScript and ASP Code: Flippant Remarks about the Response.Buffer Property, the Response.Redirect() Method and Windows 2000</title>
<link>http://www.songhaysystem.com/kb/number/2076071469/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>You know your code is running on an older, Windows NT, server when you see this error:

    Response object error 'ASP 0156 : 80004005 
    Header Error...
    The HTTP headers are already written to the client browser.
    Any HTTP header modifications m…</description>
<pubDate>Thu, 16 May 2002 23:44:29 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>JavaScript and HTML Code: The Inline Pop Up Window Off an ANCHOR Element; The open() Method of the window Object.</title>
<link>http://www.songhaysystem.com/kb/number/2076071463/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>&amp;lt;a
    href=&quot;[URI]&quot;
    target=&quot;PopUp&quot;
    onClick=&quot;javascript:window.open('','PopUp','toolbar=0,location=0,scrollbars=1,resizable=1,directories=0,status=0,width=320,height=240')&quot;
    onMouseOver=&quot;javascript:window.status='[Window Status]';return true;&quot;
 …</description>
<pubDate>Mon, 08 Apr 2002 21:59:45 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>Flash 5.x ActionScript: Clip Properties Not Found in onClipEvent(load)</title>
<link>http://www.songhaysystem.com/kb/number/2076071458/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>Calls to properties (variables) declared and initialized in the first frame of a MovieClip object from the onClipEvent(load) Action of that same MovieClip will silently fail. It appears that the load event of the MovieClip fires before the first frame is …</description>
<pubDate>Tue, 05 Mar 2002 03:24:38 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>PHP Code: File Upload with a Single PHP Script File</title>
<link>http://www.songhaysystem.com/kb/number/2076071442/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>&amp;lt;?php
    /*
        This code is loosely based
        on john@php-dude.com,
        the post 27-Jul-2001 12:00
        at http://www.php.net/manual/en/features.file-upload.php.
    */

    $HTML = NULL;

    if(count($HTTP_POST_FILES) &amp;gt; 0){
        $all…</description>
<pubDate>Wed, 16 Jan 2002 07:17:52 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>VBScript and ASP PROBLEM: Dates with the Form mm/dd/yyyy Cannot Be Passed in Query String</title>
<link>http://www.songhaysystem.com/kb/number/927051050/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>If your design demands passing dates in an HTTP Query String, you will quickly find that this is a badly formed URI:

    http://localhost/MyPage.html?vDate=#01/02/1999#

where the &quot;#&quot; characters imply that this is a date to be submitted to an .MDB file. …</description>
<pubDate>Tue, 08 Jan 2002 02:20:39 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>ASP: Performance Hits When Using the Application Object?</title>
<link>http://www.songhaysystem.com/kb/number/703600558/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>Yes. I have heard many many times about not using the Session object for performance and load-balancing reasons, but no one seems to talk about these things when it comes to the Application object.

In fact, Microsoft demos its VB6 WebClass by plugging it…</description>
<pubDate>Sat, 05 Jan 2002 16:57:32 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>JavaScript: Using Constructor Functions to Create User-Defined Objects</title>
<link>http://www.songhaysystem.com/kb/number/1739769177/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>Using constructor functions to create user-defined objects is the &quot;old&quot; but respectable---and backward-compatible way of getting the job done. Building the constructor function is the first step in creating the user-defined object. This creation has the f…</description>
<pubDate>Mon, 29 Oct 2001 01:56:19 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>ASP, VBScript and CDONTS PROBLEM: Permission Denied Error</title>
<link>http://www.songhaysystem.com/kb/number/2076071421/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>If the anonymous user account is not granted at least CHANGE permissions to the SMTP mail server folders the following error may be thrown:

    Microsoft VBScript runtime error '800a0046'
    Permission denied
    /filename.asp, line xxx

For more detail…</description>
<pubDate>Mon, 29 Oct 2001 02:50:14 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>ASP, ADO and Microsoft Access PROBLEM: Access MDB File Fails to Open or Appears Locked</title>
<link>http://www.songhaysystem.com/kb/number/2076071418/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>The IIS user account (e.g. IUSR_&amp;lt;machine name&amp;gt;) requires dangerously high levels of security permissions to open Access MDB files via ASP. When it cannot open the Access database this error may be thrown:

Microsoft OLE DB Provider for ODBC Drivers (0x800…</description>
<pubDate>Mon, 29 Oct 2001 02:23:53 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>ASP, ADO and Microsoft Access PROBLEM: ASP Query Cannot Be Used with the LIKE Predicate</title>
<link>http://www.songhaysystem.com/kb/number/2076071416/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>The MS-SQL wildcard character '*' cannot be used in dynamic SQL statements scripted in ASP running against ADO. ADO must deal with ODBC or SQL Server conventions and requires '%' as the wildcard character.

The problem is associated with the error message…</description>
<pubDate>Mon, 29 Oct 2001 02:07:36 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>ASP and HTML: Flippant Remarks about IIS Caching</title>
<link>http://www.songhaysystem.com/kb/number/2076071422/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>According to its KB article, Microsoft places caching (in the pre-.NET world) in the three contexts: the browser (client), the web server and the proxy server. The code appears with respect to these contexts as HTML:

    &amp;lt;META HTTP-EQUIV=&quot;PRAGMA CONTENT=…</description>
<pubDate>Mon, 29 Oct 2001 03:58:56 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>VB Script and ASP Code: basCriteria(); Building Dynamic HTML Based on Variable Form Input</title>
<link>http://www.songhaysystem.com/kb/number/2076071412/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>Function basCriteria(vSQL,vDBField,vComparison,vFormValue,vDataType)
    'Based on http://15seconds.com/issue/010629.htm.

    Dim vValue,vArrayVal,vArray,vClauseStyle,vConnector
    Dim vWildCard,vStrChar
        
    'ADO overrides the Microsoft Access …</description>
<pubDate>Fri, 07 Sep 2001 02:52:52 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>VBScript and ASP: ADO PROBLEM: Error '800a0bb9'; ADO Filter Property Error
</title>
<link>http://www.songhaysystem.com/kb/number/2076071398/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>The following throws ADODB.Recordset Error '800a0bb9' (&quot;Arguments are of the wrong type, are out of acceptable range or are in conflict with one another.&quot;) in VBScript:

    objListRst.Filter = objH1Rst.Fields(&quot;filter&quot;)

This is because the Filter propert…</description>
<pubDate>Sun, 27 May 2001 01:12:57 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>ASP: Notes on Implementing Security in ASP Projects</title>
<link>http://www.songhaysystem.com/kb/number/2076071386/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>Without much fanfare here it is: I depend on the Windows NT operating system to handle security features in my ASP solutions. I have no trouble creating a single point failure: the operating system itself. When something goes wrong in terms of security bo…</description>
<pubDate>Sun, 08 Apr 2001 02:38:13 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>ASP: Denying Anonymous Access with the ServerVariables Dictionary Object</title>
<link>http://www.songhaysystem.com/kb/number/2076071294/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>'Deny anonymous access.
If Request.ServerVariables(&quot;LOGON_USER&quot;) = Empty Then
    Response.Status = &quot;401 Access Denied&quot;
End If

'For the converse of this issue please see MS KB article Q188717
'&quot;PRB: Request.ServerVariables(&quot;LOGON_USER&quot;) Returns Empty Str…</description>
<pubDate>Sun, 08 Apr 2001 02:29:10 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>JavaScript: Essential Form Validation Functions</title>
<link>http://www.songhaysystem.com/kb/number/2076071334/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>//Form Validation Functions:
function jsIsEmailValid(vFormName,vElementName) {

    var vValue = ''
    var vValid  = false
    var vElement = document.forms[vFormName].elements[vElementName]
    var vPosAtSymbol = vElement.value.indexOf('@')
    var vPos…</description>
<pubDate>Sat, 31 Mar 2001 16:50:54 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>JavaScript and Java; How They &quot;Talk&quot; to Each Other</title>
<link>http://www.songhaysystem.com/kb/number/278183433/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>Javascript talks to Java Applets by calling the public methods of the Applet and changing its public properties. Java talks to Javascript using third-party interfaces from Microsoft (stuff in VJ++ 6.x) and Netscape (special java packages). I am not aware …</description>
<pubDate>Sat, 31 Mar 2001 16:43:53 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>JavaScript and HTML: The Option Constructor; Dynamically Build OPTION Tags for SELECT Tags</title>
<link>http://www.songhaysystem.com/kb/number/2076071303/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>The Option Constructor has been with us since Netscape 2.0. It provides JavaScript to dynamically build OPTION tags for SELECT tags. As of this writing, Doc JavaScript goes into detail at:

    http://webreference.com/js/tips/000118.html

However, I quest…</description>
<pubDate>Sat, 31 Mar 2001 16:27:53 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>Design Note: When an Online Database Connection is Needed</title>
<link>http://www.songhaysystem.com/kb/number/913559128/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>An online database is needed when a user needs to retrieve any data they have submitted to a web site. An online database is also the best way to display the same data set different ways on demand on the client---without regard for the client's capabiliti…</description>
<pubDate>Sat, 31 Mar 2001 16:05:01 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>Design Note: An ASP &quot;Data Environment&quot;; Code-Only Equivalents to Visual Studio Designers</title>
<link>http://www.songhaysystem.com/kb/number/930477971/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>As far as I am concerned, the Data Environment (and its Designer) associated with VB6 is a graphical representation of a concept that can be designed entirely in code. I am sure that historically the code came first then Microsoft built this GUI in order …</description>
<pubDate>Sat, 31 Mar 2001 16:04:49 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>Cold Fusion 3.1 CFML: Submitting a Form Back to Itself Using the IsDefined() Function</title>
<link>http://www.songhaysystem.com/kb/number/945066918/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>&amp;lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&amp;gt;

&amp;lt;HTML&amp;gt;
&amp;lt;HEAD&amp;gt;
    &amp;lt;META NAME=&quot;Generator&quot; CONTENT=&quot;Bryan Wilhite&quot;&amp;gt;
    &amp;lt;META NAME=&quot;Reply-to&quot; CONTENT=&quot;bwilhite@assetstrategy.com&quot;&amp;gt;
    &amp;lt;META NAME=&quot;Keywords&quot; CONTENT=&quot;Development&quot;&amp;gt;
    &amp;lt;META NA…</description>
<pubDate>Tue, 20 Mar 2001 05:36:38 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>Microsoft JScript: Handling Keystrokes; jsHandleKeyDown()</title>
<link>http://www.songhaysystem.com/kb/number/2076071374/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>//Set event pointers.
document.onkeydown = jsHandleKeyDown

//Handle keystrokes.
function jsHandleKeyDown() {
    vFrmName = &quot;&quot;
    vElementName = &quot;&quot;

    if (window.name == &quot;dataEmail&quot;) {
        //The keyCode property returns Unicode values.
        swi…</description>
<pubDate>Wed, 07 Feb 2001 02:17:19 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>VBScript and ASP Code: Displaying Scripting Engine Information</title>
<link>http://www.songhaysystem.com/kb/number/2076071357/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>&amp;lt;%@LANGUAGE=&quot;VBScript&quot;%&amp;gt;
&amp;lt;%
    Option Explicit
    Dim vHTML,vServerAddr
    vServerAddr = Request.ServerVariables.Item(&quot;LOCAL_ADDR&quot;)

    vHTML = &quot;ScriptEngine = &quot; &amp; ScriptEngine &amp; vbCrLf _
        &amp; &quot;ScriptEngineMajorVersion = &quot; &amp; FormatNumber(ScriptEn…</description>
<pubDate>Sun, 31 Dec 2000 19:30:41 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>Microsoft JScript: Generic Functions for RDS Data Binding; Data Source Objects; DSO</title>
<link>http://www.songhaysystem.com/kb/number/2076071356/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>The function listed below, jsBindData(), depends on HTML similar to the following:

&amp;lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&amp;gt;
&amp;lt;HTML&amp;gt;
&amp;lt;HEAD&amp;gt;
    &amp;lt;LINK REL=stylesheet TYPE=&quot;text/css&quot; HREF=&quot;./root.css&quot;&amp;gt;
    &amp;lt;META NAME=Generator CONTENT=&quot;…</description>
<pubDate>Sun, 31 Dec 2000 08:33:19 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>HTML: Setting the Width of SELECT Widgets for both Netscape and Microsoft 4.x Browsers</title>
<link>http://www.songhaysystem.com/kb/number/-443158331/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>Netscape 4.x Browsers do not apply width values to SELECT tags via CSS. The proprietary WIDTH attribute must be used in the SELECT tag. Netscape 4.x and Microsoft 4.x browsers respond appropriately to the inline STYLE attribute shown below:

    &amp;lt;SELECT
 …</description>
<pubDate>Sun, 31 Dec 2000 18:16:54 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>JavaScript: jsWindow(); Function That Opens a New Browser Window</title>
<link>http://www.songhaysystem.com/kb/number/2076071355/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>function jsWindow(vName,vValue,vFeatures,vIsHTML) {
    
    if(vFeatures == '') {
        vFeatures = &quot;&quot;
            + &quot;toolbar=1&quot;
            + &quot;,location=0&quot;
            + &quot;,scrollbars=1&quot;
            + &quot;,resizable=1&quot;
            + &quot;,directories=0&quot;
     …</description>
<pubDate>Sun, 31 Dec 2000 03:25:33 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>JavaScript: Timer Code</title>
<link>http://www.songhaysystem.com/kb/number/2076071289/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>//(c) 1998 Bryan Wilhite
//All rights reserved.
//rasx@kintespace.com

//This code assumes that there is a text input object
//called &quot;textDisplay&quot; in a FORM block level element.
//It is also assumed that there are two buttons.
//One calls jsTimerStart() …</description>
<pubDate>Thu, 21 Dec 2000 17:35:19 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>JavaScript: Time Stamp Function</title>
<link>http://www.songhaysystem.com/kb/number/920412834/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>//(c) 1998 Bryan Wilhite
//All rights reserved.
//rasx@kintespace.com

function jsTimeStamp() {
    dateobj = new Date(document.lastModified)
    this.month = dateobj.getMonth() + 1
    this.day = dateobj.getDate()
    this.year = dateobj.getYear()
}

fun…</description>
<pubDate>Thu, 21 Dec 2000 17:33:52 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>CSS: Netscape 4.x Browsers and CSS Level 1</title>
<link>http://www.songhaysystem.com/kb/number/-484742076/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>Netscape Navigator 4.x browsers implement Cascading Style Sheets Level 1 (CSS Level 1) based on an &quot;explicit simple selector relationship.&quot; This means that in the following HTML:

    &amp;lt;BODY STYLE=&quot;font-family: Helvetica, sans-serif;&quot;&amp;gt;
     This text will …</description>
<pubDate>Wed, 20 Dec 2000 05:50:20 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>VBScript, ADO and ASP: Preventing Error 3001 by Avoiding the Split() Function</title>
<link>http://www.songhaysystem.com/kb/number/2076071328/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>Avoid using the Split() function to pass an array to ADO objects (such as the Command object). Use the Array() function instead. The Split() function and the Array() function both return arrays but they must not be of the same &quot;type&quot; (internally?) with re…</description>
<pubDate>Wed, 08 Nov 2000 04:02:00 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>VBScript and ASP Code: Demonstrating the Buffer Property of the Response Object</title>
<link>http://www.songhaysystem.com/kb/number/955844983/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>&amp;lt;%@ LANGUAGE=&quot;VBScript&quot; %&amp;gt;
&amp;lt;% Option Explicit %&amp;gt;
&amp;lt;%
    Response.Buffer = True
    
    Public Sub basDelaySec(Seconds) 
    
        Dim dtmDate 
    
        dtmDate = DateAdd(&quot;s&quot;, Seconds, Now) 
         
        Do 
        Loop Until Now &amp;gt; dtmDate 
 …</description>
<pubDate>Sun, 16 Apr 2000 00:31:27 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>HTML: Notes on the TABLE Element</title>
<link>http://www.songhaysystem.com/kb/number/915303286/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>HTML 4.0 Transitional allows TABLE to have the attributes BORDER, CELLPADDING, CELLSPACING and WIDTH (among others). When a TABLE is being used for layout (not for presenting tabular data), a good &quot;default&quot; markup is

    &amp;lt;TABLE
        BORDER=0
        C…</description>
<pubDate>Fri, 10 Mar 2000 06:24:38 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>VBScript and ASP: The &quot;Brute Force&quot; Debugging of ASP Pages</title>
<link>http://www.songhaysystem.com/kb/number/636904405/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>At this time in my life, I find it convenient to debug my ASP pages directly in the web browser window. This probably comes from my &quot;traditional&quot; building of ASP pages with only a text editor. I am sure I am missing out on the code breaking features of Vi…</description>
<pubDate>Thu, 23 Dec 1999 22:56:36 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>VBScript and ASP Design: Minimizing the Size of Script Blocks</title>
<link>http://www.songhaysystem.com/kb/number/945065814/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>I use the Variant vHTML in my VBScript for ASP. This variable appears at the top of the script and concatenates itself and new HTML along the way to end of the script passing decision structures (and even calls to external functions in Include (.INC) file…</description>
<pubDate>Mon, 13 Dec 1999 06:17:14 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>Middleware, A Definition</title>
<link>http://www.songhaysystem.com/kb/number/92595221/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>The following is from the PC Webopaedia (http://www.pcwebopaedia.com/TERM/m/middleware.html):

Software that connects two otherwise separate applications. For example, there are a number of middleware products that link a database system to a Web server. …</description>
<pubDate>Mon, 30 Aug 1999 03:51:29 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>HTML: America Online; Page Hit (CGI) Counter</title>
<link>http://www.songhaysystem.com/kb/number/25/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>Each screen name hierarchy can maintain a single counter, which will display on your web page as an 8-digit odometer. The hypertext markup

&amp;lt;IMG SRC=&quot;/cgi-bin/counter?screenname&quot;&amp;gt;

where screenname is the AOL screen name of the owner of this page.</description>
<pubDate>Mon, 15 Mar 1999 05:01:16 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>VBScript and ASP: ADO Connection String for Sybase System 11 ODBC Data Source</title>
<link>http://www.songhaysystem.com/kb/number/912197236/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>The form is:

    vADOstr = &quot;Driver={Sybase System 11};&quot;
    vADOstr = vADOstr &amp; &quot;SRVR=&amp;lt;your server name here&amp;gt;;&quot;
    vADOstr = vADOstr &amp; &quot;DB=&amp;lt;your database name here&amp;gt;;&quot;
    vADOstr = vADOstr &amp; &quot;UID=&amp;lt;your user ID here&amp;gt;;&quot;
    vADOstr = vADOstr &amp; &quot;SRVR=&amp;lt;your…</description>
<pubDate>Sat, 13 Mar 1999 01:48:14 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>VBScript and ASP Code: In-Line Error Handling with Resume Next</title>
<link>http://www.songhaysystem.com/kb/number/-1774130574/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>'VBScript only has &quot;in-line&quot; error handling.
'The Resume Next keywords do work
'in the latest versions of VBScript.
'Recall that there are no line labels in VBScript.
'I have, however, seen some code using line numbers
'---especially line zero (e.g. On Er…</description>
<pubDate>Sat, 13 Mar 1999 01:40:16 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>JavaScript: FORM Validation; the submit() Method of the form Object</title>
<link>http://www.songhaysystem.com/kb/number/-701874391/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>If you must validate a FORM before it is sent to the server, you will have to depend on the browser to faithfully execute the submit() method of the form object. Most Mozilla 3.x/4.x browsers support this method.

For example we can set up a function call…</description>
<pubDate>Fri, 05 Mar 1999 19:04:57 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>JavaScript: The Significance of setTimeout() and clearTimeout()</title>
<link>http://www.songhaysystem.com/kb/number/1185460374/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>Many designs using a for or while loop structure may instead have needed the setTimeout() method of the window object calling a function recursively. The general form of this structure is:

    function MyFunc() {
        //code here
        timeoutID = s…</description>
<pubDate>Wed, 10 Feb 1999 02:16:55 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>JavaScript: Testing for an Instantiated Object; Constructor Functions</title>
<link>http://www.songhaysystem.com/kb/number/908380600/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>Because of low-bandwidth loading problems, a variable may be declared but not yet set to a &quot;new&quot; instance of a Constructor Function's object. In such a limbo state the variable will be null. As a precaution, test for null. For example, 

    if (objAgent …</description>
<pubDate>Wed, 10 Feb 1999 02:15:19 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>HTML: Stupid Non-Breaking Space Tricks</title>
<link>http://www.songhaysystem.com/kb/number/90350456/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>Yes, style sheets have the padding-top and margin-top attributes, but if there is a concern about a browser (like Netscape Navigator 3.x) that may not support style sheets, try using the non-breaking space entity (&amp;nbsp;). To force line spacing above data…</description>
<pubDate>Wed, 10 Feb 1999 02:10:13 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>VBScript and ASP: No Like Operator in Version 3.0 and Earlier</title>
<link>http://www.songhaysystem.com/kb/number/918061055/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>As of this writing, VBScript (3.0 and earlier) does not have the VBA Like operator. Use the Instr() function instead.</description>
<pubDate>Wed, 03 Feb 1999 16:59:54 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>Javascript: Notes on Browser Sniffing</title>
<link>http://www.songhaysystem.com/kb/number/916579495/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>&quot;Browser sniffing&quot; is scanning the userAgent property of the navigator object. The userAgent property is a text string that can be &quot;scanned&quot; with the indexOf() method of a String object variable. The indexOf() method can be applied directly to the userAge…</description>
<pubDate>Sun, 17 Jan 1999 22:43:24 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>JavaScript: Using External *.js Files</title>
<link>http://www.songhaysystem.com/kb/number/902444144/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>Use external JavaScript files (*.js) files when you want to separate lengthy JavaScript routines from HTML. This is a convenience for the programmer.

The following HTML demonstrates usage and syntax:

    &amp;lt;HTML&amp;gt;
    &amp;lt;HEAD&amp;gt;
        &amp;lt;TITLE&amp;gt;js test&amp;lt;/TITLE&amp;gt;
…</description>
<pubDate>Wed, 13 Jan 1999 18:29:06 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>HTML: The Difference between DIV and SPAN</title>
<link>http://www.songhaysystem.com/kb/number/912631251/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>Both DIV and SPAN are &quot;Generic Containers&quot; as they do not apply any visible formatting without the use of the CLASS attribute and Cascading Style Sheets (CSS). The difference between DIV and SPAN is that the former is a block-level element and the latter …</description>
<pubDate>Wed, 13 Jan 1999 17:58:37 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>HTML: The &quot;file:&quot; Protocol on the MS Windows OS; Active Desktop</title>
<link>http://www.songhaysystem.com/kb/number/-1888684211/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>The general form for the file protocol in the Windows environments is:

    file:///&amp;lt;drive letter&amp;gt;|&amp;lt;path&amp;gt;

where &amp;lt;path&amp;gt; mimics the Unix-like forward slash ('/') format. So if you are trying to use the Active Desktop with a custom home page that points to …</description>
<pubDate>Wed, 13 Jan 1999 17:39:15 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>HTML: Notes on Relative URIs</title>
<link>http://www.songhaysystem.com/kb/number/915838932/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>T. Berners-Lee and others (of The Internet Society) write of URIs: &quot;A Uniform Resource Identifier (URI) is a compact string of characters for identifying an abstract or physical resource.&quot; The URL is considered a &quot;subset&quot; of the URI, by the way. The synta…</description>
<pubDate>Thu, 14 Jan 1999 03:07:07 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>CSS: Linking to an External Style Sheet; LINK; @import; Using Style Sheets Locally</title>
<link>http://www.songhaysystem.com/kb/number/913399181/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>At this proprietary moment in time, it is better to use LINK HTML markup instead of W3C's @import to refer to external style sheets. My tests show that Netscape browsers ignore the following W3C-recommended syntax:

    &amp;lt;STYLE&amp;gt;&amp;lt;!--
        @import url(&quot;ht…</description>
<pubDate>Wed, 13 Jan 1999 17:32:15 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>CSS: List Simple Selectors Before Class Selectors</title>
<link>http://www.songhaysystem.com/kb/number/-1249898021/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>For the greatest effect in a browser's implementation of cascading order, list simple selectors before class selectors. The following CSS content illustrates this idea:

    /* (c) 1998 Bryan Wilhite */
    /* rasx@kintespace.com */

    /* Simple Selecto…</description>
<pubDate>Fri, 18 Dec 1998 20:49:30 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>Perl: Returning the Last Five Errors from a Server Log</title>
<link>http://www.songhaysystem.com/kb/number/913913530/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>#!/path/to/perl
open(CMDPIPE, &quot;tail -5 /path/to/server/error/log |&quot;);
print &quot;Content-type: text/html\n\n&quot;;
print &quot;&amp;lt;HTML&amp;gt;\n&quot;;
print &quot;&amp;lt;PRE&amp;gt;\n&quot;;
print &amp;lt;CMDPIPE&amp;gt;;
close (CMDPIPE);
print &quot;&amp;lt;/PRE&amp;gt;\n&quot;;
print &quot;&amp;lt;/HTML&amp;gt;\n&quot;;</description>
<pubDate>Thu, 17 Dec 1998 16:54:44 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>Perl: Listing the Environment Variables Exposed to a CGI Session</title>
<link>http://www.songhaysystem.com/kb/number/117029555/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>#!/path/to/perl
print &quot;Content-type: text/html\n\n&quot;;
print &quot;&amp;lt;HTML&amp;gt;\n&quot;;
print &quot;&amp;lt;PRE&amp;gt;\n&quot;;
@keys = keys %ENV;
@values = values %ENV;
foreach $key (sort(keys %ENV)) { print &quot;$key = $ENV{$key}\n&quot; };
print &quot;&amp;lt;/PRE&amp;gt;\n&quot;;
print &quot;&amp;lt;/HTML&amp;gt;\n&quot;;</description>
<pubDate>Thu, 17 Dec 1998 16:56:12 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>JavaScript: Conditional Expressions</title>
<link>http://www.songhaysystem.com/kb/number/864381846/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>In Javascript, a variable value can be set based on a condition. This &quot;shorthand&quot; avoids writing an if/else structure:

    &amp;lt;variable&amp;gt; = (&amp;lt;condition&amp;gt;) ? &amp;lt;value1&amp;gt; : &amp;lt;value2&amp;gt;

Where &amp;lt;variable&amp;gt; is set to &amp;lt;value1&amp;gt; if &amp;lt;condition&amp;gt; returns True or &amp;lt;value2&amp;gt; if &amp;lt;c…</description>
<pubDate>Sun, 13 Dec 1998 22:23:14 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>JavaScript PROBLEM: &quot;Property or Method Not Supported&quot; Error in IE 3.x Browsers When Using the window or document Objects</title>
<link>http://www.songhaysystem.com/kb/number/908841414/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>The window and document objects are not fully supported in IE 3.x browsers. This error is frequently encountered when the open() method is called from the window object. I have even seen errors related to window.open() with some versions of Internet Explo…</description>
<pubDate>Sun, 13 Dec 1998 22:17:25 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>
<item>
<title>HTML: The &quot;Combo Box&quot; in SELECT Markup</title>
<link>http://www.songhaysystem.com/kb/number/805218111/subject/htmlscrp</link>
<description><strong>Article Excerpt: </strong>&amp;lt;!-- What Microsoft calls the &quot;combo box&quot;... --&amp;gt;
&amp;lt;FORM&amp;gt;
    &amp;lt;SELECT NAME=&quot;MyOptionGroup&quot;&amp;gt;
        &amp;lt;OPTION VALUE=MyStringValue1, SELECTED&amp;gt;MyItem1
        &amp;lt;OPTION&amp;gt;MyItem2
        &amp;lt;!-- more group items appear here... --&amp;gt;
        &amp;lt;OPTION&amp;gt;MyItemN
    &amp;lt;/SELECT&amp;gt;…</description>
<pubDate>Fri, 07 Aug 1998 02:01:54 GMT</pubDate>
<dc:creator>Bryan Wilhite</dc:creator>
</item>

    </channel>
</rss>