Passing a param.

2002-04-13 Thread Tor Hildrum
Hi, I have the following script: First page asks for course(chosen from an array). print p("Velg arrangement: ", popup_menu("arrangement", \@arrangement)); When this is selected, the user hits a submit button and is taken to the second page. Here it says how many users are all ready signed up fo

Problem with GD graph module

2002-04-13 Thread ChaoZ InferNo
Hi, I am drawing out graphs using GD graph modules and I am having problems on labelling every individual bars if possible. Do i use GD::Text to generate like a horizontal label on the graph? Or is it one of the GD:graph limitation whereby I cannot add anything onto the graph itself? Seems lik

login system

2002-04-13 Thread Matthew Harrison
I am trying to write a members area for my website using cookies. I have got   the script which checks the username and password, then sets a cookie containing the ID of that user. What I eventually want is a small script that I can put in my restricted html pages using SSI, that will check to

Re: login system

2002-04-13 Thread Bill Lyles
Yes you are. first of all, the cookie script should reside with the rest of your cgi-scripts in the cgi dir, second, it should be part of the overal program. in other words you would add a cll header like require cookie.pl or whatever you are using for a script tiltle to caal the function to check

Help on GD Graph

2002-04-13 Thread ChaoZ InferNo
Hi, I am supposed to use the graph to generate the results of a set of questions which I asked my clients. I am able to generate the graph using the GD::Graph Module without any trouble. But the thing is the legend. I am squeezing the main results into one common graph BUT the idea is that

Re: log-in/out w/o cookies

2002-04-13 Thread Teresa Raymond
What I've done is: 1) have login page w/ hidden input name="formname" w/ some value leads to 2) cgi prog that cks that formname eq "some value" and the username & password1 and password2 first exists: *unless ($informname eq "some value" && (-e $inusername) && (-e $inpassword1) && (-e