This topic is locked
[SOLVED]

 uploading files to database

9/15/2010 6:18:41 AM
PHPRunner General questions
J
jasonfrew author

Hi All
Im using a SQL server 2005 database.
i have a field set to varbinary MAX. This should allow me to upload a file to the database of up to 2Gb.
The documents i will be uploading are all .pdf
I need the files to be stored in the database as they are accessed by another application.
When uploading from the document_add page not all documents are uploaded.
I receive a message saying that the record has been added but the file has not been uploaded.
I have files that are 4mb that have uploaded without issue but some files that just wont upload to the db
Any help would be appreciated.
Im using Phprunner5.2 build 5482
Regards
Jason

Sergey Kornilov admin 9/15/2010

There might an issue with file upload size in IIS.
Check this article for more info:

http://www.webcheatsheet.com/asp/asp_troubleshooting.php#problems

J
jasonfrew author 9/16/2010

Hi thanks for the response
im not using iis
I am using phprunner 5.2

wamp server 2.0

apache 2.2.11

php 5.3.0

Sql server 2005
Should have put that in my original post. apologies
Regards
Jason

J
jasonfrew author 9/16/2010

thanks Admin
you sent me on the correct path of investigation
the issue was my php.ini file was only set to allow files of 2mb
; Maximum allowed size for uploaded files.

; http://php.net/upload-max-filesize

upload_max_filesize = 2M
Problem solved
Regards
Jason