User Tools

Site Tools


cgi_jquery

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
cgi_jquery [2022/10/17 12:52] admincgi_jquery [2022/10/17 12:55] admin
Line 26: Line 26:
 my $n=scalar(@pairs); my $n=scalar(@pairs);
 print OUT "THere are $n values\n"; print OUT "THere are $n values\n";
-print OUT Dumper(@pairs);+#print OUT Dumper(@pairs);
 my %FORM; my %FORM;
 foreach my $pair (@pairs)  foreach my $pair (@pairs) 
 { {
     my ($name, $value) = split(/=/, $pair);     my ($name, $value) = split(/=/, $pair);
-    print OUT "name=$name value=$value\n"; +
-    #    print "$name-$value\n"; +
-    $value =~ tr/+/ /; +
-    $value =~ s/%5B//g; +
-    $value =~ s/%5D/ /g; +
-    #    $value =~ s/%([a-fA-F0-9] [a-fA-F0-9])/pack("C", hex($1))/eg; +
-    #$value =~ s/~!/ ~!/g;+
     $FORM{$name} = $value;     $FORM{$name} = $value;
-    #    print "Name=$name"." value= ".$value; +
-    #print "\n"; +
-    #print $buffer."\n";+
 } }
 print OUT "Printing form\n"; print OUT "Printing form\n";
Line 65: Line 57:
 $VAR11 = 'CK_imap.gmail-3.com.db'; $VAR11 = 'CK_imap.gmail-3.com.db';
 $VAR12 = 'CK_imap.gmail-3.com.db'; $VAR12 = 'CK_imap.gmail-3.com.db';
 +...
 </code> </code>
  
-Dump is weird.  It dumps hashs as an array of pairs so this is what the hash really looks like:+Dump is weird.  It dumps hashes as an array of pairs so this is what the hash really looks like:
 <code> <code>
 {"query":"" {"query":""
Line 73: Line 66:
 "xDB":"_ODB_" "xDB":"_ODB_"
 "xSORT":"_OSORT_"} "xSORT":"_OSORT_"}
 +...
 </code> </code>
  
  
cgi_jquery.txt · Last modified: 2022/10/17 12:57 by admin