Email > Zip > Excel > MySQL

This is a discussion on Email > Zip > Excel > MySQL within the alt.comp.lang.php forums, part of the PHP Programming Forums category; Hello All. First post! Yay! Ok heres the thing. you will have to bare with this wild idea... I get ...


Go Back   Usenet Forums > PHP Programming Forums > alt.comp.lang.php

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-22-2004
Dappa
 
Posts: n/a
Default Email > Zip > Excel > MySQL

Hello All.

First post! Yay!

Ok heres the thing. you will have to bare with this wild idea...

I get sent reports daily in zip format, that zip contains 1 file
called erh...report.xls

with me so far?

What i propose to do is, have a php script that automatically recieves
the email, downloads the attachment, extracts the zip, opens the xls
doc, reads the data and inserts it into a mysql database... This
sounds like a right mission to me but i thought maybe you php pros
might see it differently. I know you can extract zip files. Can you
read xls files? can you get it to automatically download the
attachments???

Basically....Is this possible? if so can you point me in the right
direction please.

Also i need a script to keep checking for in a database, is it
unstable to have the browser keep refreshing all day long, 24/7
really??? is there a better way to do it?

That concludes my rather long first post....

Thanks your time.

Dappa.



----------------------------------------
The post originated from PHP Freaks:
----------------------------------------
http://www.phpfreaks.com
http://www.phpfreaks.com/forums


Reply With Quote
  #2 (permalink)  
Old 04-23-2004
Manuel Lemos
 
Posts: n/a
Default Re: Email > Zip > Excel > MySQL

Hello,

On 04/22/2004 10:46 AM, Dappa wrote:
> I get sent reports daily in zip format, that zip contains 1 file
> called erh...report.xls
>
> with me so far?
>
> What i propose to do is, have a php script that automatically recieves
> the email, downloads the attachment, extracts the zip, opens the xls
> doc, reads the data and inserts it into a mysql database... This
> sounds like a right mission to me but i thought maybe you php pros
> might see it differently. I know you can extract zip files. Can you
> read xls files? can you get it to automatically download the
> attachments???


I think you can get it all from here:

http://www.phpclasses.org/browse/


--

Regards,
Manuel Lemos

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

PHP Reviews - Reviews of PHP books and other products
http://www.phpclasses.org/reviews/

Metastorage - Data object relational mapping layer generator
http://www.meta-language.net/metastorage.html
Reply With Quote
  #3 (permalink)  
Old 04-23-2004
MAR
 
Posts: n/a
Default Re: Email > Zip > Excel > MySQL

Can you send me your code as a personel message so I can have alook at
you have .. and add to it .... I hope I can help you ... waiting for
your e-mail .... GOOD LUCK ..



----------------------------------------
The post originated from PHP Freaks:
----------------------------------------
http://www.phpfreaks.com
http://www.phpfreaks.com/forums


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:05 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0