Woopra Forums » General Discussion » How Do I...

Local JS?

(3 posts)
  • Lazy
    Member

    I`m not sure if it is the right category for this post.. but you can move it, of course :)

    So.. if i use something like that:

    #!/bin/sh

    MYTMP=/tmp

    INSTALL_IN=/opt/lampp/htdocs/web1/html/woopra/

    WOOPRA_JS_URL=http://static.woopra.com/js/woopra.js

    UA="Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3"

    cd $MYTMP

    curl --header "Pragma:" -f -s -A "${UA}" -m 1800 --retry 15 --retry-delay 15 --max-redirs 8 -O $WOOPRA_JS_URL

    chmod 644 $MYTMP/woopra.js

    cp -r $MYTMP/woopra.js $INSTALL_IN

    cd $OLDPWD

    exit 0;

    Will Woopra keep on counting? ;)

    Posted 3 months ago #
  • Jad Y.
    Administrator

    Yes it will keep counting. However, It is your responsibility to check for newer versions of the script.

    Posted 3 months ago #
  • Lazy
    Member

    Thank you very much for your response, Jad. Im not sure if i will use this script but maybe ill give it a try with one of my vhosts which is not so relevant..

    have a nice day ;)

    Chris

    Posted 3 months ago #

RSS feed for this topic

Reply

You must log in to post.