title: How to create a custom filter for the Drupal View's Module?
body: <p>I have the Profile, CCK, and Views2 modules installed on a Drupal 6 site.  I added a string field to the user profile.  I can filter easily on preset values, thru the Views GUI builder, really nicely.  However, I'd like the filter criteria to be dynamically set based on other environment variables (namely the <code>$_SERVER['SERVER_NAME']</code>).</p>
  
  <p>Is there a basic 'How-to-write-a-custom-drupal-views-filter' somewhere out there?  I've been looking thru the documentation, but it's not obvious to my simple mind on how to do it.</p>