how can i upload .doc file and .pdf file ? |
[eluser]aamiraziz[/eluser]
i am working on job portal. i need to upload a cv of user, that can be in .doc or .pdf format. but i don' t know: 1) how to write a code? 2) how it will store? either in database or some file ? Thanks
[eluser]Dam1an[/eluser]
Would I be correct in assuming you havn't read the user guide on the uploading library?
[eluser]Thorpe Obazee[/eluser]
[quote author="Dam1an" date="1246975539"]Would I be correct in assuming you havn't read the user guide on the uploading library?[/quote] What!?!? There is a user_guide?!
[eluser]Dam1an[/eluser]
[quote author="bargainph" date="1246975804"] What!?!? There is a user_guide?![/quote] Shhh! Not so loud, don't want everyone to know about the secret ![]()
[eluser]aamiraziz[/eluser]
i have read the user guide but there was only written how to upload a picture ? http://ellislab.com/codeigniter/user-gui...ading.html it is not mentioned that how you can upload .doc and .pdf file ![]() or may be i did not understand the user guide ![]() i need some sample code for uploading .doc and .pdf file
[eluser]Thorpe Obazee[/eluser]
It didn't show how to upload a .doc file or a .pdf file? Maybe they should have named it Image Uploading Class then... PS. It's the same thing... just change extensions.. EDIT: nvm... Dam1am beat me to it below...
[eluser]Dam1an[/eluser]
It's essentially the same concept, just change the allowed file types (you may need to edit the mime types) to include doc and pdf
[eluser]lancemonotone[/eluser]
[quote author="bargainph" date="1246978470"]It didn't show how to upload a .doc file or a .pdf file? Maybe they should have named it Image Uploading Class then... PS. It's the same thing... just change extensions.. EDIT: nvm... Dam1am beat me to it below...[/quote] You're an asshole, little man. The guy was just trying to get some help. If you don't have anything helpful to say, please stay silent and keep the forums civil.
[eluser]Nicholas Bello[/eluser]
lancemonotone.... calling someone as asshole does not promote civility in the forums. So you sir are not only an asshole yourself but a hypocrite as well. Now go away fag. |
Welcome Guest, Not a member yet? Register Sign In |