echo '<html><body onLoad="form1.submit()"><form name="form1" action="http://lapagina.com"><input type="hidden" value="valor" name="campo"></form></body></html>';