Pdf File Upload In Joomla Download

Posted onby
Active5 years, 3 months ago
  1. Free File Upload Sites
  2. Free Upload Pdf Files

Re: uploading PDF file Post by edmagazine ยป Tue Mar 01, 2011 8:37 pm Also I have flip software for joomla loaded on my site and want to upload a flip pdf file and have been unsuccessful in loading.

I have a field in my form which is of type file. When the user clicks on the save icon, I want to naturally upload the file to the server and save the filename in the database. I tried testing this out by echoing the filename but it doesn't seem to be working. Also, how do I add the filename to the database? Is it done in the model? Thanks!

controllers/customcom.php

models/forms/customcom.xml

Moo33
Moo33Pdf File Upload In Joomla DownloadMoo33
5613 gold badges10 silver badges23 bronze badges

2 Answers

Free File Upload Sites

Just figured it out.

The correct way is

That should do the trick.The $file array then holds the following keys:

  • error
  • name
  • size
  • tmp_name
  • type

I've deleted my original answer as it was misleading.

Free Upload Pdf Files

BakualBakual
2,5961 gold badge9 silver badges16 bronze badges

Get inspired by Media manager:

Just note that this component is quite old (refactoring is in preparations)

piotr_czpiotr_cz

Not the answer you're looking for? Browse other questions tagged filefile-uploadjoomlajoomla2.5 or ask your own question.