Upload a file and copy the link to db

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
kalp1200
Forum Newbie
Posts: 19
Joined: Tue Aug 26, 2008 8:57 pm

Upload a file and copy the link to db

Post by kalp1200 »

Hie

I have system that is able to create a pdf report and I want this pdf report to be saved into the server's location, but in a different place than the root. The system resides on the server , and the user who generates the pdf report from the client side should save it into the server, but perhaps in a different place and I want the link to the file to appear as an attribute in form. Thus, when we do a search, the attribute appears and we can download the file, this would not overload the database. Could anyone suggest a way to do it..
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: Upload a file and copy the link to db

Post by Benjamin »

:arrow: Moved to PHP - Code

Sure, what do you have in mind? Please post the code you have tried.
Post Reply