http://www.perlmonks.org?node_id=287132


in reply to Re: Re: Re: Bandwidth Testing
in thread Bandwidth Testing

Quick question for you did you have to do anything special to get this to run correctly?? I am getting a print out that says "please invoke as /cgi-bin/speed_test.cgi?data_size=100 . Does this mean anything to you?? Here is my basic HTML for testing:
<form name="form1" method="get" action="/cgi-bin/speed_test.cgi"> <input type="submit" name="Submit" value="Start"> </form>

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Bandwidth Testing
by Preceptor (Deacon) on Aug 27, 2003 at 21:48 UTC
    It means that you need a field in the cgi for 'data_size'.
    I'd suggest adding (iirc):
    <INPUT TYPE="HIDDEN" NAME="data_size" VALUE=100>
    in your form (could be wrong there).
    Basically, you're looking for a URL that looks something like:
    http://www.myserver.net/cgi-bin/speed_test.cgi?data_size=100
    You could always hardcode the data size though, depending on what suits you.