54 Topics

Member Avatar for
Member Avatar for davy_yg

Hello, I am looking for a visitor counter that could record: Visitor Counter Online 1 Today 4 Yesterday 8 Week 4 Month 32 Year 32 Total 2637 Where can I find it?

Member Avatar for iamthwee
0
185
Member Avatar for vegaseat

With the advent of Python33 the module time has received a high resolution timer/counter. Here we use time.perf_counter() in a decorator to conveniently time two test functions.

3
2K
Member Avatar for tbuchli

I'm trying to make a hit counter. I have it working but when I add it to my website, I get a web config. error... <%@ Page Title="Home Page" Language="VB" MasterPageFile="~/Site.Master" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> <%@ Import Namespace="System.IO" %> <script language="VB" runat="server"> Private Sub Page_Load(ByVal sender As System.Object, ByVal e …

Member Avatar for tbuchli
0
526
Member Avatar for Ric_1

i want to add a login attepmt counter here, that if inccorect password count==3 it will be redirected to the forgotpassword.php need some help thankyou in advance (: /* * checks if user with email "$username" and password "$password" exists * */ public function confirmUserPass($username, $password){ //$username = mysql_real_escape_string($username); /* …

Member Avatar for JorgeM
0
617
Member Avatar for GagaCode

hey all again i have a little issue it may be a little stupid but i'm not able to figure it out what i'm trying to do is to make a counter ,, i'm trying to get a number from database and increment 1 to it and adding it one …

Member Avatar for Sulaiman_1
0
252
Member Avatar for genwes

Hi, i've been asked to create a visit counter using checkboxes and a submit button. When a form (available form - code below) is submitted (pressed visit button) a script should work out which properties have been selected (using checkboxes) by the user and then add one to the Visits …

Member Avatar for genwes
0
348
Member Avatar for Valentina_1

Hello, my website is created almost intirely in php, its dynamic and we have everything working under mysql database. It has printable cuppons for free, the coupons are inside a form, everything works perfectly. Now im trying to find a (php preferably) script that will count how many times that …

Member Avatar for JorgeM
0
282
Member Avatar for padton

Hi all, I am looking for a number counter that increases by 1 every second and goes to around 10 million. I would also like to be able to manually start the counter from a specific number e.g. 233523. Can anyone please help, thanks.

Member Avatar for padton
0
116
Member Avatar for flebber

Having trouble getting pyhon to repeat things for me. What I wanted to test was python's random.sample. So say I have a list myList = range(1, 15) I can for a single time do this import random >>> myList = range(1,15) >>> random.sample(myList, 3) [10, 6, 11] >>> I would …

Member Avatar for flebber
0
206
Member Avatar for booicu

I am trying to generate a program using the builtin Random and generate an algorithm that determines whether the number is odd or even. I need to write a program that generates 100 random numbers, determine if its even or odd and finally count the number of even and odd. …

Member Avatar for vegaseat
0
3K
Member Avatar for Start4me

I was thinking if it would be possible to create a JFrame, and make the title of it to change, such as make the title work as a counter that will display some text like: The window was opened for 1 second. The window was opened for 2 second. The …

Member Avatar for Seldar
0
1K
Member Avatar for vegaseat

A simple way to find duplicate words in a text. In this case the text is preprocessed to eliminate punctuation marks and set all words to lower case.

Member Avatar for paddy3118
2
4K
Member Avatar for adam.meyer.712

I need help writing a program in c++ where i have to write 3 different programs, a webcounter.cpp,webcounter.h, and test_prgm.cpp.So then i have to creat a makefile to compile them together, and the result of the program is "When I create the the counter, I would like to be able …

Member Avatar for adam.meyer.712
0
358
Member Avatar for vegaseat

This short snippet shows you how to preprocess a text to remove punctuation marks, then do a word frequency count using Counter() from the Python module collections. Finally, two sorts are applied to display words with matching frequency in alphabetical order.

2
653
Member Avatar for joshl_1995

Hello Community, For my new service I'm making a way for users to make the're tracking links short. The URL is http://hitcounter.co but I can't think of any short versions of it because all the ones I've chosen have been taken such as http://hilnk.co, http://hlnk.co and http://hit.co. So I was …

Member Avatar for joshl_1995
0
240
Member Avatar for sammry

am trying to show assigned variable for failed submission on a smarty form. array assigned as $arr = array($_POST[number]); $smarty->assign(number,$arr); and on tpl form, i added as below. {foreach from=$number item=no} <input name="number[]" type="text" value="{$no[{counter start=1}]}" /> {/foreach} am starting the counter from 1 because this is for dynamically added …

Member Avatar for sammry
0
913
Member Avatar for efe.ozyer
Member Avatar for Suzie999
0
174
Member Avatar for ktsangop

Hi everyone. I would like to implement a counter using ajax that will act like this: The script will send a XMLHttpRequest every x seconds which will return a value from a mysql database. Using the current and previous value retrieved from the server, the script will increase the counter, …

Member Avatar for ktsangop
0
260
Member Avatar for Labdabeta

Hello, I am working on making myself a digital clock (as a fun little project) and I want to have two buttons, one to increase a value (like the hour) and one to decrease, mainly because I am tired of the clocks where you have to button mash the 'increase' …

0
150
Member Avatar for OsaMasw

hello there thanks for help mke in many questions, I've learened a lot from this great community I have question about creating visitor counter,daily,monthly,yearly I've created a counter depending on IP address but all my costomer are in the same IP so this counter will not be accurate, So I …

Member Avatar for OsaMasw
0
2K
Member Avatar for Atlanta15Braves

I have seen a few different ways to solve this problem, but no solution has worked for me. I am logging into a database and incrementing a hit counter when someone goes to the page. I have two files, hitcounter.php and count visits.php Count visits is used by the visitor …

Member Avatar for Atlanta15Braves
0
570
Member Avatar for noman90

Hi all web devlper and java devlper how you im really enjoy this amazing group i have one quesstion i need a insvisble counter they show all the think on my site just like page views country keyword and most popular pages

Member Avatar for stultuske
0
129
Member Avatar for OsaMasw

Hello there , currently am working on download site that contain items , I need to place **download hits** for every file in site, I used the old way that open popup php page and increase the counter then store the result in database, its not cool to do this, …

Member Avatar for OsaMasw
0
223
Member Avatar for Matigo

Hello everyone In my app i'm using the counter and timer, But im stuck with resetting the counter My code is: If Timer2.Enabled = True Then counter = counter + 1 Label1.Text = counter If Label1.Text = "180" Then Timer2.Enabled = false Timer3.Enabled = true End If End If End …

Member Avatar for Matigo
0
784
Member Avatar for HunainHafeez

this code is working for a counter of 6 bit and i need a counter of 48 bit ... if u have time kindly try it..... i try alot but not succeed #include<stdio.h> #include<stdlib.h> #include<float.h> #include<math.h> #include <time.h> #include <cstdlib> #include <iostream> #include<stdint.h> #include<conio.h> int main() { int a[64][6]; int …

Member Avatar for HunainHafeez
0
245
Member Avatar for borchu

Hello, I have a problem about counting consequtive characters, here my code char query[] = "tttthe oneZZZZZ trully loveeee"; void cntfreq(char A[]) { int j; int k=0; j = 1; while (A[j] != '\0') { if (A[j-1] == A[j]) { ++k; cout<<k<<"\t"<<A[j]<<endl; } else k = 0; ++j; } } …

Member Avatar for mrnutty
0
317
Member Avatar for mike.severini.3

/* Create a program that uses a count controlled loop to read the patient's "readings" from a file and adds them up individually, calculates the average for each person (ID), and displays the two totals. Input - (numPatients-) 20 idNum numBP bpReading (1, 2, 3, 4) 1234 - 4 - …

Member Avatar for dx9_programmer
0
262
Member Avatar for chriswelborn

I started using Python a few weeks ago, something finally clicked and I started writing tools for my personal use. I started writing something with a GUI using GTK and the code lines started multiplying rapidly, so I thought to myself "Am I commenting my source to death? How many …

Member Avatar for chriswelborn
2
357
Member Avatar for Gsterminator

Hey everyone, I am making a nqueen program that’ll read me an array of the position of the queen. I developed to different methods to do this. One is the recursion way and the other is the iteration method . My problem lies in the recursion. I am trying to …

Member Avatar for Gsterminator
0
235
Member Avatar for MrHardRock

Hey guys, I have the assignment of writing the Towers of Hanoi program then testing it. I already got help measuring the time of the program, but that is not what my professor wanted he wanted to count the iterations. I can't get it down, my program will run but …

Member Avatar for MrHardRock
0
2K

The End.