>extract_key.
 >
 >I'd apreciate some help here, or, maybe Ig, could you have a look at
 >that? I realy don't know what exactly this should do, so its hard to
 >tear it appart and put it proper together again...

extract_key() parses MIME headers and extracts the key/value parameters
contained therein.  For example, if you have a header like this:

Content-type: text/foo; name="bar.txt"; charset=UTF-8

You could use extract_key() to learn the "name" and "charset" fields.  It
will also strip the quotes off the "name" field after it's done.

Reply via email to