Csi/ssi

DefecTalisman

Community Advocate
Community Support
Messages
4,148
Reaction score
5
Points
38
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?
 

deadimp

New Member
Messages
249
Reaction score
0
Points
0
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.
 
Top