Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/262.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
将货币符号从php发送到flash_Php_Javascript_Flash - Fatal编程技术网

将货币符号从php发送到flash

将货币符号从php发送到flash,php,javascript,flash,Php,Javascript,Flash,我有很多网站。在这方面,我必须将一些参数从php发送到flash。除货币符号外,所有参数均在闪存中正确显示。这些货币符号以html实体的形式从db提取到php,如(£;)。我不能改变数据库,因为它将需要在我的所有网站的许多变化。在发送到flash之前,我在php中使用了rawurlencode,但在flash中它显示为£;一闪而过。我给了“&”和“pound”之间的空格,所以它不会在帖子中转换为符号。在db中输入正确,没有空格。之前,我是通过在php文件中写入object标记

我有很多网站。在这方面,我必须将一些参数从php发送到flash。除货币符号外,所有参数均在闪存中正确显示。这些货币符号以html实体的形式从db提取到php,如(£;)。我不能改变数据库,因为它将需要在我的所有网站的许多变化。在发送到flash之前,我在php中使用了rawurlencode,但在flash中它显示为£;一闪而过。我给了“&”和“pound”之间的空格,所以它不会在帖子中转换为符号。在db中输入正确,没有空格。之前,我是通过在php文件中写入object标记,并使用object标记在params标记中写入参数来直接发送的。它工作得非常好。现在我已经开始使用由google托管的swfobject.js javascript库来嵌入flash内容。现在它不工作了(货币符号没有显示,而是上面显示的html实体unicode)。我也不能更改flash文件。我只能从php或javascript代码中处理它。

如果它是用htmlentities()编码的,只需在发送到flash之前(当然,在用rawurlencode重新编码之前)使用

对它进行解码。好吧,什么不起作用?发生了什么?在flash文件中,磅符号显示为html实体。它没有转换为符号。Flash不会自动转换HTML实体(因为它不是HTML渲染器)。谢谢您的回答。现在它正在使用html_实体_解码。