HTML::Tree with https

2002-03-04 Thread Daniel Falkenberg
Hey all, Is it possible to do the following... I want to get the URL at $inputsite with the following... $inputSite = "mydomain.com/cgi-bin/new-userdatalookup?username=$username&access=Dialu p&month=01&year=2001&loggedin=1"; $tree = HTML::TreeBuilder->new; $address = "https://"; . $inputSite; $

Re: How can i put the html code in my cgi?!?

2002-03-04 Thread W P
all about CGI.pm and how to use it: http://perldoc.com/perl5.6.1/lib/CGI.html >> But i don't know how to do it with the new module CGI.pm , anyone knows that?!? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

site logging

2002-03-04 Thread Nate Brunson
so i wrote a script that had a read from a text file a list of all the sections on my site, and then i made it so that every time some one visited a section it would increment the count, then i thought about it, say there are four people on my site, and all of them are clicking on different sec

Re: How can i put the html code in my cgi?!?

2002-03-04 Thread Teresa Raymond
Hi I'm from Chicago, IL, USA. I believe that the space in your print line may be causing you problems: Try: print <<"htmlcode"; hello htmlcode >print <<"html code"; ># HTML CODE >html code > > >But i don't know how to do it with the new module CGI.pm , anyone >knows that?!? > >thanx > >

problems using open to get data from mysql

2002-03-04 Thread Maleit Nen
First excuse my english please, i am tring to get data from mysql with open(ident,"|mysql... and put the result in a var $salida This is the script: $comandosql="use mataro;select password from mataronins where identificador=\"$identificador\";"; open (TUNEL,"|mysql -h localhost -u root");

RE: sendmail

2002-03-04 Thread Scott Lutz
If you want the format to be text/plain, then it is not possible. Why not just link to a redirect script? Scott Lutz Pacific Online Support Phone: 604.638.6010 Fax: 604.638.6020 Toll Free: 1.877.503.9870 http://www.paconline.net -Original Message- From: Rahul Garg [mailto:[EMAIL PROTE

How can i put the html code in my cgi?!?

2002-03-04 Thread GsuLinuX
Hi from İstanbul, I'm used to put the html code in cgi as below: require "subparseform.lib"; &Parse_Form; print <<"html code"; # HTML CODE html code But i don't know how to do it with the new module CGI.pm , anyone knows that?!? thanx Derya Sezen

extracting params to a hash

2002-03-04 Thread Shaun Fryer
I'm trying to convert an old script that used cgi-lib.pl over to using CGI.pm. In order to save time I'd like to simply do something like what follows (though that doesn't actually work it seems). %in = param; Any ideas? === Shaun Fryer === London Webmasters h

Re: Asynchronous Perl

2002-03-04 Thread Brett W. McCoy
On Mon, 4 Mar 2002, Jason Frisvold wrote: > I'm looking for a way to have perl output in an asynchronous > manner. What I mean is, if I write a perl script to generate a large > amount of data and output it to the screen, it seems to pause until some > unknown buffer is full and then spit

Asynchronous Perl

2002-03-04 Thread Jason Frisvold
Greetings all, I'm looking for a way to have perl output in an asynchronous manner. What I mean is, if I write a perl script to generate a large amount of data and output it to the screen, it seems to pause until some unknown buffer is full and then spit out the output.. pause again, sh

passing cookie values with CGI.pm

2002-03-04 Thread Marcus Willemsen
Hi all, can anyone help with the following code that sets a cookie? #!/usr/bin/perl -wT use strict; use CGI qw(:standard); my $cookie1 = cookie(-name => 'username2', -value => 'Barney Rubble', -expires => '+1y' ); print header( -c

Regexp found solution - Is there BETTER way?

2002-03-04 Thread José I. Donnell
Thanks: Figured it out: Put in the to following lines. If someone has a better solution or sees a hole let me know. $lookie_here =~ s/(?<=[^0-9]\"/ /g; #Gets all in string if after not number $lookie_here =~ s/^\"/ /;#Gets the first dbl quote if it is on string José "We must be the chan

File upload

2002-03-04 Thread Polikarpov Cyrill
Hi everyone!   I tried to make file-upload using this block. It works but uploaded file can't be open after ulploading ... Any ideas?   chmod(0777, $datadir);  my $new_file = $datadir.$file_name;  my ($buffer, $bytes_read, $size);  open(OUTFILE, ">$new_file") or die "Cannot upload to $datadi

sendmail

2002-03-04 Thread Rahul Garg
Hello, The problem description is s follows : Well i have made a program that sends mails thru sendmail. earlier the content type was text/html now i have made the content type text/plain acoording to the reqments. but the problem i am getting is in hyperlinks. now i want the hyperlink to be show