Help for this page

Select Code to Download


  1. or download this
    # ====================================================================
    +================================ ============= 
    RewriteEngine On 
    RewriteCond %{REQUEST_FILENAME} -f 
    RewriteRule ^/?(.+\.html) /cgi-bin/counter.py?htmlpage=$1 [L,PT,QSA] 
    # ====================================================================
    +================================ =============
    
  2. or download this
    # ====================================================================
    +================================ ============= 
    # open current html template and get the page ID number 
    ...
    # find the ID of the file and store it 
    pin = re.match( r'<!-- (\d+) -->', firstline ).group(1) 
    # ====================================================================
    +================================ =============