Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
I am intergrating php with java.
Fedora Core 3
php 5.1.4
http 2.0.52-3
java jdk 1.5.0_07
I have compiled php-java-bridge-3.1 with java support without errors,
php.ini file has the following entry
extension = java.so
[Java]
I am following the steps given in http://php-java-bridge.sourceforge.net/INSTALL
The following command from the console gives "java running"
echo '<?php phpinfo() ?>' | php | fgrep java
But
wget -olog -O- http://localhost/phpinfo.php|fgrep java
does not give "java running" or does not show the java support.
In the browser
http://localhost/test.php
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
I have successfully integrated java support in php. And the sample program are running well.
Sample program 1:
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
[color=darkgreen][b]feyd[/b] | Did this post need to be entirely bolded?[/color]
i am sorry but that doesnt work... or is it i havent understood what you have written.
Could you be more precise with an example showing how to implement an interface in php and call that method.