Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re^4: Location redirect

by himik (Acolyte)
on Nov 02, 2012 at 11:52 UTC ( #1001953=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    <form action="login.cgi" method="post">
      username <input type="text" name="usr">
      password:<input type="password" name="pwd">
      <input type="submit" value="LOGIN">
  2. or download this
    my $req = new CGI;
    my $usr = $req->param('usr');
    my $pwd = $req->param('pwd');
  3. or download this
    if ( ($usr eq 'test') and ($pwd eq 'test'))
      print $req->header(-type=>'text/html', -location=>"http://www.exampl$usr&password=$pwd")
  4. or download this
    <form action="index.cgi&param1=10&param2=3&param3=2" method="post">
      username <input type="text" name="user">
      password:<input type="password" name="password">
      <input type="submit" value="LOGIN">

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1001953]
[Corion]: Hmmm... Weird. Maybe it needs that for doing its timers or something. Still weird.
[Corion]: But I guess I'll find out soonish, as my application seems to use Prima for more than just displaying the OpenGL output soonish ;))
[ambrus]: No, I think the timers are handled fine in the event loop, as far as I can see.
[Corion]: So far, I liked Prima quite well as it simply seems to do what I want even if it has an upside-down coordinate system. But it installs from CPAN out of the box and is cross-platform

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2016-12-09 10:39 GMT
Find Nodes?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:

    Results (150 votes). Check out past polls.