Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month at the Massachusetts Institute of Technology, in Building E51.

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] mysql problem



On Mon, Aug 22, 2016 at 4:31 PM, dan moylan <jdm at moylan.us> wrote:

> > Can't call method "prepare" on an undefined value at
> > /home/moylan/ulmmoy/prl/sub/USR/USR.pm line 777.
>

?The problem occurs several possibly many lines earlier.
Wherever $dh0 is initialized, it should be checked for
   ! defined $dh0?
?and if so, the error text from the failed statement should be logged and
the world stopped.

I'm glad to see ?you're using prepared statements ... because no one wants
to play with Bobby Tables

bobby-tables.com: A guide to preventing SQL injection
> Who is Bobby Tables? From the webcomic xkcd.
> School: Hi, this is your son's school. We're having some computer trouble.
> Mom: Oh, dear -- Did he break something?
>



-- 
Bill Ricker
bill.n1vux at gmail.com
https://www.linkedin.com/in/n1vux



BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org