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? ;)
