Business Network California
Companies:114,335
Products and Services:5,238
Articles and publications:2,519
Tenders & Vacancies:595

Patent Alchemy
Information may not be reliable

Patent Alchemy's mission is to prepare and or prosecute patent applications.
AddressAptos, CA 95003
Phone(831) 662-2500
Websitewww.patentalchemy.com
Patent Alchemy's mission is to prepare and or prosecute patent applications in the fields including :

US PTO Reg. No 52923 No charge for initial consultation and cost quotation at realistic rate of $90/hour

#!/usr/bin/perl ############################################################################## # Hit Counter Version 1.0.0 # # Created 10/16/02 Last Modified 10/16/02 # ############################################################################## # hitcounter.cgi # # parameters: returns: # none none # # History: # Provides a Hit Counter in conjuction with WSCO. # # Date: Initials: Defect#: Comments: # 2002-10-16 SMS N/A creator # 2002-11-12 GJK Modified to use images from WSC counter # and to get style from query string. ############################################################################## ############################################################# ### Counter Data File Location:############################## $imageStyle = "s1"; $serverPath = "http://plugins.websitecomplete.com/wsc_images"; $docroot = $ENV{'DOCUMENT_ROOT'}; if ($docroot eq '') { $docroot = ".." }; $countfile = "$docroot/plugin_data/hitcount.txt"; $digits = 8; if($ENV{"REQUEST_METHOD"} =~ /^get/i) { $DATA = $ENV{"QUERY_STRING"}; @Fields = split(/&/, $DATA); foreach $_ (@Fields) { ($name, $val) = split(/=/, $_); $val =~ tr/+/ /; $val =~ s/\%([0-9a-f]{2})/chr(hex($1))/egi; $Form{$name} = $val; } $DATA = $ENV{"HTTP_COOKIE"}; @Fields = split(/; /, $DATA); foreach $_ (@Fields) { ($name, $val) = split(/=/, $_); $Cookie{$name} = $val; } } $imageStyle = $Form{"ImageStyle"}; $initial_value = int($Form{"Init"}); $BgColor = "#$Form{'BgColor'}"; if ($Form{'mode'} eq '2') { &PrintCookie; } else { print "Content-type: text/html\n\n"; if ($Cookie{$Form{'ID'}} ne "true") { &AddCount; } &PrintCount; } #while (($k, $_) = each %ENV) #{ # s/(['\\])/\\$1/g; # print "\$ENV{'$k'} = '$_';
\n"; #} sub PrintCookie { print "Content-type:image/gif\n"; $exprtn = ""; $value = "$Form{'ID'}=true;"; print "Set-Cookie: $value path=/; $exprtn\n\n"; $giffile = "$docroot/images/spacer.gif"; undef $/; open(F,"< $giffile") or die $!; print ; close(F); } sub PrintCount { $ThisPage = $Form{'ID'}; open(FILE, "$countfile"); @Data = ; close(FILE); # Print the image to use to generate a cookie print "
"; print ""; foreach $Match (@Data) { chop($Match); ($count, $url) = split(/::/, $Match); if ($url eq $ThisPage) { $hits = $count; last; } } @nums = split(//, $hits); $cnt = $digits - int(@nums); $printcount = ""; while ($cnt > 0) { $printcount="$printcount"; $cnt--; } $end1 = ""; $end2 = ""; if ($imageStyle ne 's1') { $end1 = ""; $end2 = ""; } foreach $CountNr (@nums) { $printcount = "$printcount"; } print "$end1$printcount$end2"; print "
"; } sub AddCount { $ThisPage = $Form{'ID'}; open(COUNTS, "+$countfile") or print("Cannot open counts file: $!"); while () { chop; ($count, $file, $initialcount) = split(/::/, $_); $counts{$file} = $count; $initial{$file} = $initialcount; } $counts{$ThisPage}++; if ($initial{$ThisPage} ne $initial_value) { $counts{$ThisPage} = $initial_value; $initial{$ThisPage} = $initial_value; } seek(COUNTS, 0, 0); foreach $file (keys %counts) { print COUNTS $counts{$file}, "::", $file, "::", $initial{$file}, "\n"; } close(COUNTS); }

Rating:

Related items:

Guth Michael Atty At Law
Information may not be reliable
Michael Guth's legal practice includes patent preparation and prosecution in a variety of technologies.
  • Felton, CA 95018
  • (831) 462-8270
Patent Law Essentials for Business Planning
Information may not be reliable
A book summarizing in text and illustrations the universe of patent issues written for business planners contemplating the patent process whether
  • Po Box 969 Simi Valley, CA 93062-0969
  • (805) 630-6098
Ross Patent Law Office
Information may not be reliable
Ross Patent Law Office has always been dedicated to offering its clients high quality legal services at very competitive rates.
  • 13020 Longboat Way Del Mar, CA 92014-3832
  • (858) 755-3122
American Patent & Trademark Law Center
Information may not be reliable
Registered patent and trademark attorneys at American Patent and Trademark Law Center in San Diego are experts at registering both.
  • 12702 Via Cortina Del Mar, CA 92014-3769
  • (858) 509-1400
Palomar Patent
Information may not be reliable
Palomar Patent provides intellectual property services in San Diego and southern Riverside Counties.
  • 222 W Madison Ave El Cajon, CA 92020-3406
  • (619) 449-9766
×