<?php
$form="<form action="指定url" name="test" method="post">
<input name="abc" value="post数据">
</form>";
echo "<script language>test.submit()</script>"; 大概是这样!!!!!
现在我想同步接受到"指定url"返回结果,要怎么实现?求高手指点、、、、、、指点
?>
$form="<form action="指定url" name="test" method="post">
<input name="abc" value="post数据">
</form>";
echo "<script language>test.submit()</script>"; 大概是这样!!!!!
现在我想同步接受到"指定url"返回结果,要怎么实现?求高手指点、、、、、、指点
?>
我猜测你是想跨域提交表单,这是不被允许的!
只能在服务器上用PHP请求baidu.com,随之而来的问题是访问频繁百度就会认为你是机器人,因此这个很难做。