SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast wordgeist's Avatar
    Join Date
    Oct 2009
    Posts
    38
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    executing perl script from PHP

    any of you knows how can I execute a perl script from php?

  2. #2
    SitePoint Member
    Join Date
    Oct 2009
    Location
    Melbourne VIC
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well, you can use "exec" to execute anything your server can run, including Perl scripts; Google for "php exec" to get to the docs for it (and do mind the security warnings at the bottom of the page).

  3. #3
    SitePoint Member
    Join Date
    Nov 2009
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can also use backticks:

    Code:
    echo `ls -l`;


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •