Any clue on how to pass parameters to function main (supposing I need to know the HTML page from which I call the Texis script for a search)? Thanks Antonio
Send them in as CGI query string variables .../script/?param=value Or as post variables from a form <input type=hidden name=param value=value> See http://www.thunderstone.com/vortexman/node18.html and http://www.thunderstone.com/vortexman/node15.html The parameter you're asking for is generally set by the web browser/server already though. It's called HTTP_REFERER in many webservers.