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

WBOY
Release: 2016-06-06 20:15:06
Original
1102 people have browsed it

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

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

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

求解决方法

回复内容:

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

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

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

求解决方法

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template