<?php
$cmd = "htmltools.exe www.google.com google.pdf";
echo '<pre>';
$last_line = system($cmd, $retval);// Printing additional info
echo '
</pre>
<hr />Last line of the output: ' . $last_line . '
<hr />Return value: ' . $retval;
?>
$cmd = "htmltools.exe www.google.com google.pdf";
echo '<pre>';
$last_line = system($cmd, $retval);// Printing additional info
echo '
</pre>
<hr />Last line of the output: ' . $last_line . '
<hr />Return value: ' . $retval;
?>
<?php
$cmd = "htmltools.exe www.google.com google.pdf";
echo '<pre>';
$last_line = system($cmd, $retval);
?>
怎么回事?
可以改httpd.conf,配置超时限制,
函数没错啦~