Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-04-12 21:32:14

waznelle
Member
From: Australia
Registered: 2007-01-16
Posts: 13
Website

Upload files through a form

Hi,

I am looking for a way I can create a form on the site where users can upload files — these files will be emailed to whatever email address I specify. Kind off like a contact form but with a file upload option.

Would anyone know of a ready-made plugin? or would I have to create the script myself? I have no problem creating the script but just thought it would be easier if it existed already :) Also, I haven’t used raw php on txp yet, so that will be new for me.

Cheers,
Elle

Offline

#2 2008-04-12 21:55:14

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: Upload files through a form

There is one, but you have to ask for it via e-mail, for security reasons:

http://txp-plugins.netcarving.com/


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#3 2008-04-13 07:41:31

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,091
Website GitHub Mastodon Twitter

Re: Upload files through a form

The price is steep but yousendit started a service


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#4 2008-04-13 15:04:48

mrtunes
Member
From: Toronto, On
Registered: 2007-03-12
Posts: 575
Website

Re: Upload files through a form

there are many uploading scripts on hotscripts which i’m sure can be integrated into a TXP page with little problem.

Offline

#5 2008-04-14 01:42:36

waznelle
Member
From: Australia
Registered: 2007-01-16
Posts: 13
Website

Re: Upload files through a form

Thank you for the suggestions. Steve from netcarving.com has been very quick and very helpful — but I guess I didn’t express myself clear enough :). I am looking for a form that will email a pdf file, not upload it to my site and not store it on my server.

I am going to check hotscripts next — but still does anyone know of a txp plugin that does that?

Thanks

Last edited by waznelle (2008-04-14 01:43:40)

Offline

#6 2008-04-24 09:33:24

waznelle
Member
From: Australia
Registered: 2007-01-16
Posts: 13
Website

Re: Upload files through a form

I’ve created this PHP mailer form: http://designbyelle.com.au/2008/04/23/php-mailer-form-with-file-attachment/

Usually, when I integrate a form in a page, I use this code: http://pastebin.com/m661e40a2
Do I just insert my code within <txp:php>…</txp:php>?

Offline

Board footer

Powered by FluxBB