Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^5: Object Identifier? (red flags, more subs)

by LanX (Saint)
on Oct 22, 2018 at 18:57 UTC ( [id://1224513]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Object Identifier? (red flags, more subs)
in thread Object Identifier?

Please check variable $clast60 and your sql table named campaign.

$sql = "select status,curdate(),max_emails,last60_flag,aol_flag,open_ +flag,yahoo_flag,hour(schedule_time),minute(schedule_time),mid,redirec +t_domain,campaign_nam +e from campaign where campaign_id=$campaign_id +"; $sth = $dbh->prepare($sql); $sth->execute(); ($status,$schedule_date,$max_emails,$clast60,$aolflag,$openflag,$yahoo +_flag,$sho +ur,$smin,$old_mid,$old_dname,$cname) = $sth->fetchrow_arr +ay();

I agree with the anonymous monk concerning red flags, this code has far too many flaws to justify anything else than a complete rewrite.

Better don't tell us your website or it'll be hacked within 10 minutes.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

Replies are listed 'Best First'.
Re^6: Object Identifier? (red flags, more subs)
by damfer21 (Novice) on Oct 22, 2018 at 19:10 UTC
    Thank you for the honesty. This was written a decade or so ago, and I had nothing to do with its creation. Just trying to modify it. Where do I find a list of variables?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1224513]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2024-03-29 09:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found