+ Reply to Thread
Results 1 to 2 of 2

Thread: Csi/ssi

  1. #1
    Join Date
    Aug 2007
    Location
    Gangstas Paradise
    Posts
    4,143

    Csi/ssi

    Client & server side includes.


    Is it posible for a php script to call a perl script?
    eg:

    Code:
    <?php
    requier "*.pl"
    ?>
     
    *.pl
    #!/usr/bin/perl -wT

    Would this tell the server to change the command line to perl?

    http://dev.x10hosting.com (this has nothing to do with x10hosting)

    ->All us helpful people here at x10hosting would like to reach our next user groups, "Community Paragon". Please click the +rep icon on the left hand side of a post if that post was helpfull.



  2. #2
    deadimp is offline x10 Sophmore deadimp is an unknown quantity at this point
    Join Date
    Jun 2007
    Posts
    249

    Re: Csi/ssi

    I don't think you could execute it by using require() or include() in php, but you probably could use command execution to do it. Something like `perl *.pl`. I'm not sure how the cwd will work in this case, though.
    deadimp.org
    > Thacmus [v0.3.0] - Open source CMS, PHP 5, MySQL

    "¡Ya lo sabo!" - Lo Ausente

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers