Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 11-24-2010, 05:31 AM Mail Problem
Skilled Talker

Posts: 97
Trades: 0
hi guys..
i am using php to send mail with 4 attachements from my local Computer.. and everything is working fine..

but when i saved the mail in database the attachements will not be saved.. so

1- how to save attachment in my database... to let the user send the saved mail with its attachment (like saving draft in outlook, hotmail............)

also

2- i want to know how i can make the user browse his server while pressing on "browse" to send the file that exists on server as attachement coz the files are uploaded in it's server.


any help please

Last edited by john_zakaria; 11-24-2010 at 05:40 AM..
john_zakaria is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-24-2010, 05:49 AM Re: Mail Problem
Skilled Talker

Posts: 97
Trades: 0
also i have another idea... i can save file name of the file uploadded in database and select this file form the folder uploaded in.. and then send it in my mail as attachemnt

example:
filename1.pdf "send as attachement"
filename2.jpg "send as attachement"

so when i choose the files using checkboxes i can send them.. but i dont know how to send a file that exits on server as attachement in my mail without browsing????/
john_zakaria is offline
Reply With Quote
View Public Profile
 
Old 11-27-2010, 02:39 AM Re: Mail Problem
Average Talker

Posts: 15
Name: Angel
Location: India
Trades: 0
Quote:
Originally Posted by john_zakaria View Post
hi guys..
i am using php to send mail with 4 attachements from my local Computer.. and everything is working fine..

but when i saved the mail in database the attachements will not be saved.. so

1- how to save attachment in my database... to let the user send the saved mail with its attachment (like saving draft in outlook, hotmail............)

also

2- i want to know how i can make the user browse his server while pressing on "browse" to send the file that exists on server as attachement coz the files are uploaded in it's server.


any help please
The attachment will not be stored directly into the database first create table for them and then define the attributes for these attachments. After that you can save these attachments.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
angellee is offline
Reply With Quote
View Public Profile Visit angellee's homepage!
 
Reply     « Reply to Mail Problem
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.80195 seconds with 12 queries