Public feed #531032

Stuff

public text v1 · immutable
Raw Edit
·published 2007-06-02 10:22 UTC
rendered paste body
<?php # Yo.php
session_start();
$_SESSION['CAPTCHA'] = "RANDOM";

?>
<form method="post" action="cgi-bin/mail.pl">
<input type="submit" name="key">
</form>


#mail.pl

use CGI::Session;
our $session = new CGI::Session("driver:File", undef, {Directory=>'/tmp'});
$keyc = $session->param('CAPTCHA');

die "$Config{key} and $keyc lol";

# outputs key_field_value(works) and  lol ( no value for SESSION? )