Welcome Guest, Not a member yet? Register   Sign In
Can't upload pdf file - using coding codeigniter
#1

[eluser]justmelat[/eluser]
Odd issue here. I have a client using one of our codeigneter applications who can't upload a .pdf file. The file is 2.3 megabytes in size, but the app allows for 8mg upload. They have other requests that include 4.3mg size files, but those are docx or image files. I tried upload a very small pdf and that does work.

I've read a few of the posts regarding the pdf issues, but since I can upload a small pdf file, I don't think it is the same, even though I have tried some of the remedies

The file name is some like this:
Roger's We Love That 2012 Promo 10.13.pdf

And help would be appreciated.
#2

[eluser]oppenheimer[/eluser]
I'm guessing since you didn't give an error message or the exact symptoms of what happens, but I think it is the apostrophe in the filename. Try renaming the file before uploading to confirm. Then you can look at your code for escaping it.
#3

[eluser]justmelat[/eluser]
Actually I thought of that very thing and renamed the file to "Rogers", just to see and same thing - no error message, it just does not upload.
#4

[eluser]oppenheimer[/eluser]
So it looks like it uploads, and works just like an upload of any other file but you can't actually see the file?

Perhaps you need to post your code to another forum.




Theme © iAndrew 2016 - Forum software by © MyBB