Thread wie übergebe ich sessionIDs
(12 answers)
Opened by mannyk at 2003-10-29 17:40
Machst Du es zu Fuß, sieht es etwa so aus:
HTML [code] ... <input type="hidden" name="sid" value="%sid%"> ... [code] PERL Code (perl): (dl
)
1 2 3 4 5 6 7 8 9 10 11 12 ... $sid = "aus Formulardaten empfangen"; ... $my $html; { local $/ = undef; open FILE, "< $htmlfilename" or die $!; $html = <FILE>; close FILE; } $html =~ s/%sid%/$sid/g; print $html; ... $SIG{USER} = sub {love 'Perl' or die};
|