Shell | Perl | Python Scripting

Monday, February 18, 2013

Execute Shell Script in PHP

<?php
$output = shell_exec('ls -lart');
echo 
"<pre>$output</pre>";?>
Posted by Unknown at 11:30 PM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ▼  2013 (10)
    • ▼  February (10)
      • A Regular Expressions Approach To Sed And Awk
      • A Regular Expressions Approach To Sed And Awk
      • Simple Backup Script
      • Shell Script - Install RPM
      • Execute Shell Script in PHP
      • Shell Script with Operator
      • Shell Login Script
      • Shell Script Tar and Compress the backup
      • Shell Script Copy all .C file from one location to...
      • Introduction to Sed
  • ►  2012 (15)
    • ►  December (14)
    • ►  November (1)

Contributors

  • Unknown
  • Unknown
  • Yaqoob S.
Simple theme. Theme images by gaffera. Powered by Blogger.