Paperlined.org
document updated 17 years ago, on Dec 24, 2008

























































































































Ooops. Either you forgot to include the "ssiittee" variable, or you're looking for documentation on how to use this script.

Sometimes there's a <FORM> that you'd like to convert into a simple URL that you can bookmark or post to Slashdot. But when you do an example search, the typical ?stuff=junk&others=some stuff doesn't show up in the URL. Being a 'leet hacker, you view the source and notice it has a method=POST in the FORM tag. Just for kicks, you pick out the form elements and contruct a URL just in case it might work: http://foobar.com/scriptname.cgi?param1=val1&param2=val2. Alas, it doesn't... the server doesn't accept method=GET URLs. This script is designed to fix that by allowing you to create a method=GET url that gets translated into a method=POST before it's sent to the target server.

For the above example, use http://www.68k.org/~interiot/POSTredir.html?ssiittee=foobar.com&param1=val1&param2=val2, and it should work.

Please note that this script is javascript & plain HTML, not CGI, so it's pretty easy to copy to your own site. If you're going to be using it more than a couple hundred times a year, please do so. I don't own this site and I don't pay anything for its bandwidth. Thanks.