I'm trying to make a Java Applet onto a PHP script named Play.php for my forums. I added the files to my FTP client and added to directory to the Play script. Here's the file:

<?php
if (!defined('SMF'))
	die('Hacking attempt...');

function Play()
{
	echo '
		<html>
			<head>
				<title>RS3 Newstart</title>
			</head>
			<body>
				<center>
					<applet name = "RS3 Newstart" width = "500" height = "85" code = "./Client/bin/LoadApplet.class">
						<param name = "java_arguments" value = "-Xmx1024m">
					</applet>
				</center>
			</body>
		</html>
	';
}
?>

The directory is correct because I put the Client folder into my FTP client as well. The Client folder contains the Java files to run. But, I don't know why it's giving me a ClassNotFoundException. It might be a Java error, but I came here because I thought it had something to do with the FTP client. I'm using the one in 000webhost.com. Help is appreciated. Thanks.

    its an error with in the applet, noting to do with php

      Write a Reply...