简体   繁体   中英

Php to Php Argument Sending In Different Path

I want to send some arguments from xxx.php to yyy.php , but yyy.php in different directory like /home/root.

Is there any way to do this in simple way ? I will take these argument and use it with in different directory permission ?

Thanks ... Best Regards

您可以这样尝试:

file_get_contents("http://base.url/home/root/yyy.php?arg1=abcd&agr2=xyz")

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM