2,452 Topics

Member Avatar for
Member Avatar for blerina12
Member Avatar for canadatom

Here is my javascript code: [CODE]var xmlhttp; var result; function load() { xmlhttp=null; if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=state_Change; xmlhttp.open("GET",getLauncherPath,true); xmlhttp.send(null); } function state_Change() { if (xmlhttp.readyState==3){ if (xmlhttp.status==200){ result = "readyState = …

0
61
Member Avatar for chandrag

hi, I am new to perl. actually, i'm using perl with SOAP::Lite to access a web server. I wrote some code in a notepad and saved it in c:/perl/eg. by typing 'perl filename.txt' after changing the directory into c/perl/eg> in command prompt, i am getting the result what i want. …

Member Avatar for dangidipu
0
925
Member Avatar for michelleradu

Hi I need to save the values printed in a html table from the database in a CSV file if requested by user. I've only managed to save the header of the table so far. The MySql query is made in a page called reportclient.php which then calls phpReportGen.php in …

Member Avatar for michelleradu
0
161
Member Avatar for john_prince

Hi, In our organization, there are lot of users who do not have their phonenumber in proper format. the correct format is : xxx-xxxx. Therefore, i've pulled out a all users report, consisting of two columns, one with name and other with phonenumber, the report is in csv format. Does …

Member Avatar for d5e5
0
79
Member Avatar for mvignesh31

hi, i want to send my perl output to a notepad. is it possible.. for instant, my perl result with some dna sequence should be copied to a new text file. is it possbile... can any one help me.

Member Avatar for onaclov2000
0
114
Member Avatar for Mobius1234

print"Enter the number of Cricketers: "; $list=<STDIN>; chomp $list; until($list<=0) { print"Enter Cricketer name: "; $name=<STDIN>; print"Enter a number: "; $number=<STDIN>; chomp $number; $list--; push(@names,$name); push(@numbers,$number); } print"Cricketer's name and the corresponding number are\n"; format STDOUT=@<<<< @>>>> "@numbers", "@names" . I have this code. The question is "Write a program …

Member Avatar for onaclov2000
0
115
Member Avatar for sfrider0

I have recently made a program that gets the links from a webpage, then checks to see if they are valid or not. I used the HtmlElement to get the "HREF" attribute and stored all the links into a list. I also tried using the HttpWebRequest and stored the stream …

Member Avatar for apegram
0
138
Member Avatar for mvignesh31

hi i want to translate the single letter aminoacid code to triple letter code. how can i do that using tr///; command. can any one help me.

Member Avatar for mvignesh31
0
215
Member Avatar for jaybstory

Hello, I am new to the perl programming language and I have a question. I was wondering if it was possible to implement an array of strings that contains video files? I also wanted to know if it was possible to create state machines using the perl programming language? Thank …

Member Avatar for d5e5
-1
109
Member Avatar for Vindhyaauri

Hello!! I have to design a program which can read the following file: [CODE]k1082 SciTegic08250908273D 30 32 0 0 0 0 999 V2000 0.3230 -0.6380 -0.7700 C 0 0 1.1810 -1.2460 -1.7340 C 0 0 2.5950 -1.1640 -1.6010 C 0 0 3.1670 -0.4730 -0.5020 C 0 0 2.2620 0.0980 0.4020 …

Member Avatar for Vindhyaauri
0
172
Member Avatar for MDGM

Hi all, Im doing my myspace profile and im using submit buttons in a form and the form action as the url for the page that the user gets taken to, however my external links dont work, and i also want them to be opened in a new window. How …

Member Avatar for Pharoah
0
115
Member Avatar for jaybstory

Hello, I am new to perl and I would like to parse a csv file in perl. The current code I have opens a file and prints new output to the terminal. I'm wondering how to write to print this information into the file instead of to the terminal. I …

Member Avatar for jaybstory
0
101
Member Avatar for Davo1977

PERL Tutor Marked Assignemt 10 Section 2 - Part B You are to write a Perl program that analyses text files to obtain statistics on their content. The program should operate as follows: 1) When run, the program should check if an argument has been provided. If not, the program …

Member Avatar for d5e5
-1
239
Member Avatar for filch

Hi, I am trying to get a perl script that a contractor created for me but I am having some issues with it. I am NOT a perl programmer and I know just enough about it to be dangerous. I am more of a PHP/CSS guy. Anyway, the purpose of …

Member Avatar for filch
0
224
Member Avatar for SergioQ

Am embarrassed to ask this but RegEx is really my kryptonite. I have a RegEx line that extracts just numbers from a string. However, I need to tell it that I only want the numbers that come BEFORE a specific set of characters, let's say SDCSDC. Any numbers after that …

Member Avatar for d5e5
0
167
Member Avatar for sassenach

Hi, I have a site which i added mod write to the url. Some of the pages are not opening correctly. For example, the WHIWH login, should open a user & pass field in the page. You can see it is not opening it. [url]http://www.whiwh.com/login/[/url] Also a page like this …

Member Avatar for sassenach
0
643
Member Avatar for j4jawaid

I am trying to minimize the form to system tray. I have written a piece of code. But the only problem i am facing is that when i try to restore the window from system tray. Win Form appears in taskbar but has lost focused means it doesnt appear on …

Member Avatar for jonsca
0
144
Member Avatar for ketkig

Hi, My code requires to send an email to list of people that satisfy certain conditions. This email will in turn have a hyperlink to open another email,with subject and body pre populated. When I try creating this hyperlink, i want the code to be hidden ie. i want to …

Member Avatar for jlm699
0
3K
Member Avatar for MOSSLover

Here is my code: package Apache2::AuthGetUser; #authenticates users based on bool value from a asmx webservice use SOAP::Lite; use Data::Dumper; use strict; use warnings; use Apache2::Access(); use Apache2::RequestRec(); use Apache2::Const ':common'; use Apache2::Log; sub handler { my $r = shift; my ($status, $password) = $r->get_basic_auth_pw; return $status unless $status == …

0
69
Member Avatar for Vandithar

Hi, I want to get the ip address of the clients who is accessing my web pages. I have the following information. [code] IP Address. . . . . . . . . . . . : 192.168.3.219 Subnet Mask . . . . . . . . . . …

0
62
Member Avatar for grouchotron

I'm attempting to write a script that logs into a web site, navigates through some links, stores some data to a text file, and logs out. I was able to log on with ease, using WWW::Mechanize. However I'm having trouble navigating through the actual website, because instead of just a …

0
54
Member Avatar for jen140

Hello again. I was trying to login to my web server protected with basic auth, and after i understood that it would be nice to automatically detect the realm so now i want to know on how to do so. Thanks in advance.

Member Avatar for jen140
0
435
Member Avatar for vignesh31

hi how can i translate these amino acids sequence into its triplet codes. this line is not working. [CODE]$aa =~ tr/arndceqghilkmfpstwyv/ala, arg, asn, asp, cys, glu, gln, gly, his, ile, leu, lys, met, phe, pro, ser, the, trp, tyr, val/;[/CODE] is there any delimiter to separate that three letter codes.

Member Avatar for d5e5
0
223
Member Avatar for veledrom

Hi, I have files in a folder. When I list those files in my PHP site, all the hyperlinks shows full path of the file on status bar of the browser. e.g When mouse over hyperlink, it shows "..../personalFolder/hello.doc" How can i solve this problem? I think this is a …

Member Avatar for almostbob
0
76
Member Avatar for danimal132

i am editing someone else's code that creates a tracking log for a website. It is written in perl but the file is report.mas and there is another file that has to be altered too report.mas.obj for the file to work.. I am very confused what type of code this …

0
58
Member Avatar for pbhandari

Hi, I have following line in my Perl code--> system("start my.exe myfile.ext") == 0 or die "error ($?) : $!"; Q1: How do I close my.exe? Q2: If I give myfile.ex1 instead of myfile.ext, myfile fails to open. However, the error code returned by Perl is still 0. Normally (when …

0
46
Member Avatar for gess6321

how do you add a hyperlinkcolumn column in a gridview dynamically at runtime? if you can't add one, how do you modify its properties at runtime? i can't seem to figure out a way to do this.

0
52
Member Avatar for j4jawaid

I am creating a small test application in which i am trying to fetch the all the hyperlink's details(Anchor Text and url) on the web page. What i have done till now is that i create webbrowser component loaded the page and fetch all <a> tags. I also know that …

Member Avatar for j4jawaid
0
146
Member Avatar for back2arie

Hi I have problem to get data from tag (eg: <TEXT></TEXT>). For example the string is like this: [CODE]$string = "<TEXT> Some text </TEXT>"; if($string =~ /<(TEXT)>\s*(.*)\s*<\/\1>/g) { $result = $2; print $result, "\n"; }[/CODE] It works fine, but if the string is like this: [CODE]$string = "<TEXT> Some text …

Member Avatar for k_manimuthu
0
109

The End.