Re: vbscript not running in php but running as a vbs file

Sascha Meyer <[email protected]>
Newsgroups gmane.comp.php.windows
Message-ID <[email protected]>
Doh!

Now I found the error:

> if i add this to a php page with the tags
> <SCRIPT LANGUAGE="VBScript">
> ......
> </SCRIPT> 

these lines will not be rendered by the server, the will directly be 
send to the browser, so the browser will try to execute this part of 
code (and only IE will process vbscript tags).
If you want the server to process the code, switch to:

 > <SCRIPT LANGUAGE="VBScript" RUNAT="Server">
 > ......
 > </SCRIPT>

but to be honest, I don't know if these lines will be parsed if they are 
part of a php script file (which will be handled by php-cgi.exe); if 
they were part of an asp script file, they will likely work.

Regards,

Sascha

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.