DJ_AM_Juicebox
asked on
path to element
Hi,
I am using a CMS system which generates an html page dynamically. I echo'd out the path it thinks it's using and I'm left with the following:
/home/mysite/public_html/i ndex.php
I have an applet class sitting at:
public_html/test/applet.cl ass
so shouldn't I be able to link to it directly in the page by doing:
<applet code=test/applet.class width=400 height=400></applet>
I can't seem to resolve the path....
Thanks
I am using a CMS system which generates an html page dynamically. I echo'd out the path it thinks it's using and I'm left with the following:
/home/mysite/public_html/i
I have an applet class sitting at:
public_html/test/applet.cl
so shouldn't I be able to link to it directly in the page by doing:
<applet code=test/applet.class width=400 height=400></applet>
I can't seem to resolve the path....
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
@darron_chapman:
that was it
Thanks all
that was it
Thanks all
$_SERVER['SCRIPT_FILENAME'
EX:
<a href="<?php echo($_SERVER['SCRIPT_FILE