Java and PHP
| From: | Nold, Mark | Date: | Fri, 11 Aug 2000 01:03:50 +0000 |
| Subject: | Java and PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-11250@lists.php.net to get a copy of this message | ||
----------------------------------------------------------------------------
-----------------
Disclaimer: The information contained in this email is intended only for the
use of the person(s) to whom it is addressed and may be confidential or
contain legally privileged information. If you are not the intended
recipient you are hereby notified that any perusal, use, distribution,
copying or disclosure is strictly prohibited. If you have received this
email in error please immediately advise us by return email at
postmaster@normandy.com.au and delete the email document without making a
copy.
----------------------------------------------------------------------------
-----------------
I havent tried using SQL and Java from PHP (im not sure why you'd want to
but thats another issue) but your problems could have something to do with
the fact that PHP doesnt honour the class path set in your system
environment. That is you must set up the CLASSPATH in your PHP.INI.
The other fact is that php (as of PHP4 pl1) doesnt use . as a valid
classpath. So you have to have your class's somewhere in your classpath not
your current directory.
I wrote a small .php with some more info and examples. If you want it just
mail.
mn
Mark Nold
markn@alverstone.com.au
Systems Consultant
Change is inevitable, except from vending machines.