Jan 24, 2001, 6:17 AM
Post #1 of 4
Help in DBI...?
I'm working on an e-mail solution using
PHP and Perl. I used PERL as a backend daemon
which checks the POP3 for new e-mail. After checking and retrieving e-mail (if there is one), the mail source should be inserted into a MySQL database which will be the source of my WEB interface (PHP) when a certain user wants to read that mail.
Unfortunately, I'm experiencing a problem regarding DBI because it doesn't display the real message that mysql issues wherever there is an error in my MYSQL. What I'm receiving is this:
"MySQL has gone away"
I really don't know that this means... is there an error with my sql? I think not? or maybemysql does not accept large e-mail data in a LONGTEXT field.
DOES ANYBODY KNOW OF A PERL FUNCTION THAT
replaces all occurrences of " into \" and \ into \\
I need to have this kind of function to make sure that my sql statement will be correct.
Anyone, please help me.???
Please E-mail me firstname.lastname@example.org