If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > PHP > Need help in attaching files.

View Poll Results: Ia this question unsolvable ?
Nope. 0 0%
How on earth do you get that question from ? Albert Einstein ? 1 100.00%
Voters: 1. You may not vote on this poll

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-20-10, 04:12
DbVirgin DbVirgin is offline
Registered User
 
Join Date: Oct 2010
Posts: 4
Question Need help in attaching files.

Hi fellow members,

I need to attach a email/pdf/files to my interaction record. The interaction record is my database which is in phpmyadmin. I tried to find around but seems like i could not find the solution.

It works something like in an email where you attach files to your email.

Any help would be appreciated.

Thanks.
Reply With Quote
  #2 (permalink)  
Old 10-20-10, 04:26
healdem healdem is offline
Jaded Developer
 
Join Date: Nov 2004
Location: out on a limb
Posts: 9,262
I doubt 'my database is in PHPMyAdmin'
so do we assume you are using an Access front end (user interface) connected to a MySQL backend (data store)?
usually the best way to store such 'stuff' is as a url pointing to the file that is stored outside the system. the downside of this approach is that you have to consider how you control access to that external storage.. as its all to easy for third parties to delete or modify that. so I generally allow users to create or modify files elsewhere and then copy them to the secure location where they become read only.
__________________
I'd rather be riding my Versys or my Tiger 800 let alone the Norton
Reply With Quote
  #3 (permalink)  
Old 10-20-10, 05:03
DbVirgin DbVirgin is offline
Registered User
 
Join Date: Oct 2010
Posts: 4
Question

I have a web based interface, so the attach of files will allow user to choose what files to attach to the records.

My database is in phpmyadmin.

What i need to question is if there is a way ( by coding or format ) where i can come out with a function similar to hotmail attachment of files.
Reply With Quote
  #4 (permalink)  
Old 10-20-10, 07:53
healdem healdem is offline
Jaded Developer
 
Join Date: Nov 2004
Location: out on a limb
Posts: 9,262
no your database is not in PHPMyAdmin, PHPMyAdmin is a tool that talks to/manipulates databases.
according to phpMyAdmin its specifically designed to manipulate MySQL databases, although it can export to various formats FROM a MySQL db

if its a web application then its unlikely that you are using Access as a front end tool...
so what are you using to store the data
what language are you using for the front end (the web interface)

I suspect you are probably using PHP in which case you should look do a google search for PHP file upload
__________________
I'd rather be riding my Versys or my Tiger 800 let alone the Norton
Reply With Quote
  #5 (permalink)  
Old 10-20-10, 12:17
DbVirgin DbVirgin is offline
Registered User
 
Join Date: Oct 2010
Posts: 4
Red face

My scenario is this,

After query on the web based interface, all the data from the database will appear according to the query.

There will be a 'attach' button beside each contact.

So when i click on the attach button, it will pop out a window to trigger user to choose the files he wants to attach.

After choosing, the file will be attached to the user.

Beside the 'attach' button will be a 'send email' button.

Thus clicking on the button will send the email over to the user by the address in the database.

Yes, im using PHP.

Sorry my english is bad. ):

Please help. (:


Thanks
Reply With Quote
  #6 (permalink)  
Old 10-20-10, 12:30
healdem healdem is offline
Jaded Developer
 
Join Date: Nov 2004
Location: out on a limb
Posts: 9,262
moved to he PHP forum
__________________
I'd rather be riding my Versys or my Tiger 800 let alone the Norton
Reply With Quote
  #7 (permalink)  
Old 10-20-10, 12:32
DbVirgin DbVirgin is offline
Registered User
 
Join Date: Oct 2010
Posts: 4
Question

Means i start a new thread over there ?

*EDIT*

Oh thanks for the move. Appreciated it. (:

Last edited by DbVirgin; 10-20-10 at 12:37. Reason: Appreciate
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 On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On