-   Programming (
-   -   PHP System calls using a link (

d072330 09-07-2011 06:17 PM

PHP System calls using a link
Does anyone know how to execute a perl program by clicking a link in a php page?

I have done this before but cannot remember and cannot find the code, !#$%!#@%.

I want to have two links for starting a service and shutting down a service.

This is driving knucking futs to so any help will be great!

Tinkster 09-07-2011 09:28 PM

Ummm .... is the perl-script in the servers CGI directory?
Otherwise it will be displayed rather than run ...


d072330 09-08-2011 12:05 AM

Nope I have the script in /usr/local/bin still. I will move it there tomorrow and will post update.

Tinkster 09-09-2011 09:21 PM

And how did that go?

d072330 10-10-2011 03:58 PM

it did not go so I moved on to a different solution.

All times are GMT -5. The time now is 01:51 AM.