Register Now for FREE! | | |
09-01-2005, 02:37 PM
|
#1 (permalink)
| | DNF Addict
Last Online: Today 11:51 AM Join Date: Oct 2003
Posts: 1,239
DNF$: 1,568 Location: Kansas City, Missouri | Allowing public access to AW Stats?? I have a domain and site that I want to sell, and would like to offer public access to my AW Stats. Anyone know how to do this... site management is CPanel.
Thanks,
Dave |
| |
09-01-2005, 04:30 PM
|
#2 (permalink)
| | DNF Regular
Last Online: 02-11-2008 07:08 AM Join Date: Apr 2002
Posts: 752
DNF$: 729 Location: Domain Wonderland
Country: | Re: Allowing public access to AW Stats?? That is a good question. |
| |
09-01-2005, 04:53 PM
|
#3 (permalink)
| | Platinum Lifetime Member
Last Online: 08-27-2008 05:46 PM Join Date: Feb 2003
Posts: 1,685
DNF$: 22 Location: New Jersey | Re: Allowing public access to AW Stats?? You can just save the pages as html pages and upload them to your server. Its a lot safer and secure that way. |
| |
09-01-2005, 05:23 PM
|
#4 (permalink)
| | DNF Addict
Last Online: Today 11:51 AM Join Date: Oct 2003
Posts: 1,239
DNF$: 1,568 Location: Kansas City, Missouri | Re: Allowing public access to AW Stats?? Cool, Thanks Byalik.
Dave |
| |
09-06-2005, 07:44 PM
|
#5 (permalink)
| | Gold Lifetime Member
Last Online: 07-19-2007 03:47 PM Join Date: Aug 2005
Posts: 31
DNF$: 142 Location: Summerville, South Carolina | Re: Allowing public access to AW Stats?? Or, you could just take a screenshot and use that.  |
| |
09-06-2005, 07:49 PM
|
#6 (permalink)
| | DNF Addict
Last Online: Today 10:43 AM Join Date: Apr 2002
Posts: 3,932
DNF$: 6,459 | Re: Allowing public access to AW Stats?? Quote: |
Originally Posted by byalik You can just save the pages as html pages and upload them to your server. Its a lot safer and secure that way. | But also a lot of work, takes a lot of time, and non-real-time stats. |
| |
09-06-2005, 08:03 PM
|
#7 (permalink)
| | DNF Addict
Name: Daniel Last Online: 08-26-2008 01:16 PM Join Date: Feb 2003
Posts: 6,908
DNF$: 8,985 Location: Vancouver, Canada
Country: | Re: Allowing public access to AW Stats?? Quote: |
Originally Posted by byalik You can just save the pages as html pages and upload them to your server. Its a lot safer and secure that way. | the problem with these are its easy to fake (change the numbers)
its far more credible to give access to your live stats, but I haven't been able to do it successfully as of yet
__________________ |
| |
09-07-2005, 10:33 AM
|
#8 (permalink)
| | Platinum Lifetime Member
Last Online: 08-28-2008 08:17 AM Join Date: Oct 2003
Posts: 562
DNF$: 104 Location: Cebu, Philippines | Re: Allowing public access to AW Stats?? Some non-Cpanel control panels can do public viewing of web stats. Why dont you try Free counter sites.
__________________ Personal Blog | Dyuc.com - 220$ | Byux.com - 120$ |
| |
09-07-2005, 04:52 PM
|
#9 (permalink)
| | Planning ahead!
Name: Jermaine Last Online: 03-25-2008 01:31 AM Join Date: Feb 2005
Posts: 2,296
DNF$: 362 Location: Tennessee
Country: | Re: Allowing public access to AW Stats?? I've been wondering this too.. I've seen alot of people do this
__________________ Part-Time Webdesigner/Developer/Consultant
Full-Time Film Writer/Director & Music Production Seeking serious investors for Low Budget Independent Films |
| |
09-11-2005, 12:22 AM
|
#10 (permalink)
| | DNF Member
Last Online: 07-28-2008 08:24 PM Join Date: Apr 2005
Posts: 197
DNF$: 1,208 | Re: Allowing public access to AW Stats?? Quote: |
Originally Posted by SouthernTn I've been wondering this too.. I've seen alot of people do this | I had to do something like this before, it wasn't with AW, but I don't see why it wouldn't work the same. I wrote a Perl script that would fetch the stats site and return the html. You can set it up so all important info is stored outside the Public HTML directory. Even though technically this could be faked, it is always up to date, it's a script (stats.cgi looks better than stats.html), and after the initial set up, it's hands free.
If some people are interested in getting it to work with AW, I will modify my script and distribute it to anyone who wants it. |
| |
09-11-2005, 01:03 AM
|
#11 (permalink)
| | Account Terminated
Last Online: 08-10-2007 03:46 AM Join Date: May 2005
Posts: 940
DNF$: 187 Location: USA
Country: | Re: Allowing public access to AW Stats?? I wrote a script that lets me display stats of a domain in real time. This will work only if you have cpanel installed.
It allows people to view AWstats securely without login.
You can see a demo at http://www.adsensesucks.com/stats
I will sell a copy of the script cheaply probably for DNF$.
I'll start thread in advertising forum for this, or you can just PM me for info |
| |
09-11-2005, 02:43 AM
|
#12 (permalink)
| | DNF Member
Last Online: 07-28-2008 08:24 PM Join Date: Apr 2005
Posts: 197
DNF$: 1,208 | Re: Allowing public access to AW Stats?? |
| |
09-11-2005, 02:46 AM
|
#13 (permalink)
| | DNF Addict
Last Online: Today 11:51 AM Join Date: Oct 2003
Posts: 1,239
DNF$: 1,568 Location: Kansas City, Missouri | Re: Allowing public access to AW Stats?? thanks sjaguar,
I'll give it a shot.
dave |
| |
09-11-2005, 02:51 AM
|
#14 (permalink)
| | DNF Member
Last Online: 07-28-2008 08:24 PM Join Date: Apr 2005
Posts: 197
DNF$: 1,208 | Re: Allowing public access to AW Stats?? You can use this as your index.php script to get rid of the whole log in thing completely: Code: <?php
/************************************************************************/
/* AWStats Access 2.0: Provides access to AWStats outside of cPanel */
/* ============================================ */
/* Created for and by members of TotalChoiceHosting.com */
/* Copyright (C) 2004 by TotalChoiceHosting.com */
/* */
/* This file is part of AWStats Access. */
/* AWStats Access is free software; you can redistribute it and/or */
/* modify it under the terms of the GNU General Public License as */
/* published by the Free Software Foundation; either version 2 of */
/* the License, or (at your option) any later version. */
/* */
/* AWStats Access is distributed in the hope that it will be useful, */
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
/* GNU General Public License for more details. */
/* */
/* You should have received a copy of the GNU General Public License */
/* along with Foobar; if not, write to */
/* Free Software Foundation, Inc. */
/* 59 Temple Place, Suite 330 */
/* Boston, MA 02111-1307 USA */
/************************************************************************/
require_once("config.php");
if($QUERY_STRING == ""){$query = "config=$site";}else{$query=$QUERY_STRING;};
$Previous = false;
if(isset($_POST))
{
foreach($_POST as $key => $value)
{
if($Previous)
{
$POSTED .= "&";
}
$POSTED = "$key=$value";
$Previous = true;
}
}
$Curl = curl_init("http://$cpnlusername:$cpnlpassword@$site:2082/awstats.pl?$query");
if(isset($_POST))
{
curl_setopt($Curl, CURLOPT_POST, TRUE);
curl_setopt($Curl, CURLOPT_POSTFIELDS, $POSTED);
}
curl_setopt($Curl, CURLOPT_RETURNTRANSFER, 1);
$results = curl_exec($Curl);
for ($i = 0; $i < count($return_message_array); $i++) {
$results = $results.$return_message_array[$i];
}
if($query == "config=$site"){$results = str_replace("src=\"", "src=\"?", $results);}
if($framename==index){$results = str_replace("src=\"", "src=\"index.php?", $results);}
$results = str_replace("action=\"", "action=\"index.php?", $results);
$results = str_replace("href=\"", "href=\"?", $results);
$results = str_replace("href=\"?http://", "href=\"http://", $results);
$results = str_replace("awstats.pl?", "", $results);
echo $results;
?>
|
| |
09-11-2005, 03:30 AM
|
#15 (permalink)
| | DNF Addict
Last Online: Today 11:51 AM Join Date: Oct 2003
Posts: 1,239
DNF$: 1,568 Location: Kansas City, Missouri | Re: Allowing public access to AW Stats?? awesome, works great. I don't mind having a password for the stats, as long as it can be different from my actual cpanel login. Just what I was looking for.
Sending you a few F$ for your generosity.
For anyone that wants to see the results, http://www.nintendoeye.com/stats/index.php
userid: stats
pwd: stats
Looking to sell this name by the way if anyone is interested.
Thanks again,
Dave |
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| | | | All times are GMT -4. The time now is 01:00 PM.
Copyright @2001-2008 DNForum.com
|