ASP Upload Image Simple Method for Uploading ADO Stream

zhaozj2021-02-16  67

There are two functions to write binary data into the buffer of the Stream object, one is the one of the LoadFromFile is Write, the function accepts the parameter type, and the specific syntax will look at other information. Use the WRITE function. I don't know why I can't accept the MIDB function. Handling binary data, there are some ways to use manual way to extract image file data without the MIDB function, trouble, so I chose to apply the loadFromFile function, this function requires the absolute path and picture name to do parameters, how to get This parameter.

Let's give my solution