Java and PHP in harmony?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
oscardog
Forum Contributor
Posts: 245
Joined: Thu Oct 23, 2008 4:43 pm

Java and PHP in harmony?

Post 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!
User avatar
Eran
DevNet Master
Posts: 3549
Joined: Fri Jan 18, 2008 12:36 am
Location: Israel, ME

Re: Java and PHP in harmony?

Post 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.
Post Reply