P3P

2002-12-02 Thread Davide Copelli
Hello, can someone tells me how to send a compact P3P policy with perl ? I have tried to use : print "policyref=\"http://www.thedomain.com/w3c/p3p.xml\";, P3P: CP=\"NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM\"\n\n"; Dave -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

R: Encode perl script

2002-10-07 Thread Davide Copelli
I need to stop modifing the code I made in perl for a web application. I am using Linux and I have a web space in hosting. This software read a database and print string on a browser Is coding using perlcc possible mantaining .pl extension ? Regards dave -- To unsubscribe, e-mail: [EMAIL

Encode perl script

2002-10-07 Thread Davide Copelli
Hello, can anybody know how to encode a perl script ? I have tried a sofware "World Wide Perl Coder" but I don't know if is safe ! Dave -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Placeholder error MySQL

2002-10-03 Thread Davide Copelli
I need to execute this query and change the name of the table $table1 = 'tab1'; $table2 = 'tab2'; $data1 = 'a'; $data2 = 'b'; my $sth = $dbh->prepare(qq|SELECT count(id) FROM ? WHERE data1=? |); $sth->execute( $table1,$field1 ); $total1=$sth->fetchrow_array(); $sth->execute( $table2,$field2 );

COUNT(*) performance

2002-10-02 Thread Davide Copelli
On a Mysql database of 6 records performs better : my $sth = $dbh->prepare(qq|SELECT count(id) FROM log WHERE (field1 = ? and field2= ? )|); $sth->execute( $a1, $a2 ); $total = $sth->fetchrow_array(); or my $sth = $dbh->prepare(qq|SELECT id FROM log WHERE (field1 = ? and field2= ? )|); $sth