Re: Re: Call PHP script from MySQL

From: Date: Tue, 19 Feb 2008 23:58:48 +0000
Subject: Re: Re: Call PHP script from MySQL
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-269604@lists.php.net to get a copy of this message
Hi Nathan,
Is it possible to call from within MySQL an external PHP script ? I've read "MySQL Stored Procedure Programming" from O'Reilly but found nothing :(
I'd really like to see an example of why you need this functionality, if that'd be okay. Not to judge, just to learn :)
I'm inserting values in a Linux/MySQL table from an ASP.NET/C# page. I need to insert the password field with the correct hash (vpopmail). So, after the first insert leaving the password field blank, I need to invoke a PHP script that calculates the hash and then insert it. Warm Regards, Mário Gamito

« previous php.general (#269604) next »