Announcement

Collapse
No announcement yet.

Uploading attachments

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Uploading attachments

    Hi, I have a form for uploading attachments, but I will save them directly to the database, I want to record the path where it will be stored in the database, with the aim that the database does not grow in size. Store them in a specified folder.

    Thank you

  • #2
    An uploaded file first is uploaded in the tmp directory. After that it is written to the database in a specific format, so that field basiclly should be a blob. So if you store in the database then the file is simply saved into the blob field. The uploaded file in the tmp dir gets deleted a bit later.

    Comment

    Working...
    X