notepad++怎么传参运行php文件

WBOY
Release: 2016-06-13 13:37:32
Original
727 people have browsed it

notepad++如何传参运行php文件?
notepad++如何传参运行php文件?


------解决方案--------------------
CMD:
d:/PHPnow-1.5.6/php-5.2.14-Win32/php.exe laji.php aaa

laji.php 内容:
var_dump($argv);
$laji = $argv[1];
echo $laji;
?>

http://www.php.net/manual/zh/reserved.variables.argv.php

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template