hi guys,
how can i pass the 401 Unauthorized request so a message with a
username/password show up to the user?
i tried out cgi::authentification and the print "WWW-Authic \n\n" but no
good?
thanks in advance
--
Hytham Shehab
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Hi Everyone!
Thank you all for all of your help...
Rhen
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi Everyone!
Thank you all for all of your help...
Rhen
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
John Pitchko wrote:
> Yes that would work, but I was really curious as to why the ternary
> operation does not work. In fact, none of my other ternary operations
> seem to work. Is there something wrong with my syntax?
probably. try putting each true/false statement inside a parenthesis.
Yes that would work, but I was really curious as to why the ternary operation does not
work. In fact, none of my other ternary operations seem to work. Is there something
wrong with my syntax?
Thanks,
John Pitchko
Data Services
Saskatchewan Government Insurance
>>> "Connie Chan" <[EMAIL PROT
Sorry, I am poor in English, but is this what you want ?
$title = $content;
while ()
{ chomp;
$title = $1 if ( /(.+)<\/title>/i );
} print $title;
Rgds,
Connie
- Original Message -
From: "John Pitchko" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 09, 2002
Hello,
I am trying to do some pattern matching in a ternary evaluation, but it does not seem
to work. If I place the regex into a structured if statement, it evaluates fine, but
not in a ternary evaluation. Here is what I have so far.
my $title;
..
..
..
open FH, HTML_HOME . $directory . $cont
"Octavian Rasnita" <[EMAIL PROTECTED]> wrote in message
00cc01c22495$df0f63d0$[EMAIL PROTECTED]">news:00cc01c22495$df0f63d0$[EMAIL PROTECTED]...
> Hi all,
>
> I want to make a Perl script that generates a web page and prints it on
the
> screen.
> I want to include an SSI statement in that page.
>
When you have everything working, and something for security (htaccess), try
redirecting by, NOT
printing a content-type (text/html or whatever), then print this:
print "Location: http://www.domain.com/path/morepath/file.html\n\n";;
The capitalization and space are very important.
Regard
"Henk Van Ess" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi all,
>
> My provider gave me the solution. I had to install:
>
> pkg_add -r unix2dos
>
> where unix2dos *.cgi strips the boxes.. Ty all for the input.
>
Also, if you use the proper transfer setti
"Henk Van Ess" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Dear all
>
> I just uploaded the following .cgi to my server:
>
> #!/usr/bin/perl
> print "Content-type:text/html\n\n";
> print "Show me the monkey"; #this line prints the sentence "Show me the
monk
--- [EMAIL PROTECTED] wrote:
> Curtis,
> Thank you for your observations and compliments (first paragraph). No your
>right, I haven't
> been using taint (*I hang my head in shame*).
Actually, you may not *want* to use taint checking in your code samples. The end user
should
control that a
Curtis,
Thank you for your observations and compliments (first paragraph). No your right,
I haven't
been using taint (*I hang my head in shame*).
I probably would have done a few things slightly differently if I had a perfect
vision I was I
was creating when I began it. You see on the
USE File::Find
either that or you have to mess around with recursion which can be quite
tricky
File::Find does the recursion for you. docs are easy to follow
> -Original Message-
> From: LinkS On WeB [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, July 07, 2002 2:46 PM
> To: [EMAIL PROTECTED];
Solved 10 minutes later by using:
@list = sort { $filelisthash{$b} <=> $filelisthash{$a} } keys %filelisthash;
Instead of:
foreach $file_num (sort { $a cmp $b } keys %filelisthash) {
push(@list,$file_num);
}
Thanks anyway!! Hope someone finds this helpful...
On 8/7/02 9:17 PM, in article
Hi all,
I have a list of 40 or so files that need to be sorted into an array by
article date (found in first line of each file in the form DD-MM-).
I can't figure out how to go about it successfully... Can anyone help me out
please??
Thanks in advance!
Current method is as follows:
use T
Links On Web wrote at Sun, 07 Jul 2002 20:45:47 +0200:
> Ok listen im trying to fin all the direcotries that are in a folder, I mean
>everyone. But for some
> reason this only prints out the first folder and not the sub folders.
>
> [snipped 18 lines of code]
Well, that's a job for File::Find.
I had a look at this kind of thing a while back, and I'm happy to say I got it
to work, but not with Internet Explorer. Do a search on Google for the phrase
"server push" and optionally you could include Internet Explorer (this gave
me an article from Microsoft Support detailing how to implemen
18 matches
Mail list logo