This is meant to go on a .shtml page, but I need to stick it in with PHP. How would I write it out so it works on a PHP page?
<!--#exec cmd="/usr/bin/perl cgi-bin/pollster/pollster.pl mypollfile" -->
<?php include 'http://www.asdf.com/cgi-user/whatever.pl'; ?> try that or look at include stuff, if its not web accessable the only other way i would know would be to run command line commands from php which is usually not a good idea. But you can do that with the ` marks not the ' its same key as ~ but you could say $input='/usr/bin/perl cgi-bin/pollster/pollster.pl'; executing it then echo $input; you will probably get a better solution but this is for a quick response.
try it i hope it works.
try exec("/usr/bin/perl cgi-bin/pollster/pollster.pl mypollfile");