Home  >  Article  >  Backend Development  >  七牛的fops可以使用魔术变量吗?

七牛的fops可以使用魔术变量吗?

WBOY
WBOYOriginal
2016-06-06 20:15:061054browse

七牛的fops中:/hlsKeyUrl/<url></url>,我可以在<url></url>中添加魔术变量吗,比如我想添加$(key)

我试过这样写,好像不可以哦

<code>$url = admin_url('admin-ajax.php?action=get-scorp-key&pid='.$pid.'&key="$(key)"');</code>

求解决方法

回复内容:

七牛的fops中:/hlsKeyUrl/<url></url>,我可以在<url></url>中添加魔术变量吗,比如我想添加$(key)

我试过这样写,好像不可以哦

<code>$url = admin_url('admin-ajax.php?action=get-scorp-key&pid='.$pid.'&key="$(key)"');</code>

求解决方法

不可以用在/hlsKeyUrl/中,你只能把这些信息回调到服务器,然后保存在本地数据库,您需要的时候从本地数据控调用

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn