is a valid string.
For example a common way to "break" a
object is to use its
method, modify the string, and forget to call
I don't understand what might be wrong. Try to comment a few lines to know exactly which one raises the problem. For example:
SqlStr4 = "INSERT INTO log SET grab_date= '";
SqlStr4 += "',ip_address='";
SqlStr4 += "',image='";
SqlStr4 += StrByte;
Once you found which lines (it might be several ones) causes the problem, do the same thing with that string. For example, if you found out that only
causes the problem, then look carefully how
is built. Try to build it a different way...