User Profile

Collapse

Profile Sidebar

Collapse
Lorna
Lorna
Last Activity: Mar 25 '08, 06:37 PM
Joined: Dec 16 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Lorna
    started a topic Find index of an array item on a form

    Find index of an array item on a form

    I have a table on a form containing 2 columns - size type and size. Depending on the size type (Mens, womens, Youth) I want to change the set of sizes available (in an option box). I have been able to do this (in Mozilla - haven't tested in IE yet) for a single row, and have been able to set the size list for an indexed row but cannot figure out how to tell on which row the size type has been changed.
    My function follows : (when I set j...
    See more | Go to post
    Last edited by gits; Mar 25 '08, 02:13 PM. Reason: added code tags

  • Lorna
    replied to Can't get HTTP_REFERER
    in Perl
    Thanks Jeff
    No I am not any the wiser - I had read all of that - through other sources. The insert of HTTP_REFERER into the HEAD was just another attempt to make it work - you have confirmed what I thought - that the variable is set (or not set) by the method of getting there - not by a specific setting in the calling program.
    Yes I generated it with a Perl script using CGI? and a post rather than a get.
    In any case, due...
    See more | Go to post

    Leave a comment:


  • Lorna
    replied to Can't get HTTP_REFERER
    in Perl
    Sorry - forgot to get in the assignment statement that I have also tried in the <HEAD>
    <HTTP_REFERER=" www.ottawaoc.ca ">
    If you want to look at the code online, go to ottawaoca.ca/scgi-bin/COC_2008.pl
    put in a name and a phone or email, click 'Enter indiv runners,' then 'enter participants', then put in a yob, then click on 'submit this entry' and finally on the red and white icon. The code behind the red...
    See more | Go to post
    Last edited by numberwhun; Jan 7 '08, 05:21 PM. Reason: add code tags

    Leave a comment:


  • Lorna
    replied to Can't get HTTP_REFERER
    in Perl
    Sorry - forgot to get in the assignment statement that I have also tried in the <HEAD>
    <HTTP_REFERER=" www.ottawaoc.ca ">...
    See more | Go to post
    Last edited by numberwhun; Jan 7 '08, 05:13 PM. Reason: add code tags

    Leave a comment:


  • Lorna
    replied to Can't get HTTP_REFERER
    in Perl
    I loaded the page through a perl program - here is the start of the html it creates as well as the <form> post section
    [code=html]
    <HTML>
    <HEAD>
    <TITLE>ECOC Registration - OOC</TITLE>
    here I have had <HTTP_REFERER
    <style type="text/css"> some style stuff
    </style>

    </HEAD>
    <BODY>...
    See more | Go to post
    Last edited by numberwhun; Jan 7 '08, 05:12 PM. Reason: add code tags

    Leave a comment:


  • Lorna
    started a topic Can't get HTTP_REFERER
    in Perl

    Can't get HTTP_REFERER

    I can't seem to get the ENV variable HTTP_REFERER when posting with CGI from one program to another. In my post program I have put in the <HEAD>
    Code:
    HTTP_REFERER =my host
    - ie www.xyz.com (I have also tried removing it entirely in case that was causing problems.

    I have tried to extract the HTTP_REFERER in my receiving program with
    Code:
    $http_ref = $ENV{'HTTP_REFERER'};
    That didn't work so I just printed all...
    See more | Go to post

  • Lorna
    started a topic Passing 2 dimensional array through CGI Post
    in Perl

    Passing 2 dimensional array through CGI Post

    I have a HTML form with a table to receive info about 6 persons. The information received is name, age, and 3 events - short, middle, and long.

    I want to post this information to a Perl program in which I would prefer to have the 3 events put into a 2 dimensional array. So far I am using the 'param' function to assign my variables i.e.
    Code:
    my @name = param('name');
    my @age = param('age');
    I have tried...
    See more | Go to post
No activity results to display
Show More
Working...