First, let me answer Xaqte's request.
I added following code
use Cwd;
my $dir = getcwd;
warn "Dir: $dir";
my $fHead;
read(INFILE, $fHead, 5);
seek INFILE, 0, 0;
my ($buf, $bytes);
while ($bytes = read(INFILE, $buf, 16384))
{
print $buf; # to display the image
warn("\$bytes = #$bytes#")...
To Xaqte and smah,
Again, thank you very much for your help. And I am sorry I have not told you about the "url link" thing. Those sites are for customers only so that I can not make it public here (even if I did, no one could access it w/o a password). Because of this, I never thought about to...
I'd like to say that it is an IE bug. According to this article published on microsoft site:
http://support.microsoft.com/kb/q300443/
All IE 6.0 should have this behavior. However, according to my findings, w2k/IE 6.0.2800 behaves differently from XP/IE 6.0.2900.
To smah, I am positive that...
Hi, smah and Xaqte,
Sorry for being late - I was beried by lots of chores last couple days.
Here is what I found:
One of our perl codes, create a js function called openImage(), which has one line like this:
function openImage()
{
//...
Thank you, Xaqte.
Sorry I did not make myself clear in my last post. I'll take a close look at the code first thing Monday and I'll let you know what I found.
Thank you again.
Thank you, Smah.
What you said is exactly right. The pages are images and loaded through https://. What should I do to avoid this warning without enabling Miscellaneous->Display Mixed Content? And why does w2k/ie not give such a warning?
Thank you, again.
Hi, Experts,
My company has a few webpages constantly trigger "security warning" on XP/IE 6.0.2900.2180.xpsp-sp2-gdr.050301-1519. I have noticed that if I enable Tools->Internet Options->Security->Internet->Custom Level->Miscellaneous->Display Mixed Content, then the warning is gone.
However...
Try this:
my %wordCntPerFile;
if(defined $opt_i)
{
foreach (@textfile)
{
open(FILE,$_);
@text=<FILE>;
foreach (@text)
{
@word = split(/ /,$_);
}
$wordCntPerFile{$_} = $#word+1;
close(FILE);
}
}
Not test it, but should give you some idea.
Experts,
I need to develop a perl code to catch invalid user inputs. In my case, a backslash ("\") is considered invalid.
Here is my code:
my @invalidCharList = ('-', '\+', '\.', '/', '\\');
#my @invalidCharList = ('-', '\+', '\.', '/');
print "$0..testing..., @invalidCharList\n";
print...
I wrote a piece of code to do this kind of job.
Assume a source file named "noIndex.txt" is like this (tab delimited):
boston aaa bbb
New York 111 222
boston c444 e5555
boston d444 x5555
New York 4444 55555
Washington zzzz yyyy
boston r444 r5555
Washington zzzz111 yyyy2222
A...
Thank you, bfitzmai.
I did check those files and found they are not on my workstation. For example, one comand I used was:
sable 7 => tar tvf firefox1.0.4-sparc-sun-solaris2.8.tar | grep libgtk
-rwxr-xr-x 0/0 157020 May 12 08:30 2005 firefox/libgtkembedmoz.so
-rwxr-xr-x 0/0 22208...
Hi, Experts,
I am having trouble in installation of firefox 1.0.4 on solaris 8 (ultra sparc 5). I have installed all the patches recommended. After I ran firefox, I got following error message:
ld.so.1: ./firefox-bin: fatal: libgtk-1.2.so.0: open failed: No such file or directory
ld.so.1...
Are you saying that you want to put the value(s) of a hash into an array? If so, your syntax is wrong.
push my @lterm, $rs->{Term};
Or, you can do this:
push my @lterm, $rs1;
push my @lterm, $rs2;
# where both $rs1 and $rs2 are references of hashes.
Hi, Experts,
I happened to notice there is a new (it is new to me ^_^)
apache that can handel embedded perl. A typical piece of code could be like this:
<html>
<body>
Test emdedded perl script in html.
<%@ Language=PerlScript %>
<%
for (my $i = 0; $i < 10; $i++)
{
print "\$i = $i<br>\n";
}...
Hi, Experts,
I am new to jsp. And right now I am having a hard time to get an example working.
The following is my tag file, named as calalog.tag. The file path is: %CATALINA_HOME%\webapps\myjsp\WEB-INF\tags
<%@ attribute name="normalPrice" fragment="true" %>
<%@ variable...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.