Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2003 03:54 AM
тАО07-28-2003 03:54 AM
Counters
Kyle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2003 03:58 AM
тАО07-28-2003 03:58 AM
Re: Counters
Hit for what ? Web site ? In php ?
J
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2003 04:00 AM
тАО07-28-2003 04:00 AM
Re: Counters
Yes we have a program that throws data reports and puts them on a web page. I'd like to see how many people access this page. Currently the counter going now has this code:
WIDTH=60 HEIGHT=20 BORDER=0 HSPACE=4 VSPACE=2>
-------
I'd like to get it back to Zero, but I don't see how to set it back to Zero. Thanks
Kyle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2003 04:08 AM
тАО07-28-2003 04:08 AM
Re: Counters
Try searching for instructions in you web-counter provider site.
hth
Claudio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2003 04:15 AM
тАО07-28-2003 04:15 AM
Re: Counters
AS you are not controlling the variables used to increment the counter, digits.com does, then you have to ask them to reset it to 0, or do it from your control panel in their site. It's explained at :
http://www.digits.com/faq.html#Change
Use this access page, you should be able to do it from there :
http://www.digits.com/change.html
hth
J
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2003 04:21 AM
тАО07-28-2003 04:21 AM
Re: Counters
Easily inserted into a web pag.
This is for your referece though you could display the results as well.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2003 04:47 AM
тАО07-28-2003 04:47 AM
Re: Counters
$FP = fopen ($filename,'r') or exit("unable to open counter file");
$count = (int) fread ($FP, filesize($filename));
fclose($FP);
$FP = fopen($filename,'w+') or exit("unable to open counter file");
echo "Count is $count";
++$count;
echo "Count is $count";
if(!fwrite($FP, $count)) {
exit("unable to write to counter file");
}
?>
a small php file.
to make this work, do this first.
echo 0 > count.txt
hth
-balaji
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2003 12:19 PM
тАО07-28-2003 12:19 PM
Re: Counters
The only problem with the code of Balaji
is that if you will have two requests in
the same time than you will have problem.
What you need to do is also add a ability
when you work on the file to do a lock that
the other will wait.
Caesar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2003 03:06 AM
тАО07-29-2003 03:06 AM
Re: Counters
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2003 08:42 AM
тАО07-29-2003 08:42 AM
Re: Counters
-balaji