Forum Moderators: open

Message Too Old, No Replies

can anyone explain this code to me?

         

simon03

3:03 pm on May 21, 2004 (gmt 0)

10+ Year Member



The code is below. I understand it is a form, but I don't understand the "action" and the "onsubmit" tags. Where do they lead to? are they even on the same server? How can I view the source? The server is: <snip>

What I want to do is get a hold of the files and host them on my own server. I can view my security cameras with using this code, but I am using their bandwidth. Here is what the code does:
<snip>

BTW: Pico2000 is actually a pirated beta version of software sold on Ebay,so I don't feel bad about using code they wrote for pirated software.

<td><form method="POST" name="VCNT3Form1" action="../../webview/--WEBBOT-SELF--" onSubmit="location.href='../_derived/nortbots.htm';return false;" webbot-onSubmit>

<b><font size="2" color="#dc143c" face="Century Gothic">Camera</font><font face="Century Gothic" color="#333333"> </font></b>
<font color="#333333"> <select name="CAMERA1" size="8" multiple OnChange="ChangeCamera()">
<option value="1" selected>Street North</option>
<option value="2">Street South</option>
<option value="3">Front Door</option>
<option value="4">South Side</option>
<option value="5">Back Window</option>
<option value="6">Back Door</option>
<option value="7">Side Door</option>
<option value="8">PTZ(OFFLINE)</option>
</select>
      <br>

</form></td>
<td><object classid="clsid:4066622E-15E6-11D4-921C-0000C0E68AEB" id="VCnt3Ctrl1" width="100" height="100" codebase="http://www.example.com/VideoClient.CAB#Version=3,3,0,0" border="3">

thanks

[edited by: BlobFisk at 3:28 pm (utc) on May 21, 2004]
[edit reason] Please see TOS regarding URL posting. [/edit]

pageoneresults

3:16 pm on May 21, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



<form method="POST" name="VCNT3Form1" action="../../webview/--WEBBOT-SELF--" onSubmit="location.href='../_derived/nortbots.htm';return false;" webbot-onSubmit>

Hmmm, the

/_derived/nortbots.htm
is a FrontPage error code. I believe this happens when you publish a disk based web to a server and the form uses the save results bot which is this part of the form tag
/--WEBBOT-SELF--
.

This problem will continue to occur if you are working your web as a disk-based web. You will need to work strictly as a server-based web to keep this syntax from rewriting itself.

P.S. The above form appears to submit to itself using the FP webbot. Once it submits to itself, it invokes the FP validation script (mandatory field entries, etc.). After that it stores the data in the

/_private/
directory under whatever file name is given to the "save results" page.

simon03

3:36 pm on May 21, 2004 (gmt 0)

10+ Year Member



so if I have fp extensions and VideoClient.CAB on my server I should be about to host this?

can I convert it to not use fp?

thanks

pageoneresults

3:40 pm on May 21, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



so if I have fp extensions and VideoClient.CAB on my server I should be about to host this?

FP Extensions yes. Not sure what the VideoClient.cab is.

Can I convert it to not use FP?

Yes. But, you'll need something to replace the functionality of that FP script. Most of the time the save results bot is writing to a .txt or .htm file in that

/_private/
folder. At the same time, it is also sending a single email to a recipient with the form information.

I'm also going to assume that the above form is using the FP validation script. You can still use that with whatever method you come up with for the saving of the form results.