Sep 23, 2015, 2:42 AM
Post #4 of 5
Although I don't like that too much, you could probably use the Perl backticks to call a PHP program, but probably not a specific function within a PHP program. Something like that (which should be adapted to the PHP calling conventions, which I have completely forgotten):
Re: [newera] salt and password generation
[In reply to]
Then $password should contain any output provided by the PHP script.
my $password = `php php_script.php $salt`:
But again, PHP is Web-oriented and a bit special in terms of calling and output conventions, there might be some additional tweaking involved, and I don't know enough about PHP to help on this side of the issue.
(This post was edited by Laurent_R on Sep 24, 2015, 5:42 AM)