Re: [PHP] Trapping for PDF Type and file size in a UPLOAD form...

2010-07-30 Thread Pete Ford
On 29/07/10 19:10, tedd wrote: At 9:50 AM -0700 7/29/10, Don Wieland wrote: I am trying to create an UPLOAD form and need to figure a way to only allow PDF files to be selected. The short answer is you can't -- not from php. You can create a standard form and upload it from there, but you

Re: [PHP] Trapping for PDF Type and file size in a UPLOAD form...

2010-07-30 Thread Hans Åhlin
** Hans Åhlin Tel: +46761488019 icq: 275232967 http://www.kronan-net.com/ irc://irc.freenode.net:6667 - TheCoin ** 2010/7/30 Pete Ford p...@justcroft.com On 29/07/10 19:10, tedd wrote: At

Re: [PHP] Trapping for PDF Type and file size in a UPLOAD form...

2010-07-29 Thread Ashley Sheridan
On Thu, 2010-07-29 at 09:50 -0700, Don Wieland wrote: I am trying to create an UPLOAD form and need to figure a way to only allow PDF files to be selected. Something like: html body form enctype=multipart/form-data action=upload.php method=post input type=hidden

Re: [PHP] Trapping for PDF Type and file size in a UPLOAD form...

2010-07-29 Thread Joshua Kehn
On Jul 29, 2010, at 12:50 PM, Don Wieland wrote: I am trying to create an UPLOAD form and need to figure a way to only allow PDF files to be selected. Something like: html body form enctype=multipart/form-data action=upload.php method=post input type=hidden

Re: [PHP] Trapping for PDF Type and file size in a UPLOAD form...

2010-07-29 Thread tedd
At 9:50 AM -0700 7/29/10, Don Wieland wrote: I am trying to create an UPLOAD form and need to figure a way to only allow PDF files to be selected. The short answer is you can't -- not from php. You can create a standard form and upload it from there, but you don't have control over file