PHP and java

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
Vantuykom
Forum Newbie
Posts: 19
Joined: Fri Jul 04, 2003 6:22 am

PHP and java

Post by Vantuykom »

Hi,

I am experimenting with PHP and JAVA, I can let things work on my pc, but now I want to upload it to the server from my hosting-provider.

On my machine, java.class.path in php.ini is 'java.class.path="C:\PHP\php-4.3.3-Win32\extensions\php_java.jar;C:\temp\"' where my own classes are in c:\temp\.
Now I have to find a way to access my classes that I have put in a folder 'javaclasses' on my website. How can I do this without getting a class.not.found error??

thanx in advance
User avatar
dull1554
Forum Regular
Posts: 680
Joined: Sat Nov 22, 2003 11:26 am
Location: 42:21:35.359N, 76:02:20.688W

Post by dull1554 »

easy if you can EDIT you stinkin PHP.INI file

but i think thats the only way
Vantuykom
Forum Newbie
Posts: 19
Joined: Fri Jul 04, 2003 6:22 am

Post by Vantuykom »

that's the whole problem... I can't... :(
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

You can set the value using [php_man]ini_set[/php_man]().

Mac
Post Reply