Hi Sander,
I'm not familiar with Exchange but if it speaks SMTP, you should be able
to use a module such as Mail::Sendmail or the newer Email::Send module
to talk to it. What formmail script are you using to process your forms?
I'd recommend the nms scripts[1].
HTH,
William
[1]
that there used to be a commercial app
that supported ASP on Linux. Lots of options.
William
--
Knowmad Services Inc.
http://www.knowmad.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
gy, not a language.
ActiveState used to make PerlScript which can be used in Win* with
ActiveScripting or ASP solutions. I don't use it so don't know the
current status.
William
[1] http://www.apache-asp.org/
--
Knowmad Services Inc.
http://www.knowmad.com
--
To unsubscribe, e-mail: [E
redirect a
user elsewhere.
William
--
Knowmad Services Inc.
http://www.knowmad.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
rst page.
Another option is to use HTML::FillInForm. This route makes setting
checkboxes, radio buttons and other annoying form inputs dead simple.
HTH,
William
--
Knowmad Services Inc.
http://www.knowmad.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
e is a PPM for DBI and DBD::ODBC. Fire up ppm3 and
see for yourself. I have an old code sample (ergo, not the best form but
it works) which I will send to you offlist.
Good luck,
William
--
Knowmad Services Inc.
http://www.knowmad.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addition
out the Authen::* modules on CPAN as well as CGI::Auth and
CGI::Session.
Good luck,
William
--
Knowmad Services Inc.
http://www.knowmad.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
On Tue, Jul 27, 2004 at 12:37:11PM -0400, Sean Davis wrote:
> if ($q->param('upload_file')) {
> my $fh=$q->upload('upload_file');
^^
Perhaps that should be param, not upload. I'm not familiar with an
upload method in the CGI module.
Wi
list as lots of folks there use HTML::Template (I'm not one of them so
don't know why a div would give it problems).
Since you're using CGI.pm to generate all of your html, you might want
to check the docs for it.
HTH,
William
--
Knowmad Services Inc.
http://www.knowmad.com
--
r Apache::Session (which does not
require Apache or mod_perl) for more details.
William
--
Knowmad Services Inc.
http://www.knowmad.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
value);
}
elsif ($name eq 'exclude') {
@exclude = split(/,/,$value);
}
else {
if ($FORM{$name} && ($value)) {
$FORM{$name} = "$FORM{$name}, $value";
}
elsif ($value) {
$FORM{$name} = $value;
7;t think so if it's in the same directory as the cgi script. These
questions all depend on how your ISP has configured the webserver.
HTH,
William
--
Knowmad Services Inc.
http://www.knowmad.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTEC
On Wed, May 05, 2004 at 05:44:42PM -0700, [EMAIL PROTECTED] wrote:
> I have a html file and i want to do a grep for the accourance of "
$cookie2 = $query->cookie(-name=>'answers',
-value=>\%answers);
print $query->header(-cookie=>[$cookie1,$cookie2]);
HTH,
William
--
Knowmad Services Inc.
http://www.knowmad.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional command
ir in descending order w/
time of creation as well. I could read each handle, do a stat to sort them,
then process. Thoughts?
Thanks in advance!
-Original Message-
From: Wiggins d Anconia [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 04, 2004 1:40 PM
To: Li, William; [EMAIL PROT
Hi,
Does anybody know if there is an option in readdir to return the file list
in the order of their creation time? Or know of a way to do that? Been
reading the perldoc w/o much luck. Thanks!
--
This message is intend
=> 1 to
tell the server not to generate headers because you are doing it
yourself. I've never had a need to do this myself.
Good luck,
William
--
Knowmad Services Inc.
http://www.knowmad.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
rs.
Try using CGI.pm to alter the headers
<http://search.cpan.org/author/LDS/CGI.pm-2.89/CGI.pm#CREATING_A_STANDARD_HTTP_HEADER_>
You can also insert a meta tag into the document which most web browsers
will honor:
See <http://www.submitcorner.com/Guide/Meta/expires.shtml> for more i
n will
> be killed only after x seconds). I want to write a Perl script that test if
> a window "Search Window1" exist then do only a switch to it else then create
> a new Window.
Sounds like you need Javascript, not Perl. Try the Javascript resources
at http://www.irt.org.
ces in these files include \s. You should read up on regex's in
Perl and either fix the regex or just turn off taintmode.
Good luck,
William
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Try working with the above to see if you can get your array untainted
*before* passing it off to chmod.
Good luck,
William
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Greetings,
I'm a C++ programmer and It's my first attempt to code in perl.
I'm behind a firewall and access WWW via a proxy server. I got no problem to
GET a request from a web site by using LWP::UserAgent, if I have the correct
proxy setting. I tried to do it in a similar way with POST request,
sked many times before:
<http://www.mail-archive.com/beginners-cgi@;perl.org/msg06517.html>
William
--
Lead Developer
Knowmad Services Inc. || Internet Applications & Database Integration
http://www.knowmad.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Hi Sarah,
You probably should sign up for the dbi-users mailing list at
<http://dbi.perl.org/mailinglists.html>. You can catch db errors using an
eval statement. Search the DBI docs for eval and RaiseError for more info.
HTH,
William
--
Lead Developer
Knowmad Services Inc. || In
On 30 Oct 2002 at 15:02, RaghuNath L(Raghu) wrote:
> How i redirect std err and out
Read the manual with `perldoc -f open` or `perldoc perlfunc`.
William
--
Lead Developer
Knowmad Services Inc. || Internet Applications & Database Integration
http://www.knowmad.com
--
To unsubsc
ld do
the job. Check out the Win32::OLE module.
William
--
Lead Developer
Knowmad Services Inc. || Internet Applications & Database Integration
http://www.knowmad.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi Al,
Have you checked that your web host allows include or exec methods in
SSI's. This is frequently disabled as a security precaution.
William
--
Lead Developer
Knowmad Services Inc. || Internet Applications & Database Integration
http://www.knowmad.com
--
To unsubscrib
Hi Octavian,
I would suggest that you use session management (I like CGI::Session but
Apache::Session should also work) to store the private data about the
current user rather than writing it to the second form.
Good luck,
William
--
Lead Developer
Knowmad Services Inc. || Internet
$offset_value = substr($value, -$offset);
$offset_value = sprintf("%8.2f",$offset_value);
return $offset_value;
}
Good luck,
William
--
Lead Developer
Knowmad Services Inc. || Internet Applications & Database Integration
http://www.knowmad.com
--
To unsubscri
On 17 Oct 2002 at 14:15, Justin Cook wrote:
> How can I tell what modules I've installed using CPAN? When I type in 'b'
> or 'd' or 'm' I seem to get everything, I only want to know what modules /
> bundles I've installed using CPAN.
Read the sec
Robert,
You're missing a closing paren on the popup_menu function.
William
--
Lead Developer
Knowmad Services Inc. || Internet Applications & Database Integration
http://www.knowmad.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ed to
know about server administration, but it's valuable knowledge.
Good luck,
William
--
Lead Developer
Knowmad Services Inc. || Internet Applications & Database Integration
http://www.knowmad.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
stalls. Also be sure to read the readme file that comes with
GD.pm.
Finally, here's the command line I used when I did a local install of the
ImageMagick library:
perl Makefile.PL INC=-I/local/web/knowmad/bin/include `cat ~/.perl_dirs`
Good luck,
William
--
Lead Developer
Knowmad S
discussion forum ).
It sounds like you need to acquaint yourself with the project development
lifecycle. Check out the current series of articles at DevShed
<http://www.devshed.com/Talk/Practices/>.
Good luck,
William
--
Lead Developer
Knowmad Services Inc. || Internet Applications
doc -f
open' for details.
> And the 2nd application I want to implement is to find a given username and
> password and if found remove them from the file.
Once you figure out how to do the above, this will become more clear.
Work on some code and post a sample if you have prob
Roberto,
I think you want the escapeHTML function from CGI. See the docs for
details.
William
--
Lead Developer
Knowmad Services Inc. || Internet Applications & Database Integration
http://www.knowmad.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-
Todd,
I think you may want to read Randall's article about this very subject.
<http://www.stonehenge.com/merlyn/LinuxMag/col39.html>
Good luck,
William
--
Lead Developer
Knowmad Services Inc. || Internet Applications & Database Integration
http://www.knowmad.com
--
to
an array before doing the sort such as follows (WARNING: untested code):
my @lines;
while(){
push @lines, $_;
}
reverse @lines;
while (@lines) {
@file=split(/\|/,$_);
If ($file[0] ne ""){
print "$field[0] | $field[1] | $field[2]";
}
I'd suggest checking out Date::Manip from CPAN. I use it to do date
comparisons in some of my scripts. Why do you need to convert the date
when writing it to the file. Just save the epoch time and use Date::Manip
to eval the epoch time in the file to the current epoch time.
William
--
printf (perldoc -f sprintf) for details about the formatting options
of the input string.
Hope that helps,
William
--
Lead Developer
Knowmad Services Inc. || Internet Applications & Database Integration
http://www.knowmad.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
$quantity;
print "Price each: $priceEach\n";
print "Rounded: " . Round($priceEach) . "\n";
print "4 places: " . Round($priceEach, 4) . "\n";
Doing math that requires rounding is a challenge in Perl. This function
makes rounding a little less challen
.cgi, with a header,
> a left frame and output of abc.cgi, as the right part of the frame page.
> How can I target just one frame of the next page.
> Help is appreciated alot.
It's just like a link: add TARGET=whatever to your tag.
--Bill.
--
William R Ward[EM
Where can I learn java (beginner) instead on the
java.sun.com?
IncrediMail - Email has finally evolved - Click
Here
See below -
> --
> From: Wagner
> Sent: Friday, September 28, 2001 7:40 AM
> To: [EMAIL PROTECTED]
> Subject: Boolean operators...
>
> Hi,
>
> I'm trying to do a comparisson with boolean operators and it is not
> working...
>
> Example:
> $user1
> $user2
> $passw
e types but you can find the
common ones.
Best,
William
h fields may contain
multiple values, is there a way to determine the number of values
returned by $q->param(foo)?
Thanks,
William
and I use too many parentheses))).
I'm glad to see someone paying attention. After I sent that email, I
realized that the snippet of code I sent was indeed in error. The two
newlines were appended further down in my script (after a Content-
Disposition header that I was sending in order to begin a download).
Thanks for correcting it.
William
ver, I had to manually send the header
because CGI.pm wouldn't work for me. Perhaps it was a bug in an older
version I was using at the time.
To do it manually, use the following and set $mime_type to whatever
value you want (see W3C website for complete list):
print "Content-type: $mime_type\n";
HTH,
William
Peter,
You're not sending any data besides the header. Try adding the
following to the end of your script:
else { print "No actions to take" }
It's always a good idea to check yourself with this kind of catchall code.
William
--
[EMAIL PROTECTED]
www.knowmad.com
Charlotte, NC
my $q = new CGI;
print $q->header;
print "things for the user to see...";
Hope this helps,
William
roduction to prevent giving out too much information to
visitors.
Hope this helps,
William
On 7 Jun 2001, at 2:02, fliptop wrote:
> does anyone feel this would be helpful? i'd put in the time only if
> other beginners thought it would be of use.
Absolutely!
William
all,
tx) VALUES (?,?,?,?,?,?,?)";
$sth = $dbh->prepare($sqlstatement) || die $dbh->errstr;
$sth->execute($newfreq, $newloc, $newdesc, $newfreqtype, $newcat,
$newcall, $newtx) || die $dbh->errstr;
Good luck,
William
Michael,
The error message indicates that Perl cannot find the Session.pm
module. Be sure you have installed the module properly. If you have to
install it locally on an ISP, then you'll need to add:
use lib '/path/to/your/modules/';
Hope this helps,
William
On 3 Jun 2001, at
Michael,
The error message indicates that Perl cannot find the Session.pm
module. Be sure you have installed the module properly. If you have to
install it locally on an ISP, then you'll need to add:
use lib '/path/to/your/modules/';
Hope this helps,
William
On 3 Jun
55 matches
Mail list logo