> > How is this done?
> >
> > Does the PHP call another program or can I include C/C++ code in the .php
> > file?
> >
> > (ps: The file is CLI, run at the command line).
> >
> > Maybe a dumb question but I needed to ask.
>
> compile the C++ into an executable.
> call it from php:
> <?php
> shell_exec('command to run');
> ?>
>
> (though i'm not sure this is a good approach)While having the PHP script call the C/C++ binary is the easy part, it needs to somehow receive back a whole lot of data (currently this data is passed through from the s-l-o-w as anything PHP function to the next part of the PHP script in an array). The data set is between a few thousand records and over 1-million. Michael --~--~---------~--~----~------------~-------~--~----~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to [email protected] To unsubscribe, send email to [email protected] -~----------~----~----~----~------~----~------~--~---
