Hi Guys
Apologies if this has been asked before but have searched PHPRunner forum in vain
I have managed to include a textbox and button on a page with the following code
<INPUT type=textbox value="{$row.1TargetPC_value}" name=message><INPUT onclick=Run(message.value) type=button value=Run>
this works fine
but when I try to include the following VBScript
<script Language="VBScript">
<!--
Function Run(mcName)
Set wobject = createobject("wscript.shell")
wobject.run "cmd /c \\PCBlah\c$\Run.vbs " & mcName &" >c:\test.txt", 0, True
Msgbox "Run Complete on " & mcName
End Function
-->
</SCRIPT>
I get load errors - even though the script works !
I have included the script in the head - not that it seems to make a difference - any ideas ??