How do I call the following Perl script from an HTML page?

wget --user=user --password=password <camera IP>/cgi/mjpg/mjpg.cgi

I am trying to access video on a Trendnet IP410 camera for display on the page and eliminate the requirement for input of a User and P/W.

Any help will be most welcome.

gwheelo

You'll need to pass the user, password and IP parameters to the script as a query string. On the script side, mjpg.cgi needs to be able to grab and decipher the query string.

<a href='cgi/mjpg/mjpg.cgi?user=user,password=password,ip=IP'>Video</a>