如何在我的网站页面中扩展iframe的内容(在我的示例中,它是一个HTML页面,而不是弹出窗口)?
例如,我想以if原始大小的80%显示iframe中显示的内容.
这会产生输出页面OK
$mystring = "<<<EOT";
Run Code Online (Sandbox Code Playgroud)
用以下产品替换它
解析错误:语法错误,第737行的file.php中的意外$ end
$mystring = <<<EOT
This is some PHP text.
It is completely free
I can use "double quotes"
and 'single quotes',
plus $variables too, which will
be properly converted to their values,
you can even type EOT, as long as it
is not alone on a line, like this:
EOT;
Run Code Online (Sandbox Code Playgroud)
关于是什么导致解析器窒息的任何想法?
我使用的是PHP 4.4.7.
只有一个文件才会发生此行为,所有其他行为都遵循PHP定义的功能.
我试图重述的是在程序行中可能出错的地方,以便PHP解析器在此失败中显示.
约翰
将文件内容更改为: -
<?php
$mystring = <<<WHATEVER
This is some PHP text.
WHATEVER;
?>
Run Code Online (Sandbox Code Playgroud)
结果=
解析错误:语法错误,第5行的file.php中的意外$ end
任何线索
编辑 …
工作设置因导入错误而失败:没有名为 conf 的模块
我用 ^c 停止了本地主机上的测试设置以检查日志
重新启动时出现错误
C:\Odoo 10.0\server>odoo-bin -d todo -i todo_app --test-enable --dev=all
Traceback (most recent call last):
File "odoo-bin", line 2, in <module>
File "pkg_resources\__init__.pyc", line 2203, in declare_namespace
File "pkg_resources\__init__.pyc", line 2219, in declare_namespace
File "pkg_resources\__init__.pyc", line 2186, in _handle_ns
File "pkgutil.pyc", line 246, in load_module
argument should be the name of a package, in standard module format
File "C:\Odoo 10.0\server\odoo\__init__.py", line 61, in <module>
import conf
ImportError: No module named conf
Run Code Online (Sandbox Code Playgroud)
测试 -从 github使用init …