Page 1 of 1

Java and PHP in harmony?

Posted: Sun Nov 16, 2008 8:49 am
by oscardog
Well i have to show my teacher what i have learnt so far, have been doing Java for a bit at college and most people have only done it for about 2months, but i was learning it before we even started college so am ahead of them

Is it possible to like make a Java program, that then submits data to a MySQL database? So say i had a blog, i could use PHP inside that java application to edit my blog, maybe add an article/delete an article etc

Anyone know if this can be done, and if so any informaiton about using PHP inside Java would be extremely useful.

Thanks!

Re: Java and PHP in harmony?

Posted: Sun Nov 16, 2008 10:03 am
by Eran
Java and PHP can intermix using a java bridge. There are multiple implementations of it available, like this open source package for example. If you google the term you will find more.