[Xitami] basic as a script cgi code
Stuart Hands
shands at redlineuk.com
Thu Jun 5 23:21:32 CEST 2008
You're right Paul! Back on track...
I'm not too sure what Jeff is trying to do though. Going back to the
original message, I'm guessing your DBF resides on the server and you're
wanting to query it for the purpose of displaying it's content on your site?
If this is the case, I think you might be going about it the wrong way:
HTA's were Microsoft's way (starting back in the days of IE5) of turning
'regular' HTM files into basic client-side applications. As far as I know -
they're not really used for server-side scripting. MSDN has an interesting
overview of what HTAs are and why on earth you would want to use them
located here: http://msdn.microsoft.com/en-us/library/ms536496(VS.85).aspx.
You may remember that these were all the rage for a while with some vendors
even using them to create 'wizzy' autorun applications (that suffered from a
million and one security violations - I wonder why they never took off?!!)
Also, HTA's (whilst strictly speaking are just .html's renamed to .hta) do
add some additional tag's to the html language. However, it doesn't modify
existing tags. The <SCRIPT> tag remains unaffected and so doesn't add any
RUNAT functionality (check out w3schools for a good reference for this tag
here: http://www.w3schools.com/TAGS/tag_script.asp)
I'm guessing though that you've already got a HTA that queries your DBF? If
so, could you paste the VBScript so that we could take a look? (just
segments if necessary please!)
Cheers,
Stuart
> -----Original Message-----
> From: xitami-bounces at lists.xitami.org
[mailto:xitami-bounces at lists.xitami.org] On Behalf Of > Paul Reid
> Sent: 05 June 2008 20:46
> To: Xitami Users General Discussion
> Subject: Re: [Xitami] basic as a script cgi code
>
> Magnus, Marc, Stuart, David-
>
> Thanks for your comments and rebuttals, but....
>
> Does anybody have help for Jeff's questions?
>
> Paul Reid
>
>
> -----Original Message-----
> From: xitami-bounces at lists.xitami.org
[mailto:xitami-bounces at lists.xitami.org] On Behalf Of > Jeff McDonald
> Sent: 04 June 2008 06:02 CEST
> To: Xitami Users General Discussion
> Subject: Re: [Xitami] basic as a script cgi code
>
> Hi All
>
> Dose the "runat server" command work in Xitami? I have an "hta" file
> that I would like to us to query a "dbf" file. I changed the "<script
> language="VBScript" >" to "<script language="VBScript" runat="SERVER">"
> . Ran it in my cgi-bin. That did not work, but no error message was
> displayed.
>
> Is this an XP problem?
> Is it a Xitami problem?
> Is it a code problem?
>
> What am I doing wrong?
>
> Thanks from Jeff McDonald
More information about the Xitami
mailing list