如何从其他站点访问我的脚本? [英] How do I access my script from another site ?
本文介绍了如何从其他站点访问我的脚本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在一个网站上有我的图像生成器,我想在我的第二个网站上使用
脚本。这个脚本跟踪图像
下载到数据库,所以我想将脚本保存在该服务器上。
现在我不想直接推荐到HTML中其他网站的脚本,所以我试图通过中间的php页面访问它,
所以我试过这个:
On我的第二个网站:
Hi,
I have my image generator on one website and I want to use
the script on my second website. This scripts tracks the image
downloads to a database so I want to keep the scripts on that server.
Now I don''t want to directly refer to the script of the other site in the HTML, so I am trying to access it via an intermediate php page,
so I tried this:
On my second website:
展开 | 选择 | Wrap | 行号
推荐答案
尝试
Try
展开 | 选择 | Wrap | 行号
这很不错,但可以我使用该方法将url_cd变量传递给
?
我需要传递?id =
That''s pretty good, but can I pass the url_cd variable over
with that method ?
I need to pass the ?id=
prod 以便
生成正确的图像。
(prod代码是url_cd,因此它与
相同?url_id =
prod so that the
correct image gets generated.
( the prod code is the url_cd so it is the
same as the ?url_id=
这篇关于如何从其他站点访问我的脚本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文