Posted by Michael Fesser on 05/09/07 18:50
..oO(shimmyshack)
>if you wanted to just submit info you could indeed use get.
><script type="text.javascript" src="http://www.whereever.com/
>ProcessTheData.php?A=Field1&B=Field2"></script>
>that would do, stick it in the head and the data is sent to the
>script.
>ProcessTheData.php
>should return the correct content-type for javascript.
>header( 'Content-Type: text/x-javascript' );
JFTR: There are registered MIME types for JavaScript:
http://www.rfc-editor.org/rfc/rfc4329.txt
http://www.iana.org/assignments/media-types/application/
Micha
[Back to original message]
|