|
Posted by Shailesh Humbad on 10/07/88 11:36
pc wrote:
> hi all,
>
> I have been blessed with the task of writing a web based database
> representing the state of our globally installed isam databases.
>
> there are basically four steps in setting this up:
>
> 1) schedule isam file reports to run at all remote sites. this
> generates a text file describing the current state of tables (files) in
> the database.
>
> 2) schedule an ftp job to pick up these text reports and dump them on a
> central server
>
> 3) parse the reports and write the information to a mysql database
>
> 4) front end web based gui. make the information available (reports,
> alerts, etc.)
>
> Our company wants to use PHP for the front end GUI. Not having had much
> experience with PHP it seems to me that the way to do the above would
> be to do steps 1, 2 and 3 with Shell / Perl scripting (Perl being
> designed for text file manipulation) and then to use PHP to provide the
> GUI.
>
> Anyone's thoughts and / or input on this matter would be much
> appreciated.
>
> cheers!
>
> eddiec :-)
>
You can write background jobs and shell scripts in PHP. They run from
the command line using PHP-CLI. Just type "php myscript.php" from your
shell.
I'm in the process of converting a bunch of Perl, .sh, and .vbs/.wsf
programs I had written awhile back to PHP, just so all my code is
standardized to one language and there is much less need for third-party
extensions/modules. (And, because I'm not good in Perl or bash, and
their documentation can not compare to PHP docs.) Try writing some text
manipulation programs in PHP and you will be pleasantly surprised.
Navigation:
[Reply to this message]
|