how to upload pdf file into mysql?
Moderator: General Moderators
how to upload pdf file into mysql?
helo guys i need your help since im new with php.. i need coding that can upload pdf file into mysql and at the same time i can view the list of uploaded file.. please help me... 
Re: how to upload pdf file into mysql?
You need to give us a little more then that. Are you looking for us to give you an idea where to start, just some basic ideas, or do you actually want us to write it for you?
Re: how to upload pdf file into mysql?
if possible i need full coding for that since im new in php.. i just started doing my project and i need to do upload function and im a bit blur.. is there any sources that can help me to solve my upload function...
thanks.
thanks.
-
scarface222
- Forum Contributor
- Posts: 354
- Joined: Thu Mar 26, 2009 8:16 pm
Re: how to upload pdf file into mysql?
haha, you need full coding? It's called google then man. If you are new to php, pick up a book and start reading that is the only way to learn. You have to learn how to code php to create upload functions. You can't just ask for every function you need on a forum by providing a vague description.
-
cpetercarter
- Forum Contributor
- Posts: 474
- Joined: Sat Jul 25, 2009 2:00 am
Re: how to upload pdf file into mysql?
Tip. Don't upload your pdf files into a database. Store them in a separate directory, and use the database to store information about which pdf file is which eg which pdf is associated with which posting.
Re: how to upload pdf file into mysql?
I have to agree with the idea of keeping them in a separate folder. Your database could get very quickly bogged down.
I also agree with the idea that you need to go do some tutorials, study php and then come back and ask when you have a specific question about something. Not just "Hey, I want to make X. Please do the work for me so I don't have to."
I also agree with the idea that you need to go do some tutorials, study php and then come back and ask when you have a specific question about something. Not just "Hey, I want to make X. Please do the work for me so I don't have to."
Re: how to upload pdf file into mysql?
I will gladly help you, but I'm not going to do what looks like homework for you. Check out these links, toss something together, and then when you need more help, ask a more concise question.
Check out these links, should help you on your way:
http://www.cs.tut.fi/~jkorpela/forms/file.html
http://php.net/manual/en/reserved.variables.files.php
http://us.php.net/manual/en/function.mo ... d-file.php
Check out these links, should help you on your way:
http://www.cs.tut.fi/~jkorpela/forms/file.html
http://php.net/manual/en/reserved.variables.files.php
http://us.php.net/manual/en/function.mo ... d-file.php