file upload Can we insert the documents directly in to the database using laravel without storing the documents in server if possible can you provide any reference.
Documents?
Expand please.
If you are referring to pdf or docx just store the reference. And in the view have a link to the document.
@mrabbani I think OP doesn't want them on server. Probably just a link to them. But I could be wrong.
@tykus_ikus
we need to store the documents like pdf,text directly in to the database.
@jlrdw he mentioned " without storing the documents in server ".
@madala even though it's possible, in the long run you are better off just having a link to them like most people do images.
@lrdw
i don't want to store the link, i want to store only the exact pdf file.
How do you handle images?
@jlrdw
we store images in laravel public directory and we just save name of the file in database.
Please sign in or create an account to participate in this conversation.