Hello,
I have started working on a server-side scripting language. You can download it and test it and pleaaaaase give some comments.
You will need to configure your server ro run .gsp files by an interperter i included in the package
sample script and it is included in the package (![]()
its working!
to test it pass a query string parametres of a and cccc
it will say what is bigger: a or cccc and write some environment variables.
Thanks you,Code:<$ WriteData ("Content-type: text/html\n"); $> <html> <body> <$ $strfunc >> VALUE$ *a >> a $strfunc >> VALUE$ *cccc >> cccc $> <font color=blue>a & cccc tests: <$ if (a = cccc){ WriteData ("a and cccc are same!"); } if (a > cccc){ WriteData ("a is bigger than cccc"); } if (a < cccc){ WriteData ("cccc is bigger than a"); } $> </font> <p></p> <table border=1> <tr> <td>User-Agent: </td> <td> <$ $strfunc >> ENV$ *HTTP_USER_AGENT >> Enviro_Agent $writehash ("Enviro_Agent"); $> </td> </tr> <tr> <td>User-IP:</td> <td> <$ $strfunc >> ENV$ *REMOTE_ADDR >> Enviro_IP $writehash ("Enviro_IP"); $> </td> </tr> <tr> <td>User-IP:</td> <td> <$ $strfunc >> ENV$ *SERVER_SOFTWARE >> Enviro_ServerSoftware $writehash ("Enviro_ServerSoftware"); $> </td> </tr> </table> </body> </html>
made_of_asp


its working!
Reply With Quote