Help to create a Return Button using shell script CGI

[LEFT]Hello Guys,

I would like to know how can I create a radio button on that its possible to return to the last page, using a ksh CGI shell script.

Can someone help ?

Thanks so much !!!:b:

I tried this, but it is a javascript code !

<INPUT TYPE="button"
      VALUE="BACK"
    OnClick="history.go( -1 );return true;">

[/LEFT]

The server knows little or nothing about the client's browsing history, so really, javascript's the way to go.

#!/bin/sh
## Name: back.cgi

printf "Content-Type: text/html\n\n"

echo "<a href=\"${HTTP_REFERER:-./}\">BACK</a>"

In the HTML:

<!--#include virtual="back.cgi" -->