PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming LanguagesPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 2nd, 2000, 07:44 PM
smeelen smeelen is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2000
Posts: 33 smeelen User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 14
i wonder if it's possible to attach a .txt-file
at an e-mail ??
i want to write some records from a mysql table to a text-file,
so i can import this data into a .dbf file
for off-line use.
or....
is it possible to export the data from a mysql table,
to a .dbf database file and attach that file at an e-mail ???

if anybody has some examples please post it here,
i appreciate it a lot !

thanks,

Jan, The Netherlands.

Reply With Quote
  #2  
Old June 3rd, 2000, 12:17 PM
GoetheJF GoetheJF is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Posts: 7 GoetheJF User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Sure there is a way to do that, but it is not done with a few lines of code, since the attchment gets Base64 encoded on its way through the net. You need "unique" boundaries and content headers according to RFC (dun know the# ba heart), so the the client receiving the attachment knows where it begins and where the end is. I would strongly recommend to study the book "PHP- Programming (Wrox)" Chapter 17. All you need is in there.


------------------
Joerg Fritsch

Reply With Quote
  #3  
Old June 3rd, 2000, 12:41 PM
rycamor rycamor is offline
Gödelian monster
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jul 1999
Location: Central Florida, USA
Posts: 2,306 rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 3 Days 6 h 42 m 51 sec
Reputation Power: 60
On the other hand, why not just save the table on the server in a web directory and just send the URL in the email? That way whoever receives the email can just click on the link and download the file.

Reply With Quote
  #4  
Old June 3rd, 2000, 10:57 PM
smeelen smeelen is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2000
Posts: 33 smeelen User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 14
well i want to receive a dbf database,
to import the data into a clipper application.
but if i can download a dbf file, with a
link on the website, it's also allright,
but i hope to find a solution to recieve a
dbf file
together with my e-mail.

does anyone know how to do it with a link
on the website ??
how do i create a dbf database from mysql,
put it on the server, an be
able to download it with a link ???

many thanks !

Jan.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPHP Development > txt file as attachment at an e-mail ???

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap