Re: Re: Call PHP script from MySQL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

you may call external php script someting like that

$val = asp's_fopen(http://www.example.com/calculate.php?var=password_field);

<php // calculate.php
echo correct hash (vpopmail);
?>

Regards

Sancar

On Wednesday 20 February 2008 01:58:48 Mário Gamito wrote:
> 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux