great article.
> I think you need to read this article on why questions go unanswered.
>
> http://perl.plover.com/Questions.html
>
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users
Well, I believe the problem is that your not returning any headers from the
script, so it can not be displayed.
Without posting the perl code, there is no real way to tell, but the error
you are explaining is normally a result of you not using the following line
at the top of your script:
prin
This code works fine under Windows 2000.. note that some of the lines are
broken because of the copy and paste into the email.
Justin Rogers
my ($option, $backini) = (@ARGV);
if ( !defined($option) ||
!defined($backini) ||
($option ne '/i'&&
$option ne '/b') ){
&Print
Yes. It is the windows shell command.
I did put the whole path in.
Ted Zeng
Joe Schell wrote:
> Ted Zeng wrote:
> >
> > Hi,
> >
> > I make a perl script to copy a folder's content to another folder
> > using xcopy ( the system call). It works fine when I execute it.
> >
> > But when I execute
Kaspars Vilkens wrote:
>
> Just tried. Not working like this (Gives same error)!!!
>
> [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W3SVC\Parameters\Scrip
> t Map]
> ".pl" = "C:\perl\bin\perl.exe %s %s"
>
> Any other ideas?
>
> Kaspars Vilkens
>
> -Original Message-
> From: [
Ted Zeng wrote:
>
> Hi,
>
> I make a perl script to copy a folder's content to another folder
> using xcopy ( the system call). It works fine when I execute it.
>
> But when I execute the script from
> another perl script using
> Win32::Process::Create
> to launch the script, nothings get copie
Um, you have set permissions on the script dir?
Kaspars Vilkens wrote:
>
> The directory structure of the server is:
>
> home dir: C:\inetpub\wwwroot\
> scripts dir: C:\inetpub\scripts\(alias \scripts)
>
> script I want to execute is needed to generate frames html, depending on
> us
Oh. You're not using the quotes in the reg are you?
You've got the HTTP headers correct?
content-type: text/html\n\n
Kaspars Vilkens wrote:
>
> Just tried. Not working like this (Gives same error)!!!
>
> [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W3SVC\Parameters\Scrip
> t M
Hi,
I make a perl script to copy a folder's content to another folder
using xcopy ( the system call). It works fine when I execute it.
But when I execute the script from
another perl script using
Win32::Process::Create
to launch the script, nothings get copied over.
The interesting thing is the
steve silvers wrote, on Friday, February 16, 2001 09:19
: Im running MS SQL Server 7.0
: I have a table with a startdate and enddate column in it.
:
: In my perl script I query it
:
: SELECT * FROM table where 'todays_date_from_script' >= 'startdate' and
: "todays_date_from_script' <= 'enddate'
Im new to using Win32::GUI. I installed it via nmake, and tried this sample
script:
use Win32::GUI;
@ret = Win32::GUI::ChooseFont(
-name => "Courier New",
-height => 14,
-size => 180,
-italic => 1,
-ttonly => 1,
-fixedonly => 1,
-script => 0,
-effects => 1,
);
steve silvers wrote:
>
> Im running MS SQL Server 7.0
> I have a table with a startdate and enddate column in it.
>
> In my perl script I query it
>
> SELECT * FROM table where 'todays_date_from_script' >= 'startdate' and
> "todays_date_from_script' <= 'enddate'
>
> When I input the data into
You need to format your dates, in a way that SQL understands them. Try
rearranging them like so:
-MM-DD
-Original Message-
From: steve silvers [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 16, 2001 6:19 AM
To: [EMAIL PROTECTED]
Subject: SQL Question
Im running MS SQL
MySQL recommends the book by Paul DuBois, but not giving the title. Anybody
knows it? I cannot use the link to b&n because the school I work for won't
allow online order. Thanks. Kelly
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://lists
Title:
I
also wrote a command line mailer several years ago that I make publicly
available from my web site. The exe is much larger than BLAT because it was
written purely in Perl and compiled using Perl2Exe. It's very easy to use and
execute from a CGI script and has a pretty good set of f
Todd Beverly wrote:
>
>Gary Nielson wrote:
>>
>> I am trying to write a script that will open a file of headlines by
>> section. The first field (separated by the "|" delimiter) is the section
>> name. The script will go sequentially down the file. There may be up to 25
>> headlines per section,
If you want an MTA written in perl, here's one:
http://freshmeat.net/projects/perlsmtpdaemon/
However, It just sounds like you want to connect to a mail server for a
given domain to check the connection. In that case, just
(1) use Net::DNS to find the mail server for the domain
(2) use Net::S
Dirk Bremer wrote:
> $SMTP = Net::SMTP->new('mailservername');
> $Result = $SMTP->mail('mailrecipient);
> $Result = $SMTP->to('mailrecipient');
> $Result = $SMTP->data();
> $Result = $SMTP->datasend("To: Dirk Bremer\n");
> $Result = $SMTP->datasend("From: Perl\n");
> $Result = $SMTP->datasend("S
>"please solve this problem and mail me."
Are you kidding me?
I think you need to read this article on why questions go unanswered.
http://perl.plover.com/Questions.html
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
P.V.Sankar
Sent: Wednesday, Febr
Title: RE: sendmail
Never
mind, error on my part!
Thanks!
Sheri
-Original Message-From: Sharon Tiroff
Sent: Friday, February 16, 2001 7:28 AMTo: 'Frank
Novak'Subject: RE: Sendmail
Thanks I found the
What is your Perl question?
> SELECT * FROM table where 'todays_date_from_script' >= 'startdate' and
> "todays_date_from_script' <= 'enddate'
select * from table where '$todays_date_from_script' between '$startdate'
and '$enddate';
might work but it sounds like you have a SQL problem.
Im running MS SQL Server 7.0
I have a table with a startdate and enddate column in it.
In my perl script I query it
SELECT * FROM table where 'todays_date_from_script' >= 'startdate' and
"todays_date_from_script' <= 'enddate'
When I input the data into the table I use something like 02-16-2001
"Jimmy S. Lim" wrote:
>
> hi perl friends,
>
> i am trying to write a script to do a daily backup on files which have been
> modified on the same day the script is ran. i am just writing the beginning
> part of the script and i already got stuck. i kept getting the error: "
> Can't stat d:/perlu
Jimmy S. Lim wrote:
> i kept getting the error: "Can't stat d:/perluser, no such file
> or directory". but i do have such a file and a directory!
Are you sure that's the message? Based on your code, I would expect the
error to be
Can't stat d:/perluser
, no such file or directory
And I
Look at the RFC on SMTP - it tells you all the commands you need to know
to communicate with an SMTP server.
You will also need to do a DNS lookup and check the MX record for the
specified mail domain - the MX record will give you the preffered
mailhost for the specified domain and that is whe
hi perl friends,
i am trying to write a script to do a daily backup on files which have been
modified on the same day the script is ran. i am just writing the beginning
part of the script and i already got stuck. i kept getting the error: "
Can't stat d:/perluser, no such file or directory". but
26 matches
Mail list logo