2,977 Topics
![]() | |
Hi All, I'm using SOAP::Lite to do some online payments. The whole mechanism is set on separate machine which is communicating with payment gateway. So WWW machine sends a message to invoke SOAP::Lite and SOAP message is sent to payment gateway. In development I had both "machines" running on one … | |
i have this list, about some company payment , in the list, some company pays two times in a particular day. i need to write a perl program to add up the company's total payment for that particular day such as eid date amount 00101 2009-12-21 3009 00101 2009-12-21 165 … | |
Hi.. I have installed xampp-win32-1.7.4-VC6 on windows. I can access it as localhost. But showing the following error while it accessing from other machines which are locally connected. The error as follows [COLOR="Red"]Access forbidden! New XAMPP security concept: Access to the requested directory is only available from the local network. … | |
Hi, I have two files: File1 (tab-delimited and two columns): Ex_efxb 0.0023 MSeef 2.3000 F_ecjc 0.3338 MWEEI -0.111 DDAIij 17.777 File2: MSeef 2.3000 F_ecjc 0.3338 I want to search the content of File one using the content of File 2 and then display the output as follows: Date of search: … | |
I would like to match a pattern from the following data set and print the line containing that pattern plus the immediate next line. Say I am interested in matching the pattern- [B]FrNum: 1[/B]. If my program runs correctly for the following data set, the output should be : [I]GOP: … | |
Hi, 65 (1 of 6) 66 (2 of 6) 67 (3 of 6) 68 (4 of 6) 69 (5 of 6) 70 (6 of 6) This my pdf file pages. I have get the total pages and total blank pages. I can't get the logical page number. 65, 66, 67, … | |
Hi all, I am having issues with the sendfile command in mod_per2. I am getting the following errors in the error_log: [Thu Mar 24 11:38:50 2011] [info] [client 10.199.122.122] (32)Broken pipe: core_output_filter: writing data to the network [Thu Mar 24 11:38:50 2011] [error] [client 10.199.122.122] Apache2::RequestIO::sendfile: (130) Software caused connection … | |
Hi Guys I am trying to read contents of directory... using "FindNextFile(hFind, &FindFileData)" Findfirstfile returned me then first file in the directory.. even though I have somany files in the directory (FindNextFile(hFind, &FindFileData) returning me zero..... can anyone help me... thanks in advance... Thanks | |
I am relatively new to perl, and I'm having a problem with loops. I'm trying to get a program for a simple number guessing game to repeat itself until you get the right number. Here is the code: [code] #!/usr/bin/perl -w $thinkingof = int(rand 10); print "Pick a number 0 … | |
Hello I tried running services.msc from Run and I ended with the window opened, but not displaying any service, with a popup error: One or more ActiveX controls could not be displayed because either: 1) Your current scurity settings prohibit running ActiveX controls on this page or 2) You have … | |
Hello all. Im a Java developer, but have been given the extra title of Perl developer also. So im new to the code structure. Basically Im trying to pull the width and height from a url example below and display in an error msg just to test: [url]http://...readimage?1234a&height=10&width=10[/url] [CODE] use … | |
hi all, i am new to perl and i am trying to design a web form (login, registration, user profile, session, cookie, mysql database connection, etc) using perl. is there any place where i can get a good tutorial on the above, or is there any existing code i can … | |
hey.. Ive done a bit of java and im new at C... so forgive the inexperience/noobage here.. I got 2 problems, I want my program to read in 2 fractions and print the product.. and whenever I press enter without entering any value, ie. a null input, I want it … | |
Sample content of the file [CODE] PP: Happy Sunday! PP: It's a good weather. PP: Have a blessed Sunday everyone. the output should be HL: Happy Sunday! PP: It's a good weather. PP: Have a blessed Sunday everyone [/CODE] My code to generate that [CODE] $length=@fileinput; if($line=~/PP:\s/) { {if($j<$length) {if($line[$j-1]!~/PP:\s/ … | |
Hello everyone who reads this. I am currently creating a program in which the user inputs a booking reference which will allow them to overview flight details that they have added to previosu flights. I have been having trouble working out which direction I should follow to sort out this … | |
Hello, I am having trouble understanding why I'm getting these errors. a4.c:106: error: expected expression before ‘int’ a4.c:106: error: too few arguments to function ‘ass_average’ a4.c:109: error: expected expression before ‘int’ a4.c:109: error: too few arguments to function ‘ass_min’ a4.c:112: error: expected expression before ‘int’ a4.c:112: error: too few arguments … | |
Having spent the last 6-9 months getting to grips with the basics of PHP, I have inherited a number of Perl scripts. As I'm getting on with PHP and beginning to complete ever "complex" tasks, I would like to convert the inherited Perl into PHP. I am able to translate … | |
Hello friends, now I will show you how to make a simple anti spam protection (without using captcha) who is very effective. The original idea (for educational purposes) is taken from here: [URL="http://delicon.mk/blog/kontakt-formular-koj-ne-saka-spam-botovi/"]Part 1[/URL] [URL="http://delicon.mk/blog/kontakt-formular-koj-ne-saka-spam-botovi-2/"]Part 2[/URL] Sorry about the links and macedonian language, but I respect my friend and I … ![]() | |
With over 15,000 wood names in the wood knowledge base I am building (at [url]www.prowebcanada.com/taxa[/url]) it has become practically essential to add a versatile search engine to extract queries from the MySQL files. I started with an online template and have brought it quite a way along but some things … | |
Hi there, I have wrote a program that do a bit of calculations that takes about 10 min to complete, therefore I need to show a progress to user. I used a percentage in status bar to show the current status of program. The problem is for updating the number … | |
Hi, Please help me out. I have successfully binded to my ADSI server(windows 2003 machine) from my windows XP machine? #LDAP SEARCHING [CODE][B]my $ldapSearch = $ldap->search(base => $ldapbase, filter => "uid=$login"); die "There was an error during search:\n\t" .ldap_error_name($ldapSearch->code)." ". ldap_error_text($ldapSearch->code) if $ldapSearch->code; print "No results returned\n" and exit if( … | |
What is map doing below? [CODE] my @aFN = (); #------------------------------------------------------------------------------- # get the nodes #------------------------------------------------------------------------------- if (-e $fConfFN) { open CONF,$fConfFN; while(<CONF>) { chomp; if( /.*=(.*)/ ) { my @A = split /\s+/, $1; [COLOR="Red"][B]map{push(@aFN,$_)}@A;[/B][/COLOR] } } close CONF; [/CODE] | |
Hello world, I’m trying to call from one PERL script (file) to another PERL (file) script passing arguments. The case is that I want to do it running multi threads. Example: I have 2 arrays. [CODE] Array1 = (“arg1”,”arg2”); Array2 = (“arg1”,”arg2”); [/CODE] In parallel mode I want to run … | |
Sorry, maybe I post this in the wrong section. But, I hope it is simple enough to be answered :) I have .dot ms word template with mailto hyperlink. something like: [U]neosonic@neosonic.com[/U], link to mailto: [email]neosonic@neosonic.com[/email] I have tried to edit it manually in the .dot file, and that mailto … | |
hi, Please see my code as given below: [CODE]#!c:/perl/bin/perl use strict; use warnings; use CGI qw(:all); #use for all code use Net::LDAP; use Net::LDAP::Util qw(ldap_error_name ldap_error_text); #use for Error Handling print "Content-type: text/html\n\n"; print "<body bgcolor=\"#ffcccc\">"; my $entry; my @uids; my $serverlogin='administrator'; my $serverpassword='xxxxx'; my $LDAP_SERVER="localhost"; my $LDAP_PORT="389"; my $LDAP_BASE="ou=student,dc=ac,dc=in"; … | |
Hey, I have a function, though it's not working as it should be. My program is Dijkstra's algorithm, and I am trying to build a list of a node's nearest neighbours using info contained in a text file of the network (7 nodes in this case), in the form: 0,2,4,1,6,0,0 … | |
Hello Guyz This is my first post here. I am having problem in vb.net I am trying to get a webpage source using this code. [CODE] Dim request As System.Net.HttpWebRequest = System.Net.HttpWebRequest.Create(Textbox1.Text) Dim response As System.Net.HttpWebResponse = request.GetResponse() Dim sr As System.IO.StreamReader = New System.IO.StreamReader(response.GetResponseStream()) Dim sourcecode As String = … | |
I am stuck in program which need to build a hash of unknown number of keys which we will enter or give. If there would be a push function we can make loop and increase its size.But how will be it possible with hash. | |
Help me to find where I am wrong[CODE] package Exception; sub excep{ my ($ref_numbers,$ref_exceptions,$number,$n) = @_; my @excepts; if ($number == 0) { return (\@excepts); } else{ my $i; for($i=0;$i<$n;$i++) { my $a=0; if($i != $$ref_execptions[$number]) { $excepts[$a] = $i; $a++; } else { $a++; } } $number--; &excep(\@excepts,$ref_exceptions,$number,$n); } … | |
I have a csv file and i want to convert the same in Xml tree structure can some one tell me how is that possible the xml structure will have many child element as below: <parents> <child> <name1/> <name2/> </child> <child> <name1/> <name2/> </child> </parents> | |
hello all i am using a query [ICODE]select 'hour','filename','tot_sent_count','tot_success','tot_prm_fail','tot_switchedoff','tot_other_error' UNION select hour,filename,sum(tot_sent_count),sum(tot_success),sum(tot_prm_fail),sum(tot_switchedoff),sum(tot_other_error) INTO OUTFILE '/tmp/hourlyFileMis(2011-03-09)' FIELDS TERMINATED BY ',' LINES TERMINATED BY '\r\n' from tbl_mis where date_format(date_time,'%Y-%m-%d')='2011-03-09' group by hour,filename order by hour;[/ICODE] output is ok but one thing is not coming properly that header fields are coming at the … | |
Hi, for i in 84 85 86 87 88 89 90 91 92; do ./runCleanup Session 11${i}; done i tried as we do in perl like for i in 84..92; do ./runCleanup Session 11${i}; done But its showing error. what is the solution. Thanks, Deepak | |
Hi all, I have basic knowledge on perl concepts ... Now i am assigned with a task to automate software build installation process on windows please guide me in the following 1.what are the documents to refer for example scripts on automation 2.Should i have to install any thing else … | |
Hi Experts, Here i am trying to create a script for Auto Back up script to Back up files. files are taking a back up with help of archive zip module along with mentioned the date in corresponding Folder name. Here i am create one xml file for daily updation. … | |
Guys, how do I create a label that when clicked by the user, it will open a website using the default browser. I have seen the control LinkLabel but I do not know how it works or how to use it. Anyone please? | |
Hi all, Once again I am here with a simple problem which is hard enough to solve by myself: I got the following keys in an array: [CODE] 20110225104849 20110225104833 20110225104848 [/CODE] And following files in a folder: [CODE] google_20110225091600.7z google_20110225091622.7z google_20110225100306.7z google_20110225100410.7z google_20110225104833.7z google_ready_20110225100410.txt google_ready_20110225104833.txt Yahoo_20110225091639.7z Yahoo_20110225100320.7z Yahoo_20110225100424.7z Yahoo_20110225104849.7z … | |
Hello I am trying a code from a book, When I run it at local host and enter a number on the box I get this error : Have requested is not allowed to access the directory. Directory, or to read protected, or can not be read by the server. … | |
Hi Friends, I got an ASN.1 file .I need to convert it to readable format.is there any way. Thanks in advance, Deepak | |
How can I run my Perl scripts on my symbian phone? I have been googling for two days, I only found these two links: [url]http://search.cpan.org/~rgarcia/perl/symbian/PerlBase.pod#___top[/url] [url]http://perldoc.perl.org/perlsymbian.html[/url] and I didn't understand them lol so is there a way to use perl on my symbian? either the Perl interpreter or a compiled … | |
Hi, In Windows 2003, i installed the Active Perl. When i log into this system, i am facing this error [CODE]"Perl command line interpreter encountered a problem and needed to close"[/CODE] Error Signature: [B]szAppName: perl.exe szAppVer:5.6.1.631 szModName:ntdll.dll szModVer:5.2.3790.3959 offset:000la379[/B] Error Report Contents: [B]C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\1\WER59ce.dir00\perl.exe.mdmp C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\1\WER59ce.dir00\appcompat.txt[/B] whats a problem? How to fix … | |
Hi, Please see the below one : [CODE]#!c:/perl/bin/perl use CGI qw(:all); print "Content-type:text/html\n\n"; print <<EndOfHTML; <html><head><title>Print Environment</title></head> <body> <FORM action="sample.cgi" method="POST"> First Name: <input type="text" name="first_name"> <br> Last Name: <input type="text" name="last_name"> <input type="submit" value="Submit"> </FORM></body> EndOfHTML[/CODE] From this, i don't know to proceed. There are two text box with … | |
This is very much a bioinformatics problem, so any bioinformaticians familiar with the eUtilities of the NCBI, your help would be much appreciated. I have the following code to get links from a Pubmed search: [CODE]use Bio::DB::EUtilities; my $factory = Bio::DB::EUtilities->new(-eutil => 'elink', -email => 'mymail@foo.bar', -dbfrom => 'pubmed', -cmd … | |
I want to pass the checkbox values from my form to another PHP file upon clicking the next hyperlink. But I am unable to do so. I have javascript in my form which checks that only one checkbox is selected. To use this javascript, I need to name all my … | |
I have an XSD here. [CODE] <?xml version="1.0" encoding="ISO-8859-1" ?> - <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> - <xs:element name="shiporder"> - <xs:complexType> - <xs:sequence> <xs:element name="orderperson" type="xs:string" /> - <xs:element name="shipto"> - <xs:complexType> - <xs:sequence> <xs:element name="name" type="xs:string" /> <xs:element name="address" type="xs:string" /> <xs:element name="city" type="xs:string" /> <xs:element name="country" type="xs:string" /> </xs:sequence> </xs:complexType> </xs:element> … | |
Hi, I am new to java (normally program in perl and bash). I have an array that has X amount of rows that look like this: 2011-02-24,XXXDAO_456912 - (none) - (direct),(none),(direct),(not set),(not set),0,5447,1,3639.71,3521.86,0,0 What I need to do is take this column - XXXDAO_456912 - (none) - (direct) - and … | |
Hi html layout not rendering properly in internet explorer. I have attached the screenshot of the layout rendering in firefox and internet explorer. Please see the area of red rendering in internet explorer and gap between yellow bar and red in firefox where as the same gap is not rendering … | |
Hi All, (EDIT: Amazingly, I clicked on another thread to give myself a break from coding and i found half the answer immediately. Thanks Pritaeaus [url]http://www.daniweb.com/forums/post1478160.html#post1478160[/url]. However, when validation is not passed I still get the messed up page so if anyone can help, I'd be most grateful.) (EDIT 2: … | |
I am trying to split a file into 2 parts. File format is following: filename_status_date.filetype and the files are: apple_india_20110218091255.txt apple_india_20110221112444.txt apple_india_20110301112444.txt I need to split so that first part carries "apple_india" and second part carries the "20110301112444.txt". I tried the following: [CODE] my ($fruit,$end)=split(/\_/); [/CODE] But that splits the … | |
Hi guys, How do i extract a sequences from a fasta file by taking the start and end position from a gene predicted file: here the example the file with the orf statistics is my predicted file and for example the start position for the first orf is 65 and … | |
I can upload one file and would like to allow for 4 - 6 file uploads. I did not write the upload code and all I need is to add more uploads and I am not sure how to alter the code. # maximum file size allowed (kilo bytes) $max … |
The End.