RE: [PHP] Best Approach
| From: | Jay Blanchard | Date: | Tue, 22 Jan 2008 13:29:49 +0000 |
| Subject: | RE: [PHP] Best Approach | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-267828@lists.php.net to get a copy of this message | ||
[snip]
Is PHP a correct approach to solve this tedious problem?? Can I access a
servers and get the results of a ls command for instance??
[/snip]
You can use some of PHP's functions, such as readdir() (roughly an ls in
PHP land http://www.php.net/readdir ). You can also use
exec (to
execute) and other commands like fopen (to read, write, append). PHP
will actually work pretty well.