User Profile

Collapse

Profile Sidebar

Collapse
spyka
spyka
Last Activity: Dec 17 '10, 10:12 AM
Joined: Sep 6 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • How do I put a filter expression in the URL using Perl?

    I have issue regarding paging using filter expression. Here's the piece of code for filtering:

    Code:
    if ( $q->param("Filter") )
                {
                $Id=$q->param('User_Id');
                $Name=$q->param('User_Name');
    
               if ($Id ne "" )
                    {
                  $filterexpression= $filterexpression." UserId like '" .$Id. "%' and
    ...
    See more | Go to post
    Last edited by numberwhun; Oct 8 '10, 02:14 AM. Reason: Please use Code Tags!!

  • spyka
    started a topic How can I do the pagination in my Perl CGI script?
    in Perl

    How can I do the pagination in my Perl CGI script?

    I have a CGI page with a table which is populated by fetching the data from database, in a word its like a DATAGRID.

    And just at the bottom right end of tha Grid I need a link like "First << 1 2 >> Last"
    or like" |< < > >| "on clicking which I can navigate to and fro the records. And I am intend to have "10" records per page.

    While surfing I got a piece of code...
    See more | Go to post
    Last edited by Niheel; Sep 20 '10, 08:32 PM. Reason: added code tags, removed the ALL CAPS text

  • ya egxactly...head er is missing thas why its giving
    that error....
    See more | Go to post

    Leave a comment:


  • How can I repeat the menu bar on every page from a Perl CGI program?

    I have a page named _Main.cgi_ where in I have a
    horizontal menu bar with UserList logs and so on
    like the Menu above Questions Tags Users etc.
    Whenever I click the Userlist I get navigated to
    another page where I have a grid. In this page also
    I want that Menu bar which was in _Main.cgi_, and so
    on. It should get repeated to every page.
    See more | Go to post

  • spyka
    started a topic How to create a Combobox in html form
    in Perl

    How to create a Combobox in html form

    Actually I have a CGI form which consists of
    textfields and I need a combobox in which I can
    enter my own data dynamically. May be it seems very
    silly question but I am new to cgi-perl as well as
    HTML so no idea what to do. Here is my form:

    Code:
    #!C:\perl\bin\perl.exe
    
    use CGI;
    use CGI qw/:standard/;
    use CGI::Carp qw(warningsToBrowser fatalsToBrowser);
    my $q = new CGI;
    use DBI;
    ...
    See more | Go to post
    Last edited by numberwhun; Sep 14 '10, 12:41 AM. Reason: Please use code tags!!!

  • spyka
    started a topic Create a Combobox in html form

    Create a Combobox in html form

    Actually I have a CGI form which consists of
    textfields and I need a combobox in which I can
    enter my own data dynamically. May be it seems very
    silly question but I am new to cgi-perl as well as
    HTML so no idea what to do. Here is my form:

    Code:
        #!C:\perl\bin\perl.exe
    
        use CGI;
        use CGI qw/:standard/;
        use CGI::Carp qw(warningsToBrowser fatalsToBrowser);
    ...
    See more | Go to post
    Last edited by gits; Sep 14 '10, 08:44 AM. Reason: added code tags

  • spyka
    started a topic How to create a Horizontal Menu in cgi-perl
    in Perl

    How to create a Horizontal Menu in cgi-perl

    i have a login page called as Login.cgi...aft er entering a valid Password i get redirected to page called as Main.cgi..here i need to have a HORIZONTAL MENU and submenu like as it is in this page like "ASk ur questions" "write an article"..and so on...

    AM new to perl so help me with some codes or links or any websites which might help me in this regard..
    THANK YOU..
    See more | Go to post

  • i tried the fst code ...it works partially...aft er i put the valid password it dispalys ths message
    HTTP/1.1 200 OK Connection: close Date: Tue, 07 Sep 2010 07:21:54 GMT Server: Apache/2.2.16 (Win32) Content-Type: text/html Client-Date: Tue, 07 Sep 2010 07:21:54 GMT Client-Peer: 127.2.7.1:88 Client-Response-Num: 1 Client-Transfer-Encoding: chunked ...and below tha it gives the MESSAGE "logged in successfully" which is in Main.cgi...
    See more | Go to post

    Leave a comment:


  • THAANKS A LOt..i placed the fst code bt after putting valid password-it dint get redirected to Main.cgi..inste ad it gave ths msg..
    "HTTP/1.1 200 OK Connection: close Date: Tue, 07 Sep 2010 07:21:54 GMT Server: Apache/2.2.16 (Win32) Content-Type: text/html Client-Date: Tue, 07 Sep 2010 07:21:54 GMT Client-Peer: 127.9.2.1:80 Client-Response-Num: 1 Client-Transfer-Encoding: chunked "..nd below tha it gave "Logged in Successfully...
    See more | Go to post

    Leave a comment:


  • spyka
    started a topic problem Redirecting from one cgi page to another...
    in Perl

    problem Redirecting from one cgi page to another...

    wenevr after the password validation, if its
    correct then instead of redirecting to another
    page its showing ths msg...
    Status: 302 Found Location: http://localhost/cgi-
    bin/Main.cgi

    please gv me the solution for this...

    Code:
        #!C:\perl\bin\perl.exe
        use strict;
        use CGI qw(:standard);
        use CGI::Carp qw(warningsToBrowser fatalsToBrowser);
    ...
    See more | Go to post
    Last edited by Frinavale; Sep 7 '10, 05:45 PM. Reason: Please post code in [code] ... [/code] tags. Added code tags.
No activity results to display
Show More
Working...