Lozinski's Popcorn Trail Scripts

Whether you have Unix or Windows Server, running ASP/VBScript, .NET, JSP, or PHP, here are some easy "popcorn trail" solutions for your website!

-> Home -> Web Scripts -> Popcorn Trail

  LANGUAGE
    ASP/VBScript .NET JSP PHP
PLATFORM/OS Windows Server Basic
Advanced
Basic
Advanced
Basic
Advanced
Basic
Advanced
Unix - - Basic
Advanced
Basic
Advanced

Differences between the "Basic" and "Advanced" versions of my Popcorn scripts:

  1. Customize directory and file names!
    In the "basic" version, items in the trail are listed as they're spelled on your server.
    In the "advanced" version, tell the program who you want the items in your "trail" named!

    For example:
    -> Home -> Scripts -> Popcorn Trail -> Popcorn Code
    in place of:
    -> / -> asp_scripts -> popcorn -> popcorn_code.asp

  2. Easily Specify Multiple Trails with Multiple Settings on the same page or multiple pages with only ONE copy of the code!
    At the top of your page, you might have your trail look like:
    -> Home -> Scripts -> Popcorn Trail -> Popcorn Code
    At the bottom of the page, you might have a different view such as:
    Home | Scripts | Popcorn Trail | Popcorn Code

  3. Have your trail end at the last directory OR actual file calling the code!
    Do you want your trail to extend to the file currently being viewed? Or just the last directory? Easily set this for each trail!
    For example:
    / -> asp_scripts -> popcorn -> popcorn_code.asp
    OR
    / -> asp_scripts -> popcorn

  4. Have multiple trails, each with its own "separator", including images!
    You can use the default trail item separator of "->", or specify your own! And you can have a different separator for each trail on your page!

    For example:
    Home -> Scripts -> Popcorn Trail -> Popcorn Code
    AND
    Home | Scripts | Popcorn Trail | Popcorn Code

  5. Have the trail separator start before OR after the first item!
    For example:
    -> Home -> Scripts -> Popcorn Trail -> Popcorn Code
    OR
    Home -> Scripts -> Popcorn Trail -> Popcorn Code

See below for a summary of the features and differences:
  Basic Version Advanced Version
Trail starts from the home directory of your website   X
Trail starts from the first subdirectory of your website X  
Trail ends at the last subdirectory of your website the current file is located in X X
Specify trail to end at the calling file   X
Preserves any "Query string" information of the calling file   X
Rename any item in your popcorn trail display   X
Have trail item separator start before or after the first trail item   X
Specify your own trail item separator   X
Multiple trails on one page using only one copy of the code   X
Multiple trail configurations on one page using only one copy of the code   X
Product Upgrades
*Can only upgrade for free within the same language you originally purchased. For example, you cannot purchase the advanced "asp" version, and then upgrade to an advanced "php" version.
free free*
Cost free $21


SEE MY SCRIPTS IN ACTION!

Note: My service provider does not support ASP, so I can only have the PHP demos online. The ASP scripts display the exact same results.

"Basic" Demo:
See a "Basic" version (php) in action!
Just the basic code in action. No modifications.


"Advanced" Demos:
See an "Advanced" version (php) in action!
Trail #1:
  • Trail separator is "->"
  • First item in the trail is preceeded with the specified trail separator
  • First two items are renamed. "/" is called "Home" and the "scripts" directory is displayed as "Web Scripts"
  • Trail ends at the calling file, also renamed from "popcorn_code.php" to "Popcorn Script"
Trail #2:
  • Trail separator is "|"
  • First item in the trail is NOT preceeded with the specified trail separator
  • First two items are renamed. "/" is called "Home" and the "scripts" directory is displayed as "Web Scripts"
  • Trail ends at the subdirectory of the calling file


DOWNLOAD MY SCRIPTS!

ASP/Active Server Pages Visual Basic Script:
popcorn_basic.asp produces the most basic "popcorn" trail in a web page.

Requirements:
  1. Windows NT or later
  2. IIS 4.0 or later
Basic Installation/Configuration Instructions:
  1. Download the basic ASP version here (a plain ascii-dos text file) onto your system, saving the file as "popcorn_basic.asp".
  2. Through your web browser, call the file in your web browser to see a basic trail.
    For example: http://www.yourdomain.com/scripts/popcorn_basic.asp
  3. Copy/paste the code indicated into other web pages on your website you wish to have a popcorn trail displayed.



.NET:
PopcornTrailBasic.vb produces the most basic "popcorn" trail in a web form.

Requirements:
  1. Windows 2000 Server or later
  2. IIS 5.0 or later
  3. .NET Framework 1.1 or later
Basic Installation/Configuration Instructions:
  1. Download the basic .NET Class file here (a plain ascii-dos text file) onto your system, saving the file as "PopcornTrailBasic.vb".
  2. Follow the section entitled "INSTALLATION INSTRUCTIONS" within the code.



JSP:
popcorn_basic.jsp produces the most basic "popcorn" trail in a web page.
This script will should run "as is" on either Unix or WindowsNT/2000 with JSP installed provided you meet the requirements.

Requirements:
  1. JSP using Java version 1.3.0 or greater.
  2. Unix or Windows NT/2000
Basic Installation/Configuration Instructions:
  1. Download the basic jsp version here (a plain ascii-dos text file) onto your system, saving the file as "popcorn_basic.jsp".
  2. Make sure the file popcorn_basic.jsp has 755 (rwxr-xr-x) or similar permissions on your system so it can run.
  3. Through your web browser, call the file in your web browser to see a basic trail.
    For example: http://www.yourdomain.com/scripts/popcorn_basic.jsp
  4. Copy/paste the code indicated into other web pages on your website you wish to have a popcorn trail displayed.



PHP:
popcorn_basic.php produces the most basic "popcorn" trail in a web page.
This script will should run "as is" on either Unix or WindowsNT/2000 with PHP installed provided you meet the requirements.

Requirements:
  1. PHP version 4.1.0 or greater.
  2. Unix or Windows NT/2000
Basic Installation/Configuration Instructions:
  1. Download the basic php version here (a plain ascii-dos text file) onto your system, saving the file as "popcorn_basic.php".
  2. Make sure the file popcorn_basic.php has 755 (rwxr-xr-x) or similar permissions on your system so it can run.
  3. Through your web browser, call the file in your web browser to see a basic trail.
    For example: http://www.yourdomain.com/scripts/popcorn_basic.php
  4. Copy/paste the code indicated into other web pages on your website you wish to have a popcorn trail displayed.
ORDER NOW!
DISCLAIMERS