Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: cyan01
  • Order by date
  1. cyan01

    "security warning" on XP/IE 6.0.2900, but NOT on w2k/IE 6.02800

    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#")...
  2. cyan01

    "security warning" on XP/IE 6.0.2900, but NOT on w2k/IE 6.02800

    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...
  3. cyan01

    "security warning" on XP/IE 6.0.2900, but NOT on w2k/IE 6.02800

    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...
  4. cyan01

    "security warning" on XP/IE 6.0.2900, but NOT on w2k/IE 6.02800

    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() { //...
  5. cyan01

    "security warning" on XP/IE 6.0.2900, but NOT on w2k/IE 6.02800

    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.
  6. cyan01

    "security warning" on XP/IE 6.0.2900, but NOT on w2k/IE 6.02800

    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.
  7. cyan01

    "security warning" on XP/IE 6.0.2900, but NOT on w2k/IE 6.02800

    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...
  8. cyan01

    How to handle backslash in user input

    It worked! Thank you so much!
  9. cyan01

    input from multiple text files

    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.
  10. cyan01

    How to handle backslash in user input

    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...
  11. cyan01

    Function to return the next number

    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...
  12. cyan01

    Help needed in converting utf-16 to utf-8

    I have a bunch of files in utf-16 fotmat. I need to write a perl code to convert them into utf-8. Could someone show me a sample code? Many thanks!
  13. cyan01

    How to declare/assign a array ref on fly while &quot;use strict&quot;

    Hi, experts, I have a sample code listed below: #! /usr/bin/perl use strict; print "$0..testing...\n"; my @list = ("a", "b", "c"); print "@list\n"; for(my $i = 0; $i <= $#list ; $i++) { for(my $j = 0; $j < 10; $j++) { if($i == 0) { push @{$list[$i]}, $j; } elsif($i...
  14. cyan01

    Having difficulties to install firefox on Solaris 8 (sparc)

    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...
  15. cyan01

    Having difficulties to install firefox on Solaris 8 (sparc)

    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...
  16. cyan01

    Can't coerce array into hash - yep i'm at it again :-)

    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.
  17. cyan01

    Looking for more info about embedded perl in html

    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"; }...
  18. cyan01

    Number formatting

    You can cast it to int. $temp = int($myNum / 10);
  19. cyan01

    A tld file related question

    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...

Part and Inventory Search

Back
Top