Jump to content

shell_exec


blakesmoore

Recommended Posts

Hi,

 

I have a html form...

 

<form name="myform" action="blake.php" method="POST">

<textarea cols="40" rows="5" name="domains">

</textarea>

<input type="submit" value="Submit" />

</form>

 

I want to run a script on the outout of the text area.

 

I have tried using this for file

 

blake.php

 

<?php

$output = shell_exec('expiry '$_POST['domains']'');

echo "<pre>$output</pre>";

?>

 

But i have no luck...

 

any ideas?

 

 

Link to comment
https://forums.phpfreaks.com/topic/267801-shell_exec/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.