如何使用记事本来运行参数PHP文件++如何使用记事本++
test.php的
<?php
/* -------
test.php
------- */
if(!isset($_GET['file'])){
exit;
}
$code=file_get_contents($_GET['file']);
echo $code;
?>
demo_file.php运行php文件,参数--- - $(FULL_CURRENT_PATH)
项内容:
的hello world
cd "D:\PHPnow-1.5.6\htdocs\zc_default\my_debug_fw"<br>
"d:\PHPnow-1.5.6\php-5.2.14-Win32\php.exe" "test.php" [what here?]
如何发送“demo_file.php”为$_GET['file']
到test.php的?
控制台最后应该输出:...... hello world
太棒了,谢谢 – linjuming