running php script below says cannot instantiate non-existant class Java
<HTML>
<HEAD>
<TITLE>Autogenerated HTML</TITLE>
</HEAD>
<BODY>
<Form name="logon" TARGET ="<?php echo $PHP_SELF;?>" method =GET>
<APPLET CODE="Applet1.class" WIDTH=426 HEIGHT=266></APPLET>
<input type=submit value="submit">
<?php
echo "Hello world!";
echo "Current PHP version: ".phpversion();
echo "Interface b/n webserver and PHP : " .php_sapi_name();
$appltvar = new java("java.applet.Applet");
$applt = $appltvar.getApplet(Applet1);
// demonstrate property access
if($applt.textField1.getText() == "" )
print 'USERID IS EMPTY';
$system = new Java("java.lang.System");
// demonstrate property access
print "Java version=".$system->getProperty("java.version");
?>
could you guide us for the paths to be set..
thanks & regards,
shan.
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]