[Nfb-web] PHP Calendars and Hit Counters

Peter Donahue pdonahue1 at sbcglobal.net
Mon Aug 28 13:52:49 CDT 2006


Hello Don and listers,

    Where do you store the counter.txt file, and do you need to write
anything in to it prior to uploading it and the counter.php file to the
server? Thanks for your help.

Peter Donahue


----- Original Message ----- 
From: "Don (Tex)" <dbomer at anvilcom.com>
To: "NFB Webmaster's List" <nfb-web at nfbnet.org>
Sent: Monday, August 28, 2006 1:19 PM
Subject: Re: [Nfb-web] PHP Calendars and Hit Counters


Hi Peter,

This is the hit counter that I use on the Alabama Affiliate.  It provides a
text counter and easy to implement.

Don...

<div align="center">
<?
$counter_file = ("counter.txt");        //file where count is stored
$visits = file($counter_file);            //puts the count in a variable
$visits[0]++;                                     //add 1 to the counter

$fp = fopen($counter_file , "w");    //open the file for write
fputs($fp , "$visits[0]");                   //write the new value to the
file

fclose($fp);                                       //close the file

echo "<FONT SIZE=\"4\" color=\"navy\"> <strong>";
print "You are Visitor Number  ";
echo "<FONT SIZE=\"5\" color=\"maroon\">";
print $visits[0];
echo "<FONT SIZE=\"4\" color=\"navy\">";
print "  Since 23 February 2002";
echo "</strong>";
?>




----- Original Message ----- 
From: "Peter Donahue" <pdonahue1 at sbcglobal.net>
To: <blindwebbers at yahoogroups.com>
Cc: <nfb-web at nfbnet.org>; <Programming at blindprogramming.com>
Sent: Sunday, August 27, 2006 12:45 PM
Subject: [Nfb-web] PHP Calendars and Hit Counters


>
> Good afternoon everyone,
>
>    I'm looking for PHP Hit Counters and Event Calendars for several Web
> Sites. I'd be curious to know where I can find such Web utilities or if
> anyone has created one they know works and would be willing to share it
> with
> me. I'll appreciate that very much.
>
> Peter Donahue
>
>
> ----- Original Message ----- 
> From: "Sina Bahram" <sbahram at nc.rr.com>
> To: <blindwebbers at yahoogroups.com>
> Sent: Saturday, August 26, 2006 11:36 PM
> Subject: RE: [BW] Flash and Fireworks
>
>
> I wish you all the best, and let us know how you get on with that course.
>
> It really sounds like you picked the big three ... The combo of
> dreamweaver,
> fireworks, and flash can be put to some amazingly smooth and very visual
> pleasing and stunning interfaces, but the down side is that only recently
> has accessibility been considered in such a platform, and only then on the
> content end, not on the content creation end.
>
> Dreamweaver has some hooks that jaws or other AT can plug into, and you
> can
> always do that by hand. The same goes for flash in that, ActionScript is
> there, but the fireworks is going to be very interesting in my opinion.
>
> Take care,
> Sina
>
> -----Original Message-----
> From: blindwebbers at yahoogroups.com [mailto:blindwebbers at yahoogroups.com]
> On
> Behalf Of Peter Donahue
> Sent: Sunday, August 27, 2006 12:18 AM
> To: blindwebbers at yahoogroups.com
> Subject: Re: [BW] Flash and Fireworks
>
> Hello Sina and listers,
>
> I'll do that. As it happens my professor wrote a textbook on Flash and may
> be able to show me how to use Action Script. Thanks for the kernel.
>
> Peter Donahue
>
>
> ----- Original Message -----
> From: "Sina Bahram" <sbahram at nc.rr.com>
> To: <blindwebbers at yahoogroups.com>
> Sent: Saturday, August 26, 2006 11:09 PM
> Subject: RE: [BW] Flash and Fireworks
>
>
> Look into learning actionscript ... That's the language that you can do
> almost anything  in flash with.
>
> Take care,
> Sina
>
> -----Original Message-----
> From: blindwebbers at yahoogroups.com [mailto:blindwebbers at yahoogroups.com]
> On
> Behalf Of Peter Donahue
> Sent: Saturday, August 26, 2006 11:52 PM
> To: blindwebbers at yahoogroups.com
> Cc: nabs-l at nfbnet.org; nfb-web at nfbnet.org
> Subject: [BW] Flash and Fireworks
>
> Good evening everyone,
>
>    This fall I'm taking a course that requires me to use three Macromedia
> packages. While Dreamweaver is blind-friendly over-all Flash, and
> Fireworks
> are another matter all together; at least at first glance. I'd be curious
> to
> hear from anyone who has been able to use these programs and to hear what
> level of success you've had using them independently as a blind person. I
> thought I heard somewhere that several blind folks were able to do some
> tasks in Flash without vision. I can't remember if they were animations,
> or
> working with Flash Movies. As for drawing in Flash, well, I'll need to
> team
> up with someone unless there are work-arounds for creating images and
> animations using code of some kind.
>
>    I have yet to hear from any blind folks who have used Fireworks
> successfully, and what they were able to accomplish with it. For that
> matter
> I'm not sure how Fireworks differs from Flash. I only know that they're
> both
> used mainly for designing graphics and animations. Any information I can
> get
> will be appreciated.
>
> Peter Donahue
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
> <*> To contact the moderator, send an email to:
> blindwebbers-owner at yahoogroups.com
> Yahoo! Groups Links
>
> <*> To visit your group on the web, go to:
>    http://groups.yahoo.com/group/blindwebbers/
>
> <*> To unsubscribe from this group, send an email to:
>    blindwebbers-unsubscribe at yahoogroups.com
>
> <*> Your use of Yahoo! Groups is subject to:
>    http://docs.yahoo.com/info/terms/
>
>
>
>
> _______________________________________________
> Nfb-web mailing list
> Nfb-web at nfbnet.org
> http://www.nfbnet.org/mailman/listinfo/nfb-web
>
>


_______________________________________________
Nfb-web mailing list
Nfb-web at nfbnet.org
http://www.nfbnet.org/mailman/listinfo/nfb-web



More information about the Nfb-web mailing list