passing variables into mysql -> part2

2003-03-31 Thread Jasmine
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thanks for the reply but Hmm.. have tried that but still wont work. On Tuesday 01 April 2003 02:13, you wrote: > Hi - > > On 1 Apr 2003 at 1:20, Jasmine wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > >

passing variables into mysql

2003-03-31 Thread Jasmine
($sql01) = join "select description from table where host=", "$abc;"; print "$sql01 \n"; my $query01 = $dbh -> prepare($sql01) || die "Prepare failed: $DBI:: errstr \n"; $query01 -> execute; Jasmine Chua

print function? -> part 3

2003-03-29 Thread Jasmine
side. On Sunday 30 March 2003 06:37, Rob Dixon wrote: > Jasmine wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > i tested out to print $dstip alone.. and it works. $dstip does has a > > value. > > Jasmine. > > I think you may si

print function? -> part 2

2003-03-29 Thread Jasmine
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 i tested out to print $dstip alone.. and it works. $dstip does has a value. On Sunday 30 March 2003 05:23, you wrote: > Jasmine wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > hi > > > >

print function?

2003-03-29 Thread Jasmine
my ($A2, $B2, $C2, $D2) = (split /\./, $dstip); if ($A1 != 111 || $B1 != 222 || $C1 != 333) { print "$srcip $dstport\n"; } } - -- Jasmine Chua Security Engineer Sec

perl help!!

2003-03-29 Thread Jasmine
can figure out and explain the regex for it, it will be extremely beneficial. thanks! - -- Jasmine Chua -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+hctqNgvTa7Hj2AURAoVMAKCDe0Xdv6lM+6gPTtoeBwWTScMs6gCgoIqF cWBFKYmNl9b9P0abUI+U5nE= =c/no -END PGP SIGNATURE

db query help! -> part 2

2003-03-28 Thread Jasmine
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi thanks .. for telling me tht DBI dont accept $! erm i still have problems though. Theres actually data in the this table made up of 2 columns. But, apparently my query keep returning "0" and "new" which I cant understand why. #!/usr/bin/perl -w

db query help!

2003-03-28 Thread Jasmine
turn the results my $results = $query -> fetchrow_array; print "$results \n"; print "RESULTS OF QUERY: $results \n"; - -- Jasmine Chua -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+hLYhNgvTa7Hj2AURAvL9AJ90fr2RisoxpXw8RidnU2zyc146PACgi/fD FNZxEIfv