User Profile

Collapse

Profile Sidebar

Collapse
Archanak
Archanak
Last Activity: May 13 '09, 11:26 AM
Joined: Sep 26 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Archanak
    replied to Retrieve matched values
    Hi,

    But the order is changed.

    I have AND operator in between the queryterms how can i handle that??

    I have another example query3=regular AND perl AND (expressions OR AWK))

    In such case the order becomes very important.

    I want to retrieve title OR description (both) that has all terms i.e regular, perl expressions OR awk!!

    How can i do that?...
    See more | Go to post

    Leave a comment:


  • Archanak
    replied to Retrieve matched values
    Hi,

    Ya in a way like that!!!

    Can u tell me the query???

    can u explain more !!!

    I just want to retrieve title and description of the matched query (query1= regular AND expressions query2=regular AND (expressions OR AWK))

    I should check either title or description that has these queryterms.

    It can be in one or it can be in both also!!!

    How to do...
    See more | Go to post

    Leave a comment:


  • Archanak
    started a topic Retrieve matched values

    Retrieve matched values

    Hi,

    I have table like this:

    Code:
    select * from sampletest;
    
    | title                                                                                                                                                                                                                               | description
    ...
    See more | Go to post

  • Archanak
    replied to Get Values for the id's
    in Perl
    Hi,

    oh ok!!!

    sorry for that!!!

    How to create an hash for that?

    This is just an example of the values!!

    How can i create hash dynamically?...
    See more | Go to post

    Leave a comment:


  • Archanak
    started a topic Get Values for the id's
    in Perl

    Get Values for the id's

    Hi,

    I have an array like this:

    Code:
    @arr="(mouse 18340633
     
    sperm 18340633
    
    proteome 18340633
    
    strip 18340633
    
    Role 18184912
    
    insulator 18184912 )";
    I want to retrieve the words that corresponds to that id.

    I tried removing duplicates and getting the words but it didn't work!!!
    ...
    See more | Go to post

  • Archanak
    started a topic How to copy file from one source to other source?
    in Perl

    How to copy file from one source to other source?

    Hi,

    I am uploading a zipfile and i want to copy the file to some other directory i tried like this.

    Here is the html code:

    Code:
    <html>
    <body>
    <form method='POST' enctype='multipart/form-data' action='/cgi-bin/zip.pl'>
    
    File to upload: <input type=file name=upfile><br>
    Notes about the file: <input type=text name=note><br>
    <br>
    ...
    See more | Go to post

  • Archanak
    replied to Downloading data from online site
    in Perl
    Hi,

    I installed WWW::Mechanize module and the problem i am facing is that it is working in the command prompt and not in the browser.

    Here is the code

    Code:
    #!/usr/bin/perl
    
    use CGI;
    
    use CGI qw(:standard);
    
    use WWW::Mechanize;
    
    print header;
    
    my $m = WWW::Mechanize->new;
    
    $m->get("http://www.google.com");
    
    print $m->content();
    ...
    See more | Go to post

    Leave a comment:


  • Archanak
    replied to Downloading data from online site
    in Perl
    Hi,

    Actually the data is text data and the speed i use is about 100.0 Mbps.

    Is LWP module itself is slow???

    Any other alternative to speedup the process?

    with regards
    Archana...
    See more | Go to post

    Leave a comment:


  • Archanak
    replied to Downloading data from online site
    in Perl
    Hi,

    For one connection i.e once fetching data its taking 1 min so total 3 mins.

    I am working on linux platform.

    Atleast it should take a minute for 3 connections (since 3 times i am connecting)

    Any suggestions??

    with regards
    Archana...
    See more | Go to post

    Leave a comment:


  • Archanak
    started a topic Downloading data from online site
    in Perl

    Downloading data from online site

    Hi,

    I wanted to download some online data from some site so i used perl LWP module.

    code i wrote was like this:

    Code:
    use LWP;
    use LWP::UserAgent;
    $ua=new LWP::UserAgent;
    $ua->proxy(['http','ftp'],'http://group:guest@proxy.ibab.ac.in:3128');
    
    open(FH,">datafile.txt");
    chmod 0777,"datafile.txt";
    $url="http://xyz.com";
    ...
    See more | Go to post

  • Archanak
    started a topic Apache not working for IP address.

    Apache not working for IP address.

    Hi,

    I have apache_2.2.10-win32-x86-no_ssl and the problem is it works for localhost but not for ipaddress. I want to use my ipaddress to run apache server.

    I am working on windows.

    I tried searching for this but couldn't find one proper solution.

    In order to configure apache to take ip address what should i give in Network domain, Server name, Administrator's email address?

    If i run...
    See more | Go to post

  • Archanak
    replied to checkbox passing values
    Hi,

    Thanks for the reply!!!

    Is there any other method using javascript to pass all check box values!

    with regards
    Archana...
    See more | Go to post

    Leave a comment:


  • Archanak
    replied to How to replace sentence?
    in Perl
    Hi,

    what u said is actually right!!!

    Actually one is the main array and other is an array with highlighted terms.

    i want to compare them and print the same.

    Here is other example.
    Code:
    @arr=("TDP-43 is a highly conserved, 43-kDa RNA-binding protein implicated to play a role in transcription repression, nuclear organization, and alternative splicing","For the splicing
    ...
    See more | Go to post

    Leave a comment:


  • Archanak
    started a topic How to replace sentence?
    in Perl

    How to replace sentence?

    Hi,

    I have an array like this:

    Code:
    @arr=("TDP-43 is a highly conserved, 43-kDa RNA-binding protein implicated to play a role in transcription repression, nuclear organization, and alternative splicing","More recently, this factor has been identified as the major disease protein of several neurodegenerative diseases","Our data further evidence TDP-43 as a multifunctional RNA-binding
    ...
    See more | Go to post
    Last edited by eWish; Nov 26 '08, 11:42 PM. Reason: Fixed code tags

  • Archanak
    started a topic checkbox passing values

    checkbox passing values

    Hi,

    Any limits exists while passing values of checkbox to another program?

    Here is the code:

    Code:
    <script type="text/javascript">
    function valuate()
    {
            var txt=''
            var promoter=document.getElementsByName('pmid')
            for (var i_tem = 0; i_tem < promoter.length; i_tem++)
                    if (promoter[i_tem].checked)
    ...
    See more | Go to post

  • Archanak
    replied to Preventing user from copy/paste option
    Hi,

    Is it possible to do such that context menu should not appear or even paste option should not be highlighted?

    It works fine in IE i.e context menu will not appear in IE. but context menu appears in firefox.

    How to avoid that??

    With regards
    Archana...
    See more | Go to post

    Leave a comment:


  • Archanak
    replied to Preventing user from copy/paste option
    Hi,

    I tried!!!

    But i am getting context menu(cut,copy,p aste)

    I don't want context menu to come!!!

    I have only one text box to take email id.

    How should i call this function?

    with regards
    Archana...
    See more | Go to post

    Leave a comment:


  • Archanak
    replied to Preventing user from copy/paste option
    Hi ,

    Thanks for your reply!!!!
    I tried but its giving that message("No right click is allowed) and along with that (cut,copy,paste ,selectall) option menu is also displayed.

    There is no solution for this problem?
    with regards
    Archana...
    See more | Go to post

    Leave a comment:


  • Archanak
    replied to Preventing user from copy/paste option
    Hi,

    Ya sure i will look into that!!!

    Thanks for your reply!!!

    With regards
    Archana...
    See more | Go to post

    Leave a comment:


  • Archanak
    replied to Preventing user from copy/paste option
    Hi,

    Thanks for your reply!!!

    With regards
    Archana...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...