I don't have much knowledge in VB but I want to beable to play with a variable that is pulled from a ".pl" file from the cgi-bin dir.

I have the output outputting an integer only value.

So far but don't work:


<script language="VBS">
Sub GetNum
Dim counter
counter = val("http://cgi.*********.com/cgi-bin/counter.pl")
msgbox(counter)
document.write("Visitors: " & Cstr(counter)) <--------- the Cstr is
definetaly
wrong anyway
End Sub

-->
</script>




Please Help

Paul Goodyear