Hi,

I'm running a web server , and the web server will call the perl script to call a exe when a button is click on a web page.

eg. Click a button on web page, and the notepad will appear.

I use the system('notepad.exe') in my scripts, but it didn't work.

Please help.

-aG

That's because the perl script is running on the server side, so you simply attemtped to open notepad on the server, rather than the client. If you want to open something on the client, then you need something that is actually executing on the client such as JavaScript, or ActiveX controls, etc.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.