简体   繁体   中英

how to execute a php script?

你如何在一个不是我的网站上执行一个PHP脚本?我需要知道这个因为,我发现你必须在2个大数字中繁殖并在1秒内找到它的产品....一个正常人可以'甚至在计算器的帮助下这样做,因为他们的意思是编程并找出结果...我知道如何编写该脚本但不知道将该脚本放在该站点的哪个位置并执行..任何建议都乐意接受......

you can use php curl remote server access. but you must have the permission

If the site you need to submit the answer to uses a form, it might be possible to write your own form and post it to that site. Most sites block that kind of behavior though.

I would check out the source of the page, and write a javascript to pull the numbers from the page and submit the answer.

You can use a Firefox addon such as Greasemonkey to run the script on the page.

https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/

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