Maybe the file name has a .cgi extension? .cgi is not set for exeeute by
default. Try renaming it .pl assuming you installed ActivePerl. Or in
Internet Services Manager right click the scripts folder, and take a look at
the instructions in the attached mail of few days ago. I'm figuring
Can someone have a look at
http://www.voelspriet.nl/googledocumentenzoeker.htm
I want to use ONE search box - not five, as I do now. Can this be done?
Henk van Ess
www.voelspriet.nl
Dear Bob,
Ty for the answer, but I can't figure out how to rewrite the cgi script for
this use. Can you be more specific?
Henk
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
Can someone please point me in the right direction ?
In a script I'm trying to write I need to create a new directory. This new
directory looks something like /directory/somedir/someotherdir/yetanotherdir.
What I do now is :
mkdir $homeDir/directory, 0755;
mkdir
--- Rene Verharen [EMAIL PROTECTED] wrote:
Hi,
In one of my scripts I do a search and replace like this
:
$text =~ s/$search/$replace/;
This works fine, but if $search or $replace contains
one or more words between round brackets () it doesn't
what I had in mind :
$text =
Hello,
I only knew of one way to do them: s///
But japhy once answered me with this format: s{}{}
Another guy said you can use exclamation points? I'm assuming: s!!!
I've tried some other formats with brackets, parenthesis, etc. Nothing else
works.
What other formats will work?
Thanks!
Hi Maureen,
I set up this cgi file and html form on a Unix server. The script
changes a user's password in a text file.
This works correctly on a Unix Server. However, I need to move these
files to an IIS server.
In testing on the IIS server, I get an HTTP Error 405- Method not
allowed
http://www.commercesql.com/ is one.
If on Winders you'll have some surgery to do, like adding a new spleen to their
code, the sendmail module. Since you have that deadline, recommend *nix.
/g
Federal Reserve needs a free package? Whew! That's some recession.
-Original Message-
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (Scott R. Godin) wrote:
Many thanks to all of you who responded. :-) One of the things I love
the most about these lists -- that one can get so many different
perspectives on a problem and solution, because it gives one so much
more of an
1. A Virtual Directory called cgi-bin within your web site.
That was great. Just a couple points, the directory can be called cgi-bin but
doesn't need to be. I made the same changes to one called 'store' tonight on
NT4 and it works.
Secondly for security reasons I've heard it generally
What is the meanings of the following two expressions?
1.$var1{$var2}
2.$var1($var2)
_
Do You Yahoo!? µÇ¼Ãâ·ÑÑÅ»¢µçÓÊ! http://mail.yahoo.com.cn
font color=#FFÎÞÁÄ£¿ÓôÃÆ£¿¸ßÐË£¿Ã»ÀíÓÉ£¿¶¼À´ÁÄÌì°É£¡/font¡ª¡ª
ÑÅ»¢È«ÐÂÁÄÌìÊÒ!
On Fri, 18 Jan 2002 15:40:39 -0500, [EMAIL PROTECTED] (William Ampeh) wrote:
I have just been asked to come up with Perl/Mysql demo on Monday.
Considering the short notice, I was wondering if anyone can point me to a
freeware
WEB-base database system implemented in Perl and Mysql.
Try this one
Couple of additions to my posting:
1. A Virtual Directory called cgi-bin within your web site.
It doesn't have to be called cgi-bin - though that is the normal name for
the script directory.
The Virtual Directory has to have the name that you are going to access via,
as in:
Can someone have a look at
http://www.voelspriet.nl/googledocumentenzoeker.htm
I want to use ONE search box - not five, as I do now. Can this be done?
Henk van Ess
www.voelspriet.nl
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
What is the meanings of the following two expressions?
1.$var1{$var2}
2.$var1($var2)
Err... they look rather similar, don't they? :P
Basically, it works a little like:
my %hash = ( key1 = value1,
key2 = value2,
key3 = value3
);
print $hash{key1};
Would anyone please provide an example of how to use Win32::Sound module to
play and stop a sound.wav file?
The Synopsis uses Win32::Sound::Play(file.wav); but I am not sure how
to assign this to a variable, and then make it play the sound.
My kind regards,
Joe
email: [EMAIL PROTECTED]
Hi Joshua,
* Joshua Colson [EMAIL PROTECTED] wrote:
Can someone help me, I need to retrieve files with spaces in them, and
Net::FTP errors out everytime.
I've tried embedding quotes, not storing name in variable, quoting/not
quoting variables. I'm at a loss.
I thought that maybe I
if var is a hash type, i.e. %var,
then what's the meaning of $_, and $var{$_}?
Thanks!
_
Do You Yahoo!? µÇ¼Ãâ·ÑÑÅ»¢µçÓÊ! http://mail.yahoo.com.cn
font color=#FFÎÞÁÄ£¿ÓôÃÆ£¿¸ßÐË£¿Ã»ÀíÓÉ£¿¶¼À´ÁÄÌì°É£¡/font¡ª¡ª
ÑÅ»¢È«ÐÂÁÄÌìÊÒ!
I found in perl samples many strange signs, I'm really
confused by them and the study process is seriousl
blocked, would you like to recommend some good method
to pass this basic step? some quick lookup or some
common-used cmd? Thanks a lot!
If var is a hash type, i.e. %var, then what is
the meaning of $_, and $var{$_}?
__DESCRIPTION__
$_ is the default variable, used when you are too lazy to
create one of your own and like clean looking code.
__EXAMPLE__
foreach (1..5) {
print $_\n;
}
Is the same as:
foreach $_ (1..5) {
I am working on an org chart app. It is easy to loop through an
employee list and get an array of everyone who reports to a given user
ID (say, a vice president), but my logic breaks when I try and loop
through the list again and get arrays of everyone who reports to the
managers in the initial
Can somebody help me translate these boolean expression to regular expression?
kayak AND San Juan Islands
Digital Equipment Corporation OR DEC
Louis Near Monier
vegetable AND NOT brussel sprout
gold OR silver AND platinum = gold OR (silver and platinum)
(gold OR silver) AND platinum
NOT gold
-Original Message-
From: yun yun [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 19, 2002 10:08 AM
To: [EMAIL PROTECTED]
Subject: $_ in hash datatype?
if var is a hash type, i.e. %var,
then what's the meaning of $_, and $var{$_}?
Thanks!
The value inside the braces is a
What does $ stand for in the following statement?
print$_\t, * x $n, \n;
TIA,
- NP
_
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx
--
To unsubscribe, e-mail: [EMAIL
On Jan 19, Naveen Parmar said:
What does $ stand for in the following statement?
print$_\t, * x $n, \n;
$_ is a variable. It's the default variable, for things like loops and
whatnot.
perldoc perlvar
--
Jeff japhy Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/
RPI Acacia
Can somebody help me translate these boolean expression
to regular expression?
I smell homework... so you've been sussed! I'll help you
get started, but you'd better do the rest yourself.
Documentation at:
perldoc perlre
kayak AND San Juan Islands
/kayak/ and /San Juan Islands/
OR:
What does $ stand for in the following statement?
print$_\t, * x $n, \n;
$_ is the default input and pattern-searching space.
Snipped from man perlvar:
PERLVAR(1) Perl Programmers Reference Guide PERLVAR(1)
NAME
perlvar - Perl predefined variables
DESCRIPTION
On Jan 19, Andrew Koper said:
I am working on an org chart app. It is easy to loop through an
employee list and get an array of everyone who reports to a given user
ID (say, a vice president), but my logic breaks when I try and loop
through the list again and get arrays of everyone who reports
On Jan 19, Jonathan E. Paton said:
/^(?=kayak)(?=San Juan Islands)/
No, that cannot possibly match. You mean:
/^(?=.*kayak)(?=.*San Juan Islands)/
/^(?=vegetable)(?!brussel sprout)/
Ditto.
--
Jeff japhy Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/
RPI Acacia brother
Yun yun wrote:
What is the meanings of the following two expressions?
1.$var1{$var2}
This is the value from the hash %var1 using the key $var2
2.$var1($var2)
$ perl -MO=Deparse -e'$var1($var2)'
syntax error at -e line 1, near $var1(
This is a syntax error.
John
--
use Perl;
program
man perlsyn
On Sat, 19 Jan 2002, [gb2312] yun yun wrote:
I found in perl samples many strange signs, I'm really
confused by them and the study process is seriousl
blocked, would you like to recommend some good method
to pass this basic step? some quick lookup or some
common-used cmd?
Would anyone please provide an example of how to use Win32::Sound module to
play and stop a sound.wav file?
The Synopsis uses Win32::Sound::Play(file.wav); but I am not sure how
to assign this to a variable, and then make it play the sound.
My kind regards,
Joe
email: [EMAIL PROTECTED]
Examples can be found on the CPAN page:
http://search.cpan.org/doc/ACALPINI/Win32-Sound-0.45/Sound.pm
-Brian
-Original Message-
From: Joe Slaven [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 19, 2002 4:44 PM
To: [EMAIL PROTECTED]
Subject: Using Win32::sound module
Would
On Jan 19, Luinrandir Hernson said:
Just how do I match the input exactly
bob
to just
bob
Use 'eq'.
if ($password eq 'bob') { ... }
--
Jeff japhy Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/
RPI Acacia brother #734 http://www.perlmonks.org/ http://www.cpan.org/
**
Thanks Jeff . I had tried $password eq /bob/ but your way works just fine.
Now for security reasons I want to check the variable to only alphanumeric charecters
a-z A-Z 0-9 and the underscore _
I'm using the email address are a beginning password therefore
code below
$password=~s/@/\_/g;
- Original Message -
From: Luinrandir Hernson
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Saturday, January 19, 2002 10:06 PM
Subject: more help!!!trying to match password
Thanks Jeff . I had tried $password eq /bob/ but your way works just fine.
Now for
so don't use the m/
and use a \b on both sides of bob in this case...
I will research this further to understand.
is there a name for this situation??? \b
thanks..lou
- Original Message -
From: Leon
To: [EMAIL PROTECTED]
Sent: Sunday, January 20, 2002 2:31 PM
Subject: Re:
Trying to get this script to 'claimsubmit' ONLY if the system call
returns STDOUT, but I'm having a little trouble getting my script to
verify that and act accordingly.
opendir DIRH, $unknown or die Can't open: $!\n;
foreach my $files (sort readdir DIRH)
{
my @claims = (grep(!/^\.{1,2}$/,
guess what I found!!! and it works (mad scientist laugh)
$password=~tr/A-Z/a-z/;##changes everything to lowercase
$password=~tr/a-z0-9/_/c;
instead of
##$password=~s/@/\_/g; ##removes@
##$password=~s/\./\_/g; ##removes.
- Original Message -
From: Luinrandir Hernson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, January 19, 2002 7:20 PM
Subject: Re: help!!!trying to match password
so don't use the m/
and use a \b on both sides of bob in this case...
I will research this further to understand.
Hi: I am running cpanv1.59, and with root.
I notice that there are multiple failures at make install
Won't install without force
When I run perl -MCPAN -e shell, do I want to start using some command that
forces all installs? Or, is there a better way to approach using cpan for
I'm using the email address are a beginning password therefore
code below
$password=~s/@/\_/g; ##removes@
$password=~s/\./\_/g; ##removes.
##?
$password=~s/[^a-z^A-Z^0-9]/\-/g;##check for a-z, A-Z, 1-0 ???
##
is there a better
Hi everyone,
I am running a script on an Intranet. It is called when the submit button of a
form is clicked. It takes all the items in the form, puts them into a different form,
and emails that form away. This all works, but I get a server error page after I hit
the submit button. Any
Craig Inman wrote:
Trying to get this script to 'claimsubmit' ONLY if the system call
returns STDOUT, but I'm having a little trouble getting my script to
verify that and act accordingly.
Do you mean you want to capture the output from claimsubmit? Use
back-quotes (``) or qx//.
opendir
Hello,
I only knew of one way to do them: s///
But japhy once answered me with this format: s{}{}
Another guy said you can use exclamation points? I'm assuming: s!!!
I've tried some other formats with brackets, parenthesis, etc. Nothing else
works.
What other formats will work?
Thanks!
45 matches
Mail list logo