Topic  |
|
Posted - Dec 09 2002 : 23:26:11
|
I have installed a web cam image that is protected by Link Protect, but have a problem.... With an html refresh code it works, but when I try to use java, I get either no image or a protected image... the script is as follows :
<APPLET code="JavaCam.class" width=320 height=240> <PARAM name="url" value="../../cgi-bin/protect.pl?File=my_image.jpg"> <PARAM name="interval" value="5"> </APPLET><BR>
I tried to add the java to the protected folder, but to no avail. Any ideas? . |
|
|
|
Posted - Dec 10 2002 : 18:04:49
|
But I would like to just protect the image..... I am sorry, I am a
newbie with just enough knowledge to be dangerous... I tried this, with the javacam.class in the folder videocam1, but no no avail:
<applet codebase=/videochat1 code="JavaCam.class" height="320" width="240" id="JavaCam"> <PARAM name="url" value="../../cgi-bin/protect.pl?File=mywebcam.jpg"> <PARAM name="interval" value="5"> </APPLET> . |
 |
|
Posted - Dec 10 2002 : 22:51:52
|
Try changing it to:
<applet codebase=/videochat1 code="JavaCam.class" height="320" width="240" id="JavaCam"> <PARAM name="url" value="mywebcam.jpg"> <PARAM name="interval" value="5"> </APPLET>
The images need to be in the codebase folder.
|
 |
|
Posted - Dec 10 2002 : 23:53:00
|
| But since I need to "protect" the image, and the codebase shows to the world the location of the "hidden" folder...... Do I then have to protect the whole file....? EEK ! ;-( |
 |
|
Posted - Dec 11 2002 : 02:32:46
|
| Can you use class and image files in your cgi-bin? |
 |
|
Posted - Dec 11 2002 : 03:37:20
|
| No sure...... |
 |
|
Topic  |
|