Counter of visits

Hello,
I use a counter of visits in a basic html website, I would like to put this counter in a flex website. How can I do ?
The counter is accessible by an url adress :
http://www.moncompteur.com/.........../
Thanks !
chandler

At a basic level, you can just use a small PHP script and a .txt file
here's a working example
http://www.mattlefevre.com/viewExample.php?tut=flexPHP&proj=Hit%20Counter

Similar Messages

  • Can someone explain how the visit count works? Why would it say I visited a site over 600 times? Anyone know how this counts these visits?

    I'm trying to do a detailed log of my computer history. Most of the sites I visited have a visit count of 1, but then I will come across a page that will list 77 or 683 as the visit count. Just wondering if someone can explain how this tracker counts the visits and over what duration of time. Is there a way I can look this up myself?
    == This happened ==
    Not sure how often

    Jneklason wrote:
    ~snip~
    I know this email is confusing and really hard to understand...perhaps now you will know how i've been feeling--lost and confused with all the mis-information, with a hit and miss phone, and out of time with all the 1 1/2 hr to 2 hrs EACH wasted on this issue.
    On top of all this, I can't even find out how to file a complaint with anyone higher up than Customer Service.
    I hate to tell you this, but you didn't write an email. You wrote a discussion post on the Verizon Wireless Community forum which is a public peer to peer forum. Unfortunately since you didn't mark your post as a question, the VZW reps that roam this community won't ever see your post. Before you re-post it, don't. Duplicate posts get removed from the community.
    I see there were several missteps both by the reps and yourself in your post. First you should have insisted on returning the phone within the 14 day return policy period. Second which Samsung Galaxy mini model did you purchase? The S3 mini or the S4 mini? Did you do any research prior to deciding on this device. The reps at that time deflected the easiest course of action, by trying to get you to replace the phone under insurance instead of returning the phone. The Early Edge payment option requires the current phone on the line using the early Edge must be returned to Verizon Wireless. Did you once considered going to a third party site like Swappa to purchase a gently used device for your daughter?

  • Ordering of objects by more than one field and get counts

    i have an object visit (personid, city, street, place, date)
    A person could have visited a same place in the same strret in the same city several times on different dates.
    I have a visits 'Set' for a person and I have to get a count of visits he has done to a place..
    its basically select count(visits) group by city, street , place.
    I know to use interface comparator for a single field.. how to compare multiple fields and get counts??
    if you know abt where i can find information please let me know.
    Thanks.

    For multiple fields, your comparator compares the most significant field first. If they're unequal, it returns +/- accordingly. If they're equal, then it moves on to the next field. And so on, until, finally, if all the relevant fields are equal, then the objects are equal.
    Just like what you do when comparing, say, last names. If the first letters are unequal, you're done, else move onto the next letter, and so on..
    For the count, you wouldn't use a comparator, as that's for sorting. Exactly how you do it depends on the details of what you're storing and how, which you haven't provided.

  • Distinct Count Calculation

    Hello everybody,
    I have a cube with appointments including dimensions for companies and dates.
    One of my measures is "Appointments" which is the count of all appointments. Another calculated member is "Visits" which is the count of appointments with the type of "Visits".
    This is my MDX epxression for "Visits":
    AGGREGATE([Appointment].[Type].&[Visit], [Measures].[Appointments])
    Now I would like to create a new calculated member "Company Visits" which should be the distinct count of "Visits" by company and date.
    Example: 2 "Visits" in one company on the same day should be 1 "Company Visit"
    In T-SQL this query works:
    COUNT(
    DISTINCT(
    CASE [Type]
    WHEN "Visit" THEN CAST([CompanyID] AS NVARCHAR) + CONVERT(NCHAR(8), CAST([Date] AS NVARCHAR))
    ELSE NULL
    END
    ) AS [Company Visits]
    How can I do this with MDX in calculations?
    Additionally I would like to have a calculated member "Days in Field" as distinct count of dates with "Visits".
    Thanks in advance and best regards
    Lars

    Hi Lars,
    Based on your description, you want to create a new calculated member to calculate the distinct count of "Visit" for each company, right? In this case, you can use DistinctCount to achieve your requirement, here is a sample query about DistinctCount function
    for your reqerence.
    with member [DistCount] as
    distinctcount(exists(Employee.Employee.children,,"Reseller Orders"))
    Select {[Measures].[Reseller Order Count],
    [Measures].[DistCount]} on 0,
    ([Employee].[Gender].children) on 1
    From [AdventureWorks]
    Reference:DistinctCount (MDX)
    Regards,
    Charlie Liao
    TechNet Community Support

  • How can I retain my counter button after editing page?

    How can I retain the numberon my counter button after I have change information on my welcome page?

    Since MobileMe will be discontinued on June 12, 2012, and with it the following features:
    Features Unavailable When Publishing to a Non-Mac Server:
    ◼ Password protection
    ◼ Blog and photo comments
    ◼ Blog search
    ◼ Hit counter
    ◼ RSS Feed Widget
    you might get ahead of the curve and use a 3rd party counter.  There are many counters that will give you much more than just the number of visitors and can be setup to not count your visits. I use  StatCounter which gives the following info on visitors:
    Click to view full size
    This tutorial describes how to add the counter using an HTML snippet: #13 - Adding a StatCounter as an HTML Snippet. 
    OT

  • Unique counts - across a group by

    I am attempting to count unique patients that stay in the hospital. But they want the count by months. I only want the patient to count in the first month. is there a good way to do this.
    for example if I have a table like:
    CREATE TABLE "PATIENT_CHARGES"
         "SERVICE_DATE" DATE,
         "VISIT_NO" VARCHAR2(20 BYTE)
    Insert into PATIENT_CHARGES (SERVICE_DATE,VISIT_NO) values (to_date('01-JAN-12','DD-MON-RR'),'1');
    Insert into PATIENT_CHARGES (SERVICE_DATE,VISIT_NO) values (to_date('01-FEB-12','DD-MON-RR'),'5');
    Insert into PATIENT_CHARGES (SERVICE_DATE,VISIT_NO) values (to_date('01-FEB-12','DD-MON-RR'),'3');
    Insert into PATIENT_CHARGES (SERVICE_DATE,VISIT_NO) values (to_date('01-MAR-12','DD-MON-RR'),'5');
    Insert into PATIENT_CHARGES (SERVICE_DATE,VISIT_NO) values (to_date('01-JAN-12','DD-MON-RR'),'2');
    Insert into PATIENT_CHARGES (SERVICE_DATE,VISIT_NO) values (to_date('01-FEB-12','DD-MON-RR'),'4');
    and I run a query like:
    SELECT TO_CHAR(SERVICE_DATE, 'YYYYMM') AS SERVICE_CY_MONTH, COUNT(DISTINCT VISIT_NO)
    FROM PATIENT_CHARGES
    GROUP BY TO_CHAR(SERVICE_DATE, 'YYYYMM')
    I get:
    201201     2
    201202     3
    201203     1
    My total is 6. But I only have 5 patients. The 5th person stayed Feb - March . So although its a distinct count, it is by month, so they get double counted. What's my best way to get around this?

    Frank Kulash wrote:
    Hi,
    br**** wrote:
    Sorry its not really a unique patient identifier - that would be a medical record number, this is more a counter for each visit they have.Okay, so where I used visit_no, you should use whatever identifies the patient.Frank:
    Hopitals are odd places. In many ways, we do not care about patients, only visits (well, at least for counting/billing purposes). The medical reord number (MRN) uniquely identifies a patient across all of their interactions with the hospital, while a visit number uniquely identifies a particular interaction with the hospital. In most of the hopital systems I have seen patient is an attribute of visit, not the other way around.
    Certainly in my hospital, we would count distinct visits rather than patients. That is, if a patient with MRN 123 was here on visit number 9865 in February, and again on visit number 10023 in March, we would count that twice, but if visit 10023 extended into April, it would depend on the specific question being asked whehter we aould count that as one or two.
    John

  • Any way to set the starting hit counter value

    I am moving some static pages to a blog template and would like to retain the hit counter values on the new pages. Is there a way to set the starting number other then reloading the page 25,000 times
    thanks

    Welcome to the Apple Discussions. Not with the Apple counter. However, if you use a 3rd party counter like StatCounter you can set it to any number you want. You can also set it so it will not count your visits. To install see Old Toad's Tutorial #13 - Adding a StatCounter as an HTML Snippet.
    OT

  • IWeb doesn't display chapters in podcast

    I have created a couple podcasts in GB '08 and when I open the .m4a file in the quicktime player all the enhancements are present. But when I put the .m4a file in my iWeb project, the chapters are not showing up, before or after publishing the project. Even the art work is sometimes not there when I publish the blog.
    It must be an iWeb issue since the enhancements do get exported in the .m4a file.
    anyone know how to fix this?

    Be sure it's in the footer and not overlapping any other object or the footer's borders.  You may have to increase the footer's height via the Inspector/Page/Layout pane. 
    If you want more than just the count of visitors you might give a 3rd party counter a look at.  I use StatCounter which let's me check the following characteristics of my visitors:
    and this info:
    Click to view full size
    I have a tutorial that describers how to add the counter, which can be configured to not count your visits is desired, here: #13 - Adding a StatCounter as an HTML Snippet. There are many other counters out there.  Just Google for "website counter" and you'll get many candidates.
    OT

  • Visits count on dynamic detail page?

    Hi - using asp/access
    Is there a extension on how to build a visits count on
    dynamic detail page? Like, this profile was visited 10 times,
    counting...
    Any tutorial ?
    kind regards,
    Bjørn.

    http://www.asp101.com/samples/counter.asp
    Nancy Gill
    Adobe Community Expert
    BLOG:
    http://www.dmxwishes.com/blog.asp
    Author: Dreamweaver 8 e-book for the DMX Zone
    Co-Author: Dreamweaver MX: Instant Troubleshooter (August,
    2003)
    Technical Editor: DMX 2004: The Complete Reference, DMX 2004:
    A Beginner's
    Guide, Mastering Macromedia Contribute
    Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP
    Web Development
    "btn" <[email protected]> wrote in message
    news:ec03ef$pn$[email protected]..
    > Hi - using asp/access
    >
    > Is there a extension on how to build a visits count on
    dynamic detail
    > page? Like, this profile was visited 10 times,
    counting...
    >
    > Any tutorial ?
    >
    > kind regards,
    >
    > Bj?rn.

  • How to Count Number of "Visits" or "Visitors" on a Public Portal?

    I have a publicly accessible Portal that does not require users to login. As such, in the performance reporting logs, most every user is PUBLIC. This doesn't allow me to provide standard Visitor Analysis metrics (like unique visitors, new visitors, pages per visit, etc.). Using the Session count doesn't work for me either, because our server team has the KeepAlive directive turned off, so basically, every request is a new session, which really skews the analysis.
    Has anyone encountered this before? Or, can someone tell me what the best practices are for the KeepAlive Apache directive and other related configuration items?
    Thanks!

    The kind of metrics you are looking for is often referred to as 'Business Centric Portal Analytics'. Oracle Portal provides the performance monitoring scripts for tuning and troubleshooting your Portal. It does not provide any functionality other metrics.
    You may want to look at offerings from Omniture. More information regarding their offering is available in the white paper 'How to Effectively Measure and Monitor Activity in Your Portal
    Environment' on OTN :
    http://www.oracle.com/technology/products/ias/portal/pdf/oow_10gr2_1333_sethi_andrew.pdf

  • My browsing history recently started showing multiple "visits" under the visit count upon a single log onto a website. show 300+ "visits" on one recorded visit

    I have recently seen a spike in my data usage with Verizon. The only thing i can see that has changed is in my browsing history. I am going to the same sites i always do, but now, immediately upon hitting a site, the browsing history will show anywhere from 40 to over 300 "visits" to that site for the same date and time, even if i leave the site immediately. I believe this may be the cause for the sudden increase in data usage as it seems the browser is going out to the site hundreds of times without me telling it to.
    I tried reinstalling firefox but the problem persists.

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do not click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    Do you have any bookmarked pages from that site if you enter the domain in the search field in the Bookmarks and History Manager (Library)?
    *Bookmarks > Show All Bookmarks

  • Three visits and still counting!

    Dear Sir,
    I write again today in desperation to try and get contact with somebody regarding my internet speed which is dropping dramatically. From 77mb to 0.5mb in some cases. I have been promised too many times that a phone call was arranged, that the fault was rectified etc...........BT customer service is hapless and hopeless in my experience!
    The visits -  four weeks in total, so far - but fault must have been there from the start...........
    1st engineer - he replaced all equipment, hub, router and faceplate - could not find a fault.
    2nd engineer - he tested, found two line faults (battery and earth fault) under ground outside the Infinity cab and reported to get repaired by Open reach.
    3rd engineer - rang and told me he was fixing the joint that was full of water ..........The fault is still evident, look below please....

    Welcome to this forum.
    This is a customer to customer forum only, where forum members, who are only BT customers, can help each other with BT Retail products and services.
    Anything you post here does not go to BT. Although the forum is moderated by BT, not all posts are read.
    This is a public forum which can be viewed worldwide, so please do not post any personal information, especially phone numbers, account numbers, fault numbers, address information or email addresses, as this could be used to impersonate you.
    I have asked a moderator to provide assistance, they will post an invite on this thread.
    They are the only BT employees on this forum, and are a UK based team of people, who take personal ownership of your problem.
    Once you get a reply, make sure that you are logged into the forum, then click on their name, you will see a screen like this. Click on the link as shown below.
    Please do not send them a personal message, as they may not be on duty for a long time, and your message will not be tracked properly.
    For your own security, do not post any personal details, on this forum. That includes any tracking number you are give.
    They will respond either by phone or e-mail within 5-6 working days.
    Please use the tracked e-mail, to reply, not via the forum. Thanks
    This is the form you should see when you click on the link. If you do not see this form, then you have selected the wrong link.
    When you submit the form, you will receive an enquiry number, so please keep a note of it
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

  • Proxy Visiting URL and Hit Counter

    When i connect and download a url using java it doesnt add one to the javascript hit counter on that site, whats wrong ? here is my code :
    import java.util.Properties;
    import java.util.Date;
    import java.net.URL;
    import java.net.URLEncoder;
    import java.net.HttpURLConnection;
    import java.net.URLConnection;
    import java.io.*;
    import java.util.*;
    // This is a simple example that shows how to get HTTP connections to work
    // with a proxy server. If all goes well, we should be able to post some
    // data to a public cgi script and get back the resulting HTML. If anyone
    // knows some "gotchas" when combining Java and proxies, I'd love to hear
    // about them. Send your thoughts to [email protected].
    public class RunProxy
        static String proxy;
        static String port;
        static String url;
        public RunProxy (String url1, String proxy1, String port1)
            proxy = proxy1;
            port = port1;
            url = url1;
            System.out.println ("Proxy Used:");
            System.out.println (proxy);
            System.out.println ("Port Used:");
            System.out.println (port);
            System.out.println ("Url Used:");
            System.out.println (url);
            //proxy = "195.61.75.183";
            System.out.println (proxy);
            main (new String [0]);
        public static void main (String argv [])
            try
                System.out.println ("Does this come after ? ");
                // Enable the properties used for proxy support
                System.getProperties ().put ("proxySet", "true");
                System.getProperties ().put ("proxyHost", "" + proxy);
                System.getProperties ().put ("proxyPort", "" + port);
                char doubleBrackets = '"';
                Calendar calendar = Calendar.getInstance ();
                String seconds = "" + calendar.getTimeInMillis ();
                seconds = seconds.substring (0, 10);
                // URL to a public cgi script
                System.out.println (seconds);
                //            URL url = new URL ("http://www.outwar.com/page.php?x=889751/&tom=" + seconds + "&tom_ench=d23bb6ce525d19b409977e39a298049e&pro=761b4f72a39bfbbbe7a556fa6cd41aa1&r=&h=25e7ec84cd9a43ff95a7c0393468f582&wid=" + doubleBrackets + "+wid+" + doubleBrackets + "&hit=" + doubleBrackets + "+ hit +");
                String url2 = url;
                //url2 = "http://missions.itu.int/~italy/old%20files/visitors.htm";
                URL url = new URL (url2);
                // URL url = new URL ("http://google.ca/");
                //URLConnection connection = url.openConnection ();
                HttpURLConnection connection = (HttpURLConnection) url.openConnection ();
                connection.setFollowRedirects (true);
                connection.setInstanceFollowRedirects (true);
                connection.setDoInput (true);
                connection.setDoOutput (true);
                // enter the username and password for the proxy
                String password = "vishu:vishwajeet";
                // base64 encode the password. You can write your own,
                // use a public domain library like
                // http://www.innovation.ch/java/HTTPClient/ or use
                // the sunw.server.admin.toolkit.security.BASE64Encoder
                // class from JavaSoft Java Web Server.
                //String encoded = base64Encode( password );
                String encodedPassword = "Basic " + new sun.misc.BASE64Encoder
                    ().encode (password.getBytes ());
                // Set up the connection so it knows you are sending
                // proxy user information
                connection.setRequestProperty ("Proxy-Authorization", encodedPassword);
                // Set up the connection so you can do read and writes
                connection.setDoInput (true);
                connection.setDoOutput (true);
                /*// open up the output stream of the connection
                DataOutputStream output = new DataOutputStream(
                connection.getOutputStream() );
                // simulate a POST from a web form
                String query = "name=" + URLEncoder.encode(
                "Ronald D. Kurr" );
                query += "&";
                query += "email=" + URLEncoder.encode( "[email protected]" );
                // write out the data
                int queryLength = query.length();
                output.writeBytes( query );
                output.close();*/
                // get ready to read the response from the cgi script
                DataInputStream input = new DataInputStream (
                        connection.getInputStream ());
                // read in each character until end-of-stream is detected
                try
                    PrintWriter output = new PrintWriter (new FileWriter ("tempPage2.txt"));
                    for (int c = input.read () ; c != -1 ; c = input.read ())
                        output.print ((char) c);
                    input.close ();
                    output.close ();
                catch (Exception heea)
                    System.out.println (heea);
                System.out.println ("UR GOOD!, next run. ");
            //suicide
            catch (Exception e)
                System.out.println ("Something bad just happened.");
                System.out.println (e);
                e.printStackTrace ();

    if your going through a proxy your gonna be hitting the server with the same ip address each time right? Don't some/most counters count unique IP address hits?

  • Read this and weep...11 engineer visits and counti...

    Original thread created in January this year http://community.bt.com/t5/BB-in-Home/Help-Speed-low-but-is-this-my-fault/td-p/112249
    Since then I have had no fewer than 11 line engineers and broadband engineers visit and /or attempt to fix a fault with my BB service which manifests itself in pitiful SNR levels after dark - right down into the negative figures.
    What's been done / tried so far -
    New main socket
    New filtered faceplate
    New drop line to pole
    Pairs changes
    Fixing resistance faults / battery
    Checking out the earth in my electrical wiring (all perfect)
    Eliminating any local interference issues
    Consulting REIN engineers (although I have no evidence this was actually done)
    Changing D side at cabinet
    Lift and Shift (yesterday)
    I'm using a 2wire Gateway 2700  is its about the only router that will hold on to the line at all. I live about 1.5km from the exchange in Hove.
    Here's a sample of the line stats I had a couple of hours ago:
    DSL Details
    Modem Type:
    Built in modem - ADSL
    DSL Line (Wire Pair):
    Line 1 (inner pair)
    Current DSL Connection:
      Down Up
    Rate:
    8867 kbs
    944 kbs
    Max Rate:
    8867 kbs
    1140 kbs
    Noise Margin:
    -0.1 dB
    4.0 dB
    Attenuation:
    39.0 dB
    20.0 dB
    Output Power:
    20.6 dBm
    -31.0 dBm
    Protocol:
    G.DMT2+ Annex A
    Channel:
    Interleaved
    DSLAM Vendor Information
    Country: {46336} Vendor: {TSTC} Specific: {4101 }
    ATM PVC:
    0/38
    Rate Cap:
    8867 kbs
    Attenuation @ 300kHz:
    39.0 dB
    Uncanceled Echo:
    -19.9 dB
    Ok
    VCXO Frequency Offset:
    -1.7 ppm
    Ok
    Final Receive Gain:
    20.8 dB
    Ok
    Impulse Noise Comp. Tones:
    0
    Ok
    Excessive Impulse Noise:
    0
    Ok
    Traffic Statistics
    IP Traffic Bytes Packets Errors %
    Transmit:
    98809
    488
    0
    0
    Receive:
    258579
    438
    0
    0
    ATM Traffic Cells Errors %
    Transmit:
    530975
    0
    0
    Receive:
    3755590
    0
    0
    DSL Link Errors
    Collected for 1Day4:53:54
    Since
    Current
    Current
    Time Since
      Reset 24-hr int. 15-min int. Last Event
    ATM
    Last Event
    Cell Header Errors
    273466
    232643
    16081
    0:00:01
    Loss of cell Delineation
    46927
    46209
    2427
    0:00:01
    DSL
    Link Retrains:
    2
    0
    0
    6:35:02
    DSL Training Errors:
    1
    0
    0
    9:40:56
    Training Timeouts:
    0
    0
    0
    0:00:00
    Loss of Framing Failures:
    3
    0
    0
    6:35:03
    Loss of Signal Failures:
    1
    0
    0
    9:41:05
    Loss of Power Failures:
    0
    0
    0
    0:00:00
    Loss of Margin Failures:
    4541
    4540
    333
    0:00:01
    **bleep**. Seconds w/Errors:
    36643
    9335
    533
    0:00:01
    **bleep**. Sec. w/Severe Errors:
    5584
    5480
    419
    0:00:01
    Corrected Blocks:
    841555
    824065
    30647
    0:00:01
    Uncorrectable Blocks:
    335915
    261154
    18265
    0:00:01
    DSL Unavailable Seconds:
    95
    0
    0
    6:33:59
    This results in a totally unusable service with web pages at a crawl at best.
    Any thoughts or suggestions welcome. I'm just about at the end of my tether, coming home every night to deal with this is no fun, not to mention all the days I've spent waiting in for engineers. Forum mods are aware, and although everyone has been without exception extremely polite and tried to help, the end result is a fail.
    This is an Option 3 full price package. Surely I have good grounds to ask for an amicable exit from my contract, as BT cannot provide a stable service?

    Replying here just to update and let others know what to expect. This issue now been with the mods for weeks and I have escalated to the high level complaints team who are looking into and have asked me to send copies of router screen dumps etc showing the low SNR as "evidence"
    Well I have posted all this info before here and in previous threads, but I have lots of this evidence so happy to supply if it eventually gets me somewhere. Have to say though, I am not confident.
    This is what is happening as soon as sunset kicks in, think it is pretty obvious where the SNR will end up once dark. i know from experience this will be a downward slide until 2dB or lower and the subsequent loss of margin issues with my service. I am currently syncing at 6-7 meg with an IP profile of 5 meg, and have attenuation of 39, living 1.5km from the exchange.
    Absolutely fed up with this and now it seems that it will take some more weeks for this to be investigated.
     And behold....

  • How do I add a hit counter to my website?

    How do I go about adding a hit counter to my web site?
    I am running Adobe Dreamweaver CS6.

    Humm.......hit counters are meaningless. They don't provide accurate figures of who has visited your website.
    You'd be better off putting Goolge Analytics on the site - that will give you more accurate feedback.
    If you want to just have some fun Google Web Counter - there are plenty of free resources where you can download the code needed and insert it into your websites page.
    Just grab the code and paste it where you want the counter to show up on your page (not recommended)
    http://www.simplehitcounter.com/

Maybe you are looking for