尊敬的各位,
我如何使用php file_get_content函数发送参数。使用php发送参数file_get_content函数
$id='123';
$name='blah';
$response=file_get_contents('http://localhost/abc/abc.php?id=$id&name=$name');
echo $response;
我需要发送的$ id和name值abc.php page.Here传递值不工作。还我清洁香港?ID = “$ ID” & NAME = “$名”价值。它也没有工作。但工作 .say-
$response=file_get_contents('http://localhost/abc/abc.php?id=123&name=blah');
现在straite参数是他们的任何一种心脏谁可以帮我送了2个参数的$ id和$名abc.php?
谢谢
里亚德
谢谢all..all解决方案.. – riad 2010-12-01 07:05:39