Home >Backend Development >PHP Tutorial >php怎么post数据给相对路径文件?

php怎么post数据给相对路径文件?

WBOY
WBOYOriginal
2016-06-02 11:31:351398browse

phppost

我要发送一个参数给a.php,并获取a.php的运行结果。
想用curl把数据post给a.php文件,但因为是相对路径,这个url怎么写呢?
或者有没有其他好的方法?

Statement:
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