kot1964
08-06-2002, 08:23 PM
Please, can anyone tell me how to call any executable program using JavaScript on the server side.
I need to run a program that would run a complicated report and save the result in a PDF format file. Then I will open that file in browser to show to the user.
beetle
08-06-2002, 08:40 PM
Javascript server-side? Never done any. Found a good link (maybe) to get you started though.
http://oradb1.jinr.ru/netscape/wssja/jsserv.htm
Good luck!
kot1964
08-07-2002, 01:14 PM
Is there any way to run external program within script.
Kind of like - exec("c:\file.exe") or run("c:\file.exe") e.t.c.?
brothercake
08-07-2002, 01:21 PM
Not really no - server-side javascript is defunct technology. Client side javascript can only open executable programs in with low-security settings, and even then only in IE.
Many server-side languages can create PDF documents, but if you want to open and run and windows program, you will need a windows server environment - specifically IIS.
kot1964
08-07-2002, 02:07 PM
Can you give some script examples to run program, because I'm really new in that field.