I have an account at bitbucket, here is what i want to achieve.
ME --push--> bitbucket <--post--> server
server to bitbucket is fine.
I try to setup the POST URL like this
<?php `hg pull -u`;
in my server. Is this the correct way? i try to apply the back tick to execute the command.
我建议使用system()
或exec()
这样做,因为这是标准的操作过程。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.