LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 09-07-2011, 06:17 PM   #1
d072330
Member
 
Registered: Nov 2007
Location: USA
Distribution: CentOS
Posts: 174

Rep: Reputation: 6
Angry 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!
 
Old 09-07-2011, 09:28 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,978
Blog Entries: 11

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


Cheers,
Tink
 
Old 09-08-2011, 12:05 AM   #3
d072330
Member
 
Registered: Nov 2007
Location: USA
Distribution: CentOS
Posts: 174

Original Poster
Rep: Reputation: 6
Nope I have the script in /usr/local/bin still. I will move it there tomorrow and will post update.
 
Old 09-09-2011, 09:21 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,978
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
And how did that go?
 
Old 10-10-2011, 03:58 PM   #5
d072330
Member
 
Registered: Nov 2007
Location: USA
Distribution: CentOS
Posts: 174

Original Poster
Rep: Reputation: 6
it did not go so I moved on to a different solution.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how does java calls the system calls which are written in c babu198649 Linux - General 3 12-05-2011 03:40 AM
LXer: amon.so: Hijacking System Calls For Hardening PHP - Debian Lenny And Squeeze LXer Syndicated Linux News 0 04-11-2011 02:30 PM
system calls arispipis Programming 2 03-19-2008 06:59 PM
How to link to reference linux timer calls? Undefined --bad_delay for udelay() pat_and_cami Programming 1 02-19-2006 06:30 PM
javascript calls to embedded echo'd php forms xemous Programming 1 08-21-2005 06:29 AM


All times are GMT -5. The time now is 06:47 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration