Re: perl script as binary

2003-08-19 Thread Sven Bentlage
logs out and exits. Any ideas on how to accomplish this task otherwise would be very much appreciated. Best regards, Sven On Thursday, August 14, 2003, at 02:09 PM, Jonathan E. Hogue wrote: I've had some luck with perl2exe in the past. If I remember correctly, you also have to deli

perl script as binary

2003-08-14 Thread Sven Bentlage
Hi everyone! I`m looking for a way to "compile" a perl script into an executable binary for a WIN2000 system (no(!) perl installed). Is there a way to get this working? Thanks for your help in advance Sven -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

Re: slash question

2003-06-25 Thread Sven Bentlage
$dir="ITC\\home\\techs"; ...should work On Wednesday, June 25, 2003, at 04:55 PM, Susan Aurand wrote: My mistake. I actually want backslashes. $dir="\\ITC\home\techs"; How do I do that. Thanks - Susan Sven Bentlage wrote: did you try $dir="\/\/ITC/ho

Re: connectivity b/w a form in html and database using perl

2003-06-02 Thread Sven Bentlage
Hi Annie! This code ain`t pretty, but it works (BTW, has been made possible only by the help of this mailing list, thanks again to everyone..) Cheers, Sven if ($action eq ''){ apply(); } elsif ($action eq "apply"){ my $count = find(); if ($count == 0) { error

cronjob via perl

2002-12-12 Thread Sven Bentlage
than continuously running a perl script? Thanks for your help in advance. Sven #!/bin/perl -w BEGIN { $| = 1; push(@INC,'/htdocs/www/cgi-bin/lib'); use DBI; } #Version 0.1 my $date = localtime(time); my $dsn = ''; # Data Source Name my $db_user = &

Re: Handling & =

2002-12-09 Thread Sven Bentlage
Hi John why don`t you use a small regex to replace the & ? Something like : if ($variable =~ m/&/) {$variable =~ s/&/-/g} should replace the ampersand with a "-". (I am not quite sure if you have to write & or \& ) Cheers, Sven (P.S.: I am definitely sure

MIME::Lite /SMTP-Proxy Problems

2002-12-09 Thread Sven Bentlage
: - why this happens? - how I can prevent that? Thanks for your help in advance. Cheers, Sven Error message: [Attachment denied by WatchGuard SMTP proxy (type "text", filename "(none)")] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: DBI / loop

2002-11-14 Thread Sven Bentlage
I just replaced my actual server with "SMTP_SERVER",. On Thursday, Nov 14, 2002, at 21:00 Europe/Berlin, Bob Showalter wrote: -Original Message----- From: Sven Bentlage [mailto:root@;svenbentlage.de] Sent: Thursday, November 14, 2002 2:43 PM To: [EMAIL PROTECTED] Subject:

DBI / loop

2002-11-14 Thread Sven Bentlage
.) If anyone could give me a tip what to change in ma script, I would be really grateful. Cheers, Sven @Wiggins: Thank you very much for your fast help! As soon as I have a working DBI Version i`ll post it. ### foreach $id(@id) { $k++; my $dbh2 = DBI->conn

Read Receipt (.ReadReceiptRequested)

2002-11-12 Thread Sven Bentlage
/pipermail/remedy/1999-November/000231.html]. Since most recipients don`t use Outlook, that`s not a possibility for me. If anyone could give me a hint or tell me any kind of manual/tutorial where I might find a solution I`d be really grateful. Best regards, Sven Bentlage -- To unsubscribe, e

Re: Calculate PI

2002-11-03 Thread Sven Bentlage
Dear David, Lon and everybody else who helped me, thanks for your help. I really appreciate it. Best regards, Sven P.S.: As soon as I have a piece of code which works fast, I will send you all a final answer incl. the code On Saturday, Nov 2, 2002, at 20:33 Europe/Berlin, David Kirol wrote

Calculate PI

2002-11-02 Thread Sven Bentlage
culating the formula. For any hints on how to to it or where to find any documentation about that, I`d be really grateful. Thanks for your support in advance. Cheers, Sven -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

HASH?

2002-10-06 Thread Sven Bentlage
and have lots of things to learn..) Any help or hints would be greatly appreciated. Best regards, Sven my $dbh = DBI->connect( $dsn, $db_user, $db_pass ) || die "danger $DBI::errstr\n"; my $sth = $dbh->prepare( "select * from memberscopy " ); $sth->execute();

Hotmail.com vs. MIME:Lite

2002-09-18 Thread Sven Bentlage
tmail, while sending html to all others) Does anyone have an idea how to solve that problem? Thanks for your help, Sven On Montag, September 16, 2002, at 06:48 Uhr, Scot Robnett wrote: > Yes, you can send text attachments. It's all documented at the link I > included in

Re: Net::SMTP / HTML

2002-09-11 Thread Sven Bentlage
Ok, managed to do it myself, using MIME::Lite. :) On Donnerstag, September 12, 2002, at 04:18 Uhr, Sven Bentlage wrote: > Hi everyone! > I am using the Net::SMTP module to send some confirmation emails. > Until now I sent just plain text emails, but now I'd like to "prod

Net::SMTP / HTML

2002-09-11 Thread Sven Bentlage
hint, where to look or how to do it? (Actually I'd prefer the first.. :) ) Thanks for your help in advance. Sven part of the code: $smtp->mail($sender); $smtp->to($pemail); $smtp->data(); $smtp->datasend("TO: $pemail\n\n");

calculate dates

2002-05-28 Thread Sven Bentlage
, $ma+1, $ya-100); Now I would like to get all the dates between $date and $next_date to print out information for each day. Does anyone know a simpler way than calculating each day individually? Thanks for your tips in advance. Sven -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Getting content of a configuration file

2002-05-26 Thread Sven
Hi Teddy, you may try the following: Write into your conf-file: %assembly = ( title=> 'Assembly language page', description => 'Download free manuals and tutorials for assembly language', . ); %basic = ( title=> 'Basic and Visual Basic page', description

Re: CGI/Perl-usertracking

2002-05-24 Thread Sven
e nice not to lose the user who started the query. Any idea how I could do this is welcome! > By "standard-Perl only", do you mean only using > modules that come with Perl? Yes! Or better: those which are usually installed. > > --- Sven <[EMAIL PROTECTED]> wrote: > &

Re: update query

2002-05-23 Thread Sven Bentlage
thx for the tip, but I don't have access to the error log (my ISP doesn't allow it) just found the problem... there was a typo some 75 lines above... sorry for bothering you all On Thursday, May 23, 2002, at 04:58 PM, Pablo A. Castrillo wrote: > Sven: > Have you checked your

Re: DBI/update

2002-05-23 Thread Sven Bentlage
sorry, didn't mention it. the assignment for the variables has been done above, in the main script. On Thursday, May 23, 2002, at 02:13 PM, Felix Geerinckx wrote: > on Thu, 23 May 2002 11:08:22 GMT, [EMAIL PROTECTED] (Sven > Bentlage) wrote: > >> Hi everyone! >> I'

Re: update query

2002-05-23 Thread Sven Bentlage
am ) { print" $name ---"; foreach $value ( $q->param( $name ) ) { print" $value"; }

DBI/update

2002-05-23 Thread Sven Bentlage
Hi everyone! I'm getting desperate. Can't find the error in the snibblet of code below...to me everything seems to be ok (except bad style etc), but the update of the mysql database does not work altought the sql statement is should be definitely ok: sub do_data { my $dbc = DBI->connect( $ds

CGI/Perl-usertracking

2002-05-23 Thread Sven
recommended way if no restriction? Thanks a lot! Sven -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

CGI/Perl-usertracking

2002-05-23 Thread Sven
restriction? Thanks a lot! Sven -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: use variables in regex||solved

2002-05-22 Thread Sven Bentlage
if (/$date/) { print "date_today: $date_today __ $date\n" ; } } Regards, Sven -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: use variables in regex||solved

2002-05-22 Thread Sven Bentlage
ok, found out myself why it didn't work. I am not sure if it's an elegant chunk of code, but it works. Since the data is in the $_ variable, fooling around with $date_today in the regex coulnd't work out. (Omitted =~ since I use $_.) Sven my $date = `/bin/date +%d.%m.%

use variables in regex

2002-05-22 Thread Sven Bentlage
esn't work, because it looks for the string "$date" and not for the value of $date... Thanks for your help. Regards, Sven sub regex { #textfile has the following format: # DD-MM-YY:name:address:telephone #$

convert date value into text value..

2002-05-22 Thread Sven Bentlage
Hi ! How can I convert a date value (I get via /bin/date) into a text value? Thanks for your help. Sven -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: CGI and frames

2002-05-14 Thread Sven Bentlage
th/to/file" with the corresponding sub (i.e. sub menu) :( Thanks for your help, Sven On Wednesday, May 15, 2002, at 12:31 AM, John Brooking wrote: > Okay, I understand now. I guess you *could* do it with > "one script", although as someone else noted, it is > basically

Re: CGI and frames

2002-05-14 Thread Sven Bentlage
Sorry, I chose the wrong words.. my script works similar to the way you described below. Depending on which fields are filled out and which button is pressed, a different subroutine is called, creating the page. On Wednesday, May 15, 2002, at 12:01 AM, David Gray wrote: >> I'm using one CGI s

Re: pass values to another scipt

2002-05-14 Thread Sven Bentlage
eally appreciate it.... Sven On Tuesday, May 14, 2002, at 04:36 PM, David vd Geer Inhuur tbv IPlib wrote: > > Hi All, > > I am currently having the same problems as Sven. I tried to get some > info on it as > wel, but it seems a difficult one. > I have made a simple exam

pass values to another scipt

2002-05-13 Thread Sven Bentlage
straight to the update function without having to enter name, lastname and password (he already entered one time) again. How can I pass those already collected values on to another script using a link (a href)? Or how can i do that at all? Thanks for your help, Sven -- To unsubscribe, e-mail

Re: CGI and frames

2002-05-13 Thread Sven Bentlage
this. Hope this explains it a little bit better.. Sven On Tuesday, May 14, 2002, at 06:34 AM, John Brooking wrote: > If you mean can a CGI script output both the frameset > and all of its pages simultaneously, I don't see how. > What you can do is have each frame call a CGI scrip

CGI and frames

2002-05-13 Thread Sven Bentlage
Hi ! Right now I'm using a cgi-script to create a few html pages. Somewhere I read the I also can create framesets plus the dependent html pages via a CGI script. Where can I find a manual on how to do that? Or can anybody tell me? Thanks for your help. Sven -- To unsubscribe, e

Fwd: update mixes fields up??

2002-05-09 Thread Sven Bentlage
re not correctly updated. > > Help and hints will be greatly appreciated... > > Regards, > > Sven > > > > > sub do_data { > > > my $curl = param('curl'); > my $name = param('firstname'); > my $surname = param(

Re: return values to sub

2002-05-05 Thread Sven Bentlage
ass eq $pasword2 sub pageone is called...] I hope this explains it a little bit better... Regards, Sven On Monday, May 6, 2002, at 12:04 AM, David Kirol wrote: > Sven, > I'm not sure what you are trying to do with the script in your post. I > played with it (after recon

return values to sub

2002-05-04 Thread Sven Bentlage
Hi everyone! I started learning perl about one month ago. After havin fun and even getting some scripts running, the fun stopped 3 days ago. :( Having found a problem I am not able to figure out myself, I'm not quite sure any more what to do. In my script (see below for excerpt) the user enter

return values from subs

2002-05-04 Thread Sven Bentlage
e the errorroutine. ... else {&errorroutine} This problem is killing me. I've spend the last 2 days trying to figure out what to do I'd be really happy for any help regards, Sven -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]