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 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1

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 Hi Is there any way to pass

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

print function?

2003-03-29 Thread Jasmine
, $D2) = (split /\./, $dstip); if ($A1 != 111 || $B1 != 222 || $C1 != 333) { print $srcip $dstport\n; } } - -- Jasmine Chua Security Engineer SecureCiRT Pte Ltd Blk 750C Chai Chee Road #04-01

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 I dont understand exactly how does the print function

print function? - part 3

2003-03-29 Thread Jasmine
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 simply be printing out the wrong variable. Your original code has: if ($A1 != 111

db query help!

2003-03-28 Thread Jasmine
$results \n; print RESULTS OF QUERY: $results \n; - -- Jasmine Chua -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+hLYhNgvTa7Hj2AURAvL9AJ90fr2RisoxpXw8RidnU2zyc146PACgi/fD FNZxEIfvAlNTLaSniQBgsYM= =WrTJ -END PGP SIGNATURE- -- To unsubscribe, e-mail: [EMAIL PROTECTED

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