Welcome Guest, Not a member yet? Register   Sign In
how can i upload .doc file and .pdf file ?
#1

[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
#2

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

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

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

[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
#6

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

or may be i did not understand the user guide Sad

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

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

[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
#9

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

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




Theme © iAndrew 2016 - Forum software by © MyBB