navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

Best stats e-mail format?

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Search Engine Optimization and Web Business >> Best stats e-mail format?
Page: [1]
 
BobbyDouglas

 

Posts: 5440
Joined: 5/15/2003
From: Arizona
Status: offline

 
Best stats e-mail format? - 10/2/2006 23:47:09   
We run awstats on our hosting servers and want to setup a monthly cron job that e-mails the stats to specific clients.

Currently the script we have uses curl to grab the awstats page. The problem is that I think it would be better if more than just the html page output was sent. The images are currently not attached. There are a couple reasons why, the path for the image contains an initial forwardslash, causing the files to be called from root (ex: /images/awstats/other/en.png), as well as the fact there are sooo many images.

How should the files be attached?

Image paths must be renamed for everything (not that much of an issue though since the script is written in php)

Here are a couple solutions I have thought about....
1) Attach all image files (yes there will be a TON)
2) Put everything (images and html file) into a zip and attach that and require the user to unzip that
3) Put the images online somewhere and reference the html page with the new location of the images

I don't see a perfect solution to any of this. I wouldn't want to require the client to be online to view the html file, I wouldn't want to require the client to unzip everything, and I wouldn't want to have the client see a hundred or something images as attachments.

What's your input?

_____________________________

Arizona Web Design - Mr Bobs Web Design in Arizona
The Arizona Web Hosting Challenge
Page:   [1]

All Forums >> Web Development >> Search Engine Optimization and Web Business >> Best stats e-mail format?
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts