C
C
celsoft2017-04-05 02:19:58
Perl
celsoft, 2017-04-05 02:19:58

How to fetch from mysql and run php file in shell/perl?

Hello. We need a shell / perl script that will select from mysql and run a php file with the transfer of received data from mysql to it (one field). After starting, you need to wait until the php file is executed and returns the response. Print response to console. After the output of the answer, continue the selection. There are more than 8 million records in the database.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rsa97, 2017-04-05
@celsoft

And who needs such a perversion? Isn't it easier to get data from MySQL directly in a php script?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question