Pavel Stessin wrote:
The thing is that the program is already done. And what it does is proccesses a binary file and returns another binary file. It doesn't need to do anything with forms or other HTML proccessing.
And the way the C program works now is with buffers and some simple pointer(array) arithmetics for the binary file processing. So in this case I don't need the good things in PHP... Because of that I'm not sure yet what to use, maybe Perl...
Any comments will be wellcomed.
Thanks, Pavel.
I don't think there would be a problem with doing that in PHP. PHP isn't just HTML/FORM processing, most of the functions are actual C functions, such as: fopen() fread() fclose(), etc. I'm writing a web game, and I write my simulations in C, because it's easier for me to test. Then with hardly any hassle, I can port it in PHP. I would highly reccomend not using perl, as PHP can do anything perl can do faster and with less code. Read the manual, like the previous poster said -- you just need to read it a few times and you will pick it up if your familiar with C.
Just my 2 cents.