Displaying 1 result from an estimated 1 matches for "3c3f786d6c2076657273696f".
2006 Mar 06
1
Uploaded File to Database
..._-]/, '''')
end
end
The data column in the database is blob
the file seems to be uploaded correctly, but something goes wrong.
I get this error message:
ActiveRecord::StatementInvalid in Admin#create
Mysql::Error: You have an error in your SQL syntax near
''''3c3f786d6c2076657273696f6e3d22312e302220656e636f64696e673d225554462d38222073746''
at line 1:
I assume the long number is the binary data of the file.
The part of question in the query string is this:
... ''filename.ext'', x''3c3f786d6c2076657273696f ...
When copy the whole query string f...