Attaching document to web page

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Hawkwind
Forum Newbie
Posts: 3
Joined: Thu Nov 16, 2006 10:29 am

Attaching document to web page

Post by Hawkwind »

Hi all,

Can someone direct me to a free script I can use to do this (Attaching document to web page)

Many thanks

Gareth
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

When asking questions in the forum, you need to be as specific as possible. That is a very vague question. What EXACTLY are you trying to do? Do you mean you want to have a link to a document on a web page? What type of document? PDF? Word? We can not help you unless you ask good questions.
Hawkwind
Forum Newbie
Posts: 3
Joined: Thu Nov 16, 2006 10:29 am

To clarify

Post by Hawkwind »

When browsing the internet, one sometimes comes across the option to attach a file held on one's own PC. (photo, Word document etc.) I'm looking for a script that I can use in a web page that will allow visitors to locate files on their PC, attach them, and send them to me via that web page.

Gareth
User avatar
jayshields
DevNet Resident
Posts: 1912
Joined: Mon Aug 22, 2005 12:11 pm
Location: Leeds/Manchester, England

Post by jayshields »

The term you are looking for is upload, not attach. Attachments are for emails. Try Google for upload scripts.
Hawkwind
Forum Newbie
Posts: 3
Joined: Thu Nov 16, 2006 10:29 am

Post by Hawkwind »

To clarify further, the 'upload' then needs to be submitted to an e-mail address.

Gareth
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post by Burrito »

that is two different 'processes'.

search this forum for 'uploading files' and then download and use swift mailer to address the email portion of your issue.
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

SwiftMailer Library
SwiftMailer Support Forum

This may be overkill, but this library makes file uploading and form handling/validation very trivial...
HTML_QuickForm
Post Reply