我试图弄清楚如何在不创建物理 TXT 文件来打印数据的情况下打印出动态内容。
换句话说,我正在调用mytext.php
并写出内容......mytext.php
看起来像这样:
<?php echo "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.";
并且PDF是在文本中生成的所有内容......所以<?php echo "Lorem..."
打印动态内容的最佳方式是什么?