简体   繁体   English

如何执行php脚本?

[英]how to execute a php script?

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

you can use php curl remote server access. 你可以使用php curl远程服务器访问。 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. 我会查看页面的来源,并编写一个javascript来从页面中提取数字并提交答案。

You can use a Firefox addon such as Greasemonkey to run the script on the page. 您可以使用Greasemonkey等Firefox插件在页面上运行脚本。

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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