CodeIgniter Forums
how can i upload .doc file and .pdf file ? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: how can i upload .doc file and .pdf file ? (/showthread.php?tid=20350)

Pages: 1 2


how can i upload .doc file and .pdf file ? - El Forum - 07-07-2009

[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


how can i upload .doc file and .pdf file ? - El Forum - 07-07-2009

[eluser]Thorpe Obazee[/eluser]
1. You don't know how to write code?


how can i upload .doc file and .pdf file ? - El Forum - 07-07-2009

[eluser]Dam1an[/eluser]
Would I be correct in assuming you havn't read the user guide on the uploading library?


how can i upload .doc file and .pdf file ? - El Forum - 07-07-2009

[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?!


how can i upload .doc file and .pdf file ? - El Forum - 07-07-2009

[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 Wink


how can i upload .doc file and .pdf file ? - El Forum - 07-07-2009

[eluser]aamiraziz[/eluser]
i have read the user guide but there was only written how to upload a picture ?

http://ellislab.com/codeigniter/user-guide/libraries/file_uploading.html

it is not mentioned that how you can upload .doc and .pdf file Sad

or may be i did not understand the user guide Sad

i need some sample code for uploading .doc and .pdf file


how can i upload .doc file and .pdf file ? - El Forum - 07-07-2009

[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...


how can i upload .doc file and .pdf file ? - El Forum - 07-07-2009

[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


how can i upload .doc file and .pdf file ? - El Forum - 08-27-2009

[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.


how can i upload .doc file and .pdf file ? - El Forum - 08-27-2009

[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.