问题标签 [generate]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
unity3d - 向世界添加不同大小的对象的最佳解决方案是什么?
我正在开发一个使用不同大小对象的游戏 - 例如房屋、树木等。我的问题是,我应该以哪种方式确定我将要放置对象的位置是免费的?每次启动游戏时都会随机生成世界。
(我只使用 x 和 z 坐标)例如,我在一个大小为 10x10 的项目池中有树,在位置 10、0、10 中,我将添加一块大小为 5x5 的石头。那么我该如何告诉石头“嘿,您不能将自己放置在 x 轴上 5 到 15 和 z 轴上 5 到 15 的坐标,放在其他地方”。
是的,一个简单的方法是写下所有拍摄的坐标(5,6,7 ... 14,15),但是如果我有 1000 棵树怎么办?除了循环遍历一个坐标列表之外,还有什么更好更快的方法来定位该项目的空闲位置?
build - 构建可执行文件的程序
我想知道如何从已编译的程序中使用 python 或 c/c++(或任何其他语言)生成可执行文件。
例如:我有一个带有文本框和按钮的可执行 program.exe。您在文本框中键入所需的任何文本,当您单击按钮时,它会生成一个可执行文件,可以显示您之前键入的文本。
许多键盘记录器或恶意软件生成器都会这样做,它们会根据您提供的参数(电子邮件/ftp 地址)生成一个 server.exe。
我会建议在文件上生成源代码并在之后编译它,但是如果您的计算机中没有安装编译器怎么办?你有任何线索吗?
django - 生成 django 多个站点地图
我有一个博客站点,我想生成 2 个站点地图,一个用于帖子,一个用于我拥有的代码类别:
站点地图.py
网址.py
上面的代码是用 django 创建动态站点地图的正确方法吗?
javascript - JSZip - 如何在不下载的情况下使用 generateAsync 命名文件
早上好,我正在使用 JSZip 创建一个 zip,我有以下代码:
我不想下载文件,我想将它上传到我的服务器,但它没有属性名称,它有两个属性:类型和大小。但我需要为文件设置一个名称。
如果我写 'name' : f.name,它不起作用,因为该函数是异步的。
有人知道如何将属性名称传递给内容。
编辑:或者,如果你能告诉我如何让它不异步,那也可以。
感谢帮助。
android - 混淆代码在android中不起作用
我想混淆我的 android 代码,我设置了 minifienable true 并设置了 proguard 文件,但是在生成 apk 和反编译之后,代码没有混淆。这是我的proguard:
我已经设置了 proguard 库,我尝试删除 -keep 但仍然无法正常工作。是否有另一种设置来混淆代码?
file - 用php代码在里面动态生成文件夹和csv文件
我想在动态生成的文件夹中生成一个 csv 文件,并使用 php 函数在 csv 文件中逐行推送记录
java - 为什么 Maven 不从测试类生成源?
我有一些使用 Querydsl 进行单元测试的测试类。Querydsl 通常会生成一个查询类型的类,但如果这些类在测试目录中,则不会生成该类。一旦我将文件放入 src/main 并使用 maven 编译,它就可以正常工作。因为我只在我的测试中使用这些类,所以我不想将这些文件放在这个目录中。有人可以帮我吗?
我的目录结构
src/main/java
src/main/resources
src/test/java/
src/test/resources
正如我所说的将文件放在这个目录“src/main/java”中会生成查询类型类,但是将文件放在这个目录中src/test/java/不会生成类型类。
生成 Querydsl 使用的查询类型的 Maven APT 插件
java - java生成并行IntStream(和其他流)问题
在我看来,生成器应该调用 5(限制)次,消费者应该在多个线程中执行,但是生成器调用了 512 次,消费者在同一个线程中执行,任何人都可以向我解释这是一个错误,或者我没有使用正确的方法?
输出: [generator]: ForkJoinPool.commonPool-worker-3, item:3 [generator]: ForkJoinPool.commonPool-worker-3, item:5 [generator]: ForkJoinPool.commonPool-worker-3, item:6 [generator] : ForkJoinPool.commonPool-worker-3, item:7 [generator]: ForkJoinPool.commonPool-worker-3, item:8 [generator]: ForkJoinPool.commonPool-worker-3, item:9 [generator]: ForkJoinPool.commonPool- worker-3, item:10 [generator]: ForkJoinPool.commonPool-worker-2, item:4 [generator]: main, item:2 [generator]: ForkJoinPool.commonPool-worker-1, item:1 [generator]: main, item:13 [generator]: ForkJoinPool.commonPool-worker-2, item:12 [generator]: ForkJoinPool.commonPool-worker-3, item:11 [generator]: ForkJoinPool.commonPool-worker-2, item:16 [生成器]: main, item:15 [生成器]: ForkJoinPool.commonPool-worker-1, item:14 [生成器]: main, item:19 [生成器]: ForkJoinPool.commonPool-worker-2, item:18 [生成器]: ForkJoinPool.commonPool-worker-3, item:17 [生成器]: ForkJoinPool.commonPool-worker-2, item:22 [生成器]: ForkJoinPool.commonPool-worker-2, item:24 [generator]: ForkJoinPool.commonPool-worker-2, item:25 [generator]: ForkJoinPool.commonPool-worker-2, item:26 [generator]: ForkJoinPool.commonPool-worker -2, item:27 [generator]: ForkJoinPool.commonPool-worker-2, item:28 [generator]: ForkJoinPool.commonPool-worker-2, item:29 [generator]: ForkJoinPool.commonPool-worker-2, item: 30 [generator]: ForkJoinPool.commonPool-worker-2, item:31 [generator]: ForkJoinPool.commonPool-worker-2, item:32 [generator]: ForkJoinPool.commonPool-worker-2, item:33 [generator]: ForkJoinPool.commonPool-worker-2, item:34 [generator]: ForkJoinPool.commonPool-worker-2, item:35 [generator]: ForkJoinPool.commonPool-worker-2, item:36 [generator]: ForkJoinPool.commonPool-worker-2, item:37 [generator]: ForkJoinPool.commonPool-worker-2, item:38 [generator]: ForkJoinPool.commonPool-worker-2, item:39 [generator]: ForkJoinPool.commonPool-worker-2, item:40 [generator]: ForkJoinPool.commonPool-worker-2, item:41 [generator]: ForkJoinPool.commonPool-worker -2, item:42 [generator]: ForkJoinPool.commonPool-worker-2, item:43 [generator]: ForkJoinPool.commonPool-worker-2, item:44 [generator]: ForkJoinPool.commonPool-worker-2, item: 45 [generator]: ForkJoinPool.commonPool-worker-2, item:46 [generator]: ForkJoinPool.commonPool-worker-2, item:47 [generator]: ForkJoinPool.commonPool-worker-2, item:48 [generator]: ForkJoinPool.commonPool-worker-2, item:49 [generator]: ForkJoinPool.commonPool-worker-2, item:50 [generator]: ForkJoinPool.commonPool-worker-2, item:51 [generator]: ForkJoinPool.commonPool-worker-2, item:52 [generator]: ForkJoinPool.commonPool-worker-2, item:53 [generator]: ForkJoinPool.commonPool-worker-2, item:54 [generator]: ForkJoinPool.commonPool-worker-2, item:55 [generator]: ForkJoinPool.commonPool-worker-2, item:56 [generator]: ForkJoinPool.commonPool-worker -2, item:57 [generator]: ForkJoinPool.commonPool-worker-2, item:58 [generator]: ForkJoinPool.commonPool-worker-2, item:59 [generator]: ForkJoinPool.commonPool-worker-2, item: 60 [generator]: ForkJoinPool.commonPool-worker-2, item:61 [generator]: ForkJoinPool.commonPool-worker-2, item:62 [generator]: ForkJoinPool.commonPool-worker-2, item:63 [generator]: ForkJoinPool.commonPool-worker-2, item:64 [generator]: ForkJoinPool.commonPool-worker-2, item:65 [generator]: ForkJoinPool.commonPool-worker-2, item:66 [generator]: ForkJoinPool.commonPool-worker-2, item:67 [generator]: ForkJoinPool.commonPool-worker-2, item:68 [generator]: ForkJoinPool.commonPool-worker-2, item:69 [generator]: ForkJoinPool.commonPool-worker-2, item:70 [generator]: ForkJoinPool.commonPool-worker-2, item:71 [generator]: ForkJoinPool.commonPool-worker -2, item:72 [generator]: ForkJoinPool.commonPool-worker-2, item:73 [generator]: ForkJoinPool.commonPool-worker-2, item:74 [generator]: ForkJoinPool.commonPool-worker-2, item: 75 [generator]: ForkJoinPool.commonPool-worker-2, item:76 [generator]: ForkJoinPool.commonPool-worker-2, item:77 [generator]: ForkJoinPool.commonPool-worker-2, item:78 [generator]: ForkJoinPool.commonPool-worker-2, item:79 [generator]: ForkJoinPool.commonPool-worker-2, item:80 [generator]: ForkJoinPool.commonPool-worker-2, item:81 [generator]: ForkJoinPool.commonPool-worker-2, item:82 [generator]: ForkJoinPool.commonPool-worker-2, item:83 [generator]: ForkJoinPool.commonPool-worker-2, item:84 [generator]: ForkJoinPool.commonPool-worker-2, item:85 [generator]: ForkJoinPool.commonPool-worker-2, item:86 [generator]: ForkJoinPool.commonPool-worker -2, item:87 [generator]: ForkJoinPool.commonPool-worker-2, item:88 [generator]: ForkJoinPool.commonPool-worker-2, item:89 [generator]: ForkJoinPool.commonPool-worker-2, item: 90 [generator]: ForkJoinPool.commonPool-worker-2, item:91 [generator]: ForkJoinPool.commonPool-worker-2, item:92 [generator]: ForkJoinPool.commonPool-worker-2, item:93 [generator]: ForkJoinPool.commonPool-worker-2, item:94 [generator]: ForkJoinPool.commonPool-worker-2, item:95 [generator]: ForkJoinPool.commonPool-worker-2, item:96 [generator]: ForkJoinPool.commonPool-worker-2, item:97 [generator]: ForkJoinPool.commonPool-worker-2, item:98 [generator]: ForkJoinPool.commonPool-worker-2, item:99 [generator]: ForkJoinPool.commonPool-worker-2, item:100 [generator]: ForkJoinPool.commonPool-worker-2, item:101 [generator]: ForkJoinPool.commonPool-worker -2, item:102 [generator]: ForkJoinPool.commonPool-worker-2, item:103 [generator]: ForkJoinPool.commonPool-worker-2, item:104 [generator]: ForkJoinPool.commonPool-worker-2, item: 105 [generator]: ForkJoinPool.commonPool-worker-2, item:106 [generator]: ForkJoinPool.commonPool-worker-2, item:107 [generator]: ForkJoinPool.commonPool-worker-2, item:108 [generator]: ForkJoinPool.commonPool-worker-2, item:109 [generator]: ForkJoinPool.commonPool-worker-2,item:110 [generator]: ForkJoinPool.commonPool-worker-2, item:111 [generator]: ForkJoinPool.commonPool-worker-2, item:112 [generator]: ForkJoinPool.commonPool-worker-2, item:113 [generator] ]: ForkJoinPool.commonPool-worker-2, item:114 [generator]: ForkJoinPool.commonPool-worker-2, item:115 [generator]: ForkJoinPool.commonPool-worker-2, item:116 [generator]: ForkJoinPool.commonPool -worker-2, item:117 [generator]: ForkJoinPool.commonPool-worker-2, item:118 [generator]: ForkJoinPool.commonPool-worker-2, item:119 [generator]: ForkJoinPool.commonPool-worker-2, item:120 [generator]: ForkJoinPool.commonPool-worker-2, item:121 [generator]: ForkJoinPool.commonPool-worker-2, item:122 [generator]: ForkJoinPool.commonPool-worker-2, item:123 [generator] ]: ForkJoinPool.commonPool-worker-2, item:124 [generator]: ForkJoinPool.commonPool-worker-2, item:125 [generator]: ForkJoinPool.commonPool-worker-2, item:126 [generator]: ForkJoinPool.commonPool-worker-2, item:127 [generator]: ForkJoinPool.commonPool-worker-2 , item:128 [generator]: ForkJoinPool.commonPool-worker-2, item:129 [generator]: ForkJoinPool.commonPool-worker-2, item:130 [generator]: ForkJoinPool.commonPool-worker-2, item:131 [ generator]: ForkJoinPool.commonPool-worker-2, item:132 [generator]: ForkJoinPool.commonPool-worker-2, item:133 [generator]: ForkJoinPool.commonPool-worker-2, item:134 [generator]: ForkJoinPool. commonPool-worker-2, item:135 [generator]: ForkJoinPool.commonPool-worker-2, item:136 [generator]: ForkJoinPool.commonPool-worker-2, item:137 [generator]: ForkJoinPool.commonPool-worker-2 , item:138 [generator]: ForkJoinPool.commonPool-worker-2, item:139 [generator]: ForkJoinPool.commonPool-worker-2, item:140 [generator]: ForkJoinPool.commonPool-worker-2, item:141 [generator]: ForkJoinPool.commonPool-worker-2, item:142 [generator]: ForkJoinPool.commonPool-worker-2, item:143 [generator]: ForkJoinPool.commonPool-worker-2, item:144 [generator]: ForkJoinPool.commonPool-worker-2, item:145 [generator]: ForkJoinPool.commonPool-worker -2,项目:146 [消费者]:ForkJoinPool.commonPool-worker-2,项目:4 [消费者]:ForkJoinPool.commonPool-worker-2,项目:12 [消费者]:ForkJoinPool.commonPool-worker-2,项目:16 [消费者]:ForkJoinPool .commonPool-worker-2, item:18 [consumer]: ForkJoinPool.commonPool-worker-2, item:22[generator]: main, item:21 [generator]: main, item:147 [generator]: main, item:148 [generator]: main, item:149 [generator]: main, item:150 [generator]: main , item:151 [generator]: main, item:152 [generator]: main, item:153 [generator]: main, item:154 [generator]: main, item:155 [generator]: main, item:156 [ generator]: main, item:157 [generator]: main, item:158 [generator]: main, item:159 [generator]: main, item:160 [generator]: main, item:161 [generator]: main, item:162 [generator]: main, item:163 [generator]: main, item:164 [generator]: main, item:165 [generator]: main, item:166 [generator]: main, item:167 [generator] ]: main, item:168 [generator]: main, item:169 [generator]: main, item:170 [generator]: main, item:171 [generator]: main, item:172 [generator]: main, item :173 [发电机]:主,项目:174 [发电机]:主,项目:175 [发电机]:主,项目:176 [发电机]:主,项目:177 [发电机]:主,项目:178 [发电机]:主,项目:179 [发电机]:主,项目:180 [发电机]: main, item:181 [generator]: main, item:182 [generator]: main, item:183 [generator]: main, item:184 [generator]: main, item:185 [generator]: main, item:186 [发电机]:主,项目:187 [发电机]:主,项目:188 [发电机]:主,项目:189 [发电机]:主,项目:190 [发电机]:主,项目:191 [发电机]:主, item:192 [generator]: main, item:193 [generator]: main, item:194 [generator]: main, item:195 [generator]: main, item:196 [generator]: main, item:197 [ generator]: main, item:198 [generator]: main, item:199 [generator]: main, item:200 [generator]: main, item:201 [generator]: main, item:202 [generator]: main, item:203 [generator]: main, item:204 [generator]: main,item:205 [generator]: main, item:206 [generator]: main, item:207 [generator]: main, item:208 [generator]: main, item:209 [generator]: main, item:210 [generator] ]: main, item:211 [generator]: main, item:212 [generator]: main, item:213 [generator]: main, item:214 [generator]: main, item:215 [generator]: main, item :216 [generator]: main, item:217 [generator]: main, item:218 [generator]: main, item:219 [generator]: main, item:220 [generator]: main, item:221 [generator] : main, item:222 [generator]: main, item:223 [generator]: main, item:224 [generator]: main, item:225 [generator]: main, item:226 [generator]: main, item: 227 [generator]: main, item:228 [generator]: main, item:229 [generator]: main, item:230 [generator]: main, item:231 [generator]: main, item:232 [generator]: main, item:233 [生成器]: main, item:234 [generator]: main, item:235 [generator]: main, item:236 [generator]: main, item:237 [generator]: main, item:238 [generator]: main, item:239 [generator]: main, item:240 [generator]: main, item:241 [generator]: main, item:242 [generator]: main, item:243 [generator]: main, item:244 [generator]: main, item:245 [发电机]:主,项目:246 [发电机]:主,项目:247 [发电机]:主,项目:248 [发电机]:主,项目:249 [发电机]:主,项目:250 [发电机]:主, item:251 [generator]: main, item:252 [generator]: main, item:253 [generator]: main, item:254 [generator]: ForkJoinPool.commonPool-worker-1, item:20 [generator]: ForkJoinPool.commonPool-worker-1, item:256 [generator]: ForkJoinPool.commonPool-worker-1, item:257 [generator]: ForkJoinPool.commonPool-worker-1, item:258 [generator]: ForkJoinPool.commonPool-worker -1,item:259 [generator]: ForkJoinPool.commonPool-worker-1, item:260 [generator]: ForkJoinPool.commonPool-worker-1, item:261 [generator]: ForkJoinPool.commonPool-worker-1, item:262 [generator] ]: ForkJoinPool.commonPool-worker-1, item:263 [generator]: ForkJoinPool.commonPool-worker-1, item:264 [generator]: ForkJoinPool.commonPool-worker-1, item:265 [generator]: ForkJoinPool.commonPool -worker-1, item:266 [generator]: ForkJoinPool.commonPool-worker-1, item:267 [generator]: ForkJoinPool.commonPool-worker-1, item:268 [generator]: ForkJoinPool.commonPool-worker-1, item:269 [generator]: ForkJoinPool.commonPool-worker-1, item:270 [generator]: ForkJoinPool.commonPool-worker-1, item:271 [generator]: ForkJoinPool.commonPool-worker-1, item:272 [generator] ]: ForkJoinPool.commonPool-worker-1, item:273 [generator]: ForkJoinPool.commonPool-worker-1, item:274 [generator]: ForkJoinPool.commonPool-worker-1, item:275 [generator]: ForkJoinPool.commonPool-worker-1, item:276 [generator]: ForkJoinPool.commonPool-worker-1 , item:277 [generator]: ForkJoinPool.commonPool-worker-1, item:278 [generator]: ForkJoinPool.commonPool-worker-1, item:279 [generator]: ForkJoinPool.commonPool-worker-1, item:280 [ generator]: ForkJoinPool.commonPool-worker-1, item:281 [generator]: ForkJoinPool.commonPool-worker-1, item:282 [generator]: ForkJoinPool.commonPool-worker-1, item:283 [generator]: ForkJoinPool. commonPool-worker-1, item:284 [generator]: ForkJoinPool.commonPool-worker-1, item:285 [generator]: ForkJoinPool.commonPool-worker-1, item:286 [generator]: ForkJoinPool.commonPool-worker-1 , item:287 [generator]: ForkJoinPool.commonPool-worker-1, item:288 [generator]: ForkJoinPool.commonPool-worker-1, item:289 [generator]: ForkJoinPool.commonPool-worker-1, item:290 [generator]: ForkJoinPool.commonPool-worker-1, item:291 [generator]: ForkJoinPool.commonPool-worker-1, item:292 [generator]: ForkJoinPool.commonPool-worker-1, item:293 [generator]: ForkJoinPool.commonPool-worker-1, item:294 [generator]: ForkJoinPool.commonPool-worker -1, item:295 [generator]: ForkJoinPool.commonPool-worker-1, item:296 [generator]: ForkJoinPool.commonPool-worker-1, item:297 [generator]: ForkJoinPool.commonPool-worker-1, item: 298 [generator]: ForkJoinPool.commonPool-worker-1, item:299 [generator]: ForkJoinPool.commonPool-worker-1, item:300 [generator]: ForkJoinPool.commonPool-worker-1, item:301 [generator]: ForkJoinPool.commonPool-worker-1, item:302 [generator]: ForkJoinPool。commonPool-worker-1, item:303 [generator]: ForkJoinPool.commonPool-worker-1, item:304 [generator]: ForkJoinPool.commonPool-worker-1, item:305 [generator]: ForkJoinPool.commonPool-worker-1 , item:306 [generator]: ForkJoinPool.commonPool-worker-1, item:307 [generator]: ForkJoinPool.commonPool-worker-1, item:308 [generator]: ForkJoinPool.commonPool-worker-1, item:309 [ generator]: ForkJoinPool.commonPool-worker-1, item:310 [generator]: ForkJoinPool.commonPool-worker-1, item:311 [generator]: ForkJoinPool.commonPool-worker-1, item:312 [generator]: ForkJoinPool. commonPool-worker-1, item:313 [generator]: ForkJoinPool.commonPool-worker-1, item:314 [generator]: ForkJoinPool.commonPool-worker-1, item:315 [generator]: ForkJoinPool.commonPool-worker-1 , item:316 [generator]: ForkJoinPool.commonPool-worker-1, item:317 [generator]: ForkJoinPool.commonPool-worker-1, item:318 [generator]: ForkJoinPool.commonPool-worker-1, item:319 [generator]: ForkJoinPool.commonPool-worker-1, item:320 [generator]: ForkJoinPool.commonPool-worker-1, item:321 [generator]: ForkJoinPool.commonPool-worker-1, item:322 [generator]: ForkJoinPool.commonPool-worker-1, item:323 [generator]: ForkJoinPool.commonPool-worker -1, item:324 [generator]: ForkJoinPool.commonPool-worker-1, item:325 [generator]: ForkJoinPool.commonPool-worker-1, item:326 [generator]: ForkJoinPool.commonPool-worker-1, item: 327 [generator]: ForkJoinPool.commonPool-worker-1, item:328 [generator]: ForkJoinPool.commonPool-worker-1, item:329 [generator]: ForkJoinPool.commonPool-worker-1, item:330 [generator]: ForkJoinPool.commonPool-worker-1, item:331 [generator]: ForkJoinPool。commonPool-worker-1, item:332 [generator]: ForkJoinPool.commonPool-worker-1, item:333 [generator]: ForkJoinPool.commonPool-worker-1, item:334 [generator]: ForkJoinPool.commonPool-worker-1 , item:335 [generator]: ForkJoinPool.commonPool-worker-1, item:336 [generator]: ForkJoinPool.commonPool-worker-1, item:337 [generator]: ForkJoinPool.commonPool-worker-1, item:338 [ generator]: ForkJoinPool.commonPool-worker-1, item:339 [generator]: ForkJoinPool.commonPool-worker-1, item:340 [generator]: ForkJoinPool.commonPool-worker-1, item:341 [generator]: ForkJoinPool. commonPool-worker-1, item:342 [generator]: ForkJoinPool.commonPool-worker-1, item:343 [generator]: ForkJoinPool.commonPool-worker-1, item:344 [generator]: ForkJoinPool.commonPool-worker-1 , item:345 [generator]: ForkJoinPool.commonPool-worker-1, item:346 [生成器]:ForkJoinPool.commonPool-worker-1, item:347 [generator]: main, item:255 [generator]: main, item:349 [generator]: main, item:350 [generator]: main, item :351 [generator]: main, item:352 [generator]: main, item:353 [generator]: main, item:354 [generator]: main, item:355 [generator]: main, item:356 [generator] : ForkJoinPool.commonPool-worker-3, item:23 [generator]: main, item:357 [generator]: main, item:359 [generator]: main, item:360 [generator]: ForkJoinPool.commonPool-worker-1 , item:348 [generator]: ForkJoinPool.commonPool-worker-1, item:362 [generator]: ForkJoinPool.commonPool-worker-1, item:363 [generator]: ForkJoinPool.commonPool-worker-1, item:364 [ generator]: ForkJoinPool.commonPool-worker-1, item:365 [generator]: ForkJoinPool.commonPool-worker-1, item:366 [generator]: ForkJoinPool.commonPool-worker-1,item:367 [generator]: ForkJoinPool.commonPool-worker-1, item:368 [generator]: ForkJoinPool.commonPool-worker-1, item:369 [generator]: ForkJoinPool.commonPool-worker-1, item:370 [generator] ]: ForkJoinPool.commonPool-worker-1, item:371 [generator]: ForkJoinPool.commonPool-worker-1, item:372 [generator]: ForkJoinPool.commonPool-worker-1, item:373 [generator]: ForkJoinPool.commonPool -worker-1, item:374 [generator]: ForkJoinPool.commonPool-worker-1, item:375 [generator]: ForkJoinPool.commonPool-worker-1, item:376 [generator]: ForkJoinPool.commonPool-worker-1, item:377 [generator]: ForkJoinPool.commonPool-worker-1, item:378 [generator]: ForkJoinPool.commonPool-worker-1, item:379 [generator]: ForkJoinPool.commonPool-worker-1, item:380 [generator] ]: ForkJoinPool.commonPool-worker-1, item:381 [generator]: ForkJoinPool.commonPool-worker-1, item:382 [generator]: ForkJoinPool.commonPool-worker-1, item:383 [generator]: ForkJoinPool.commonPool-worker-1, item:384 [generator]: ForkJoinPool.commonPool-worker-1 , item:385 [generator]: ForkJoinPool.commonPool-worker-1, item:386 [generator]: ForkJoinPool.commonPool-worker-1, item:387 [generator]: ForkJoinPool.commonPool-worker-1, item:388 [ generator]: ForkJoinPool.commonPool-worker-1, item:389 [generator]: ForkJoinPool.commonPool-worker-1, item:390 [generator]: ForkJoinPool.commonPool-worker-1, item:391 [generator]: ForkJoinPool. commonPool-worker-1, item:392 [generator]: ForkJoinPool.commonPool-worker-1, item:393 [generator]: main, item:361 [generator]: main, item:394 [generator]: main, item: 395 [生成器]: ForkJoinPool.commonPool-worker-3, item:358 [生成器]: ForkJoinPool.commonPool-worker-3,item:396 [generator]: ForkJoinPool.commonPool-worker-3, item:397 [generator]: ForkJoinPool.commonPool-worker-3, item:398 [generator]: ForkJoinPool.commonPool-worker-3, item:399 [generator] ]: ForkJoinPool.commonPool-worker-3, item:400 [generator]: ForkJoinPool.commonPool-worker-3, item:401 [generator]: ForkJoinPool.commonPool-worker-3, item:402 [generator]: ForkJoinPool.commonPool -worker-3, item:403 [generator]: ForkJoinPool.commonPool-worker-3, item:404 [generator]: ForkJoinPool.commonPool-worker-3, item:405 [generator]: ForkJoinPool.commonPool-worker-3, item:406 [generator]: ForkJoinPool.commonPool-worker-3, item:407 [generator]: ForkJoinPool.commonPool-worker-3, item:408 [generator]: ForkJoinPool.commonPool-worker-3, item:409 [generator] ]: ForkJoinPool.commonPool-worker-3, item:410 [generator]: ForkJoinPool.commonPool-worker-3, item:411 [generator]: ForkJoinPool.commonPool-worker-3, item:412 [generator]: ForkJoinPool.commonPool-worker-3, item:413 [generator]: ForkJoinPool.commonPool-worker-3 , item:414 [generator]: ForkJoinPool.commonPool-worker-3, item:415 [generator]: ForkJoinPool.commonPool-worker-3, item:416 [generator]: ForkJoinPool.commonPool-worker-3, item:417 [ generator]: ForkJoinPool.commonPool-worker-3, item:418 [generator]: ForkJoinPool.commonPool-worker-3, item:419 [generator]: ForkJoinPool.commonPool-worker-3, item:420 [generator]: ForkJoinPool. commonPool-worker-3, item:421 [generator]: ForkJoinPool.commonPool-worker-3, item:422 [generator]: ForkJoinPool.commonPool-worker-3, item:423 [generator]: ForkJoinPool.commonPool-worker-3 , item:424 [generator]: ForkJoinPool.commonPool-worker-3, item:425 [generator]: ForkJoinPool.commonPool-worker-3, item:426 [generator]: ForkJoinPool.commonPool-worker-3, item:427 [generator]: ForkJoinPool.commonPool-worker-3, item:428 [generator]: ForkJoinPool.commonPool-worker-3, item:429 [generator]: ForkJoinPool.commonPool-worker-3, item:430 [generator]: ForkJoinPool.commonPool-worker-3, item:431 [generator]: ForkJoinPool.commonPool-worker -3, item:432 [generator]: ForkJoinPool.commonPool-worker-3, item:433 [generator]: ForkJoinPool.commonPool-worker-3, item:434 [generator]: ForkJoinPool.commonPool-worker-3, item: 435 [generator]: ForkJoinPool.commonPool-worker-3, item:436 [generator]: ForkJoinPool.commonPool-worker-3, item:437 [generator]: ForkJoinPool.commonPool-worker-3, item:438 [generator]: ForkJoinPool.commonPool-worker-3, item:439 [generator]: ForkJoinPool。commonPool-worker-3, item:440 [generator]: ForkJoinPool.commonPool-worker-3, item:441 [generator]: ForkJoinPool.commonPool-worker-3, item:442 [generator]: ForkJoinPool.commonPool-worker-3 , item:443 [generator]: ForkJoinPool.commonPool-worker-3, item:444 [generator]: ForkJoinPool.commonPool-worker-3, item:445 [generator]: ForkJoinPool.commonPool-worker-3, item:446 [ generator]: ForkJoinPool.commonPool-worker-3, item:447 [generator]: ForkJoinPool.commonPool-worker-3, item:448 [generator]: ForkJoinPool.commonPool-worker-3, item:449 [generator]: ForkJoinPool. commonPool-worker-3, item:450 [generator]: ForkJoinPool.commonPool-worker-3, item:451 [generator]: ForkJoinPool.commonPool-worker-3, item:452 [generator]: ForkJoinPool.commonPool-worker-3 , item:453 [generator]: ForkJoinPool.commonPool-worker-3, item:454 [generator]: ForkJoinPool.commonPool-worker-3, item:455 [generator]: ForkJoinPool.commonPool-worker-3, item:456 [generator]: ForkJoinPool.commonPool-worker-3, item:457 [generator]: ForkJoinPool.commonPool-worker-3, item:458 [generator]: ForkJoinPool.commonPool-worker-3, item:459 [generator]: ForkJoinPool.commonPool-worker-3, item:460 [generator]: ForkJoinPool.commonPool-worker -3, item:461 [generator]: ForkJoinPool.commonPool-worker-3, item:462 [generator]: ForkJoinPool.commonPool-worker-3, item:463 [generator]: ForkJoinPool.commonPool-worker-3, item: 464 [generator]: ForkJoinPool.commonPool-worker-3, item:465 [generator]: ForkJoinPool.commonPool-worker-3, item:466 [generator]: ForkJoinPool.commonPool-worker-3, item:467 [generator]: ForkJoinPool.commonPool-worker-3, item:468 [generator]: ForkJoinPool。commonPool-worker-3, item:469 [generator]: ForkJoinPool.commonPool-worker-3, item:470 [generator]: ForkJoinPool.commonPool-worker-3, item:471 [generator]: ForkJoinPool.commonPool-worker-3 , item:472 [generator]: ForkJoinPool.commonPool-worker-3, item:473 [generator]: ForkJoinPool.commonPool-worker-3, item:474 [generator]: ForkJoinPool.commonPool-worker-3, item:475 [ generator]: ForkJoinPool.commonPool-worker-3, item:476 [generator]: ForkJoinPool.commonPool-worker-3, item:477 [generator]: ForkJoinPool.commonPool-worker-3, item:478 [generator]: ForkJoinPool. commonPool-worker-3, item:479 [generator]: ForkJoinPool.commonPool-worker-3, item:480 [generator]: ForkJoinPool.commonPool-worker-3, item:481 [generator]: ForkJoinPool.commonPool-worker-3 , item:482 [generator]: ForkJoinPool.commonPool-worker-3, item:483 [generator]: ForkJoinPool.commonPool-worker-3, item:484 [generator]: ForkJoinPool.commonPool-worker-3, item:485 [generator]: ForkJoinPool.commonPool-worker-3, item:486 [generator]: ForkJoinPool.commonPool-worker-3, item:487 [generator]: ForkJoinPool.commonPool-worker-3, item:488 [generator]: ForkJoinPool.commonPool-worker-3, item:489 [generator]: ForkJoinPool.commonPool-worker -3, item:490 [generator]: ForkJoinPool.commonPool-worker-3, item:491 [generator]: ForkJoinPool.commonPool-worker-3, item:492 [generator]: ForkJoinPool.commonPool-worker-3, item: 493 [generator]: ForkJoinPool.commonPool-worker-3, item:494 [generator]: ForkJoinPool.commonPool-worker-3, item:495 [generator]: ForkJoinPool.commonPool-worker-3, item:496 [generator]: ForkJoinPool.commonPool-worker-3, item:497 [generator]: ForkJoinPool。commonPool-worker-3, item:498 [generator]: ForkJoinPool.commonPool-worker-3, item:499 [generator]: ForkJoinPool.commonPool-worker-3, item:500 [generator]: ForkJoinPool.commonPool-worker-3 , item:501 [generator]: ForkJoinPool.commonPool-worker-3, item:502 [generator]: ForkJoinPool.commonPool-worker-3, item:503 [generator]: ForkJoinPool.commonPool-worker-3, item:504 [ generator]: ForkJoinPool.commonPool-worker-3, item:505 [generator]: ForkJoinPool.commonPool-worker-3, item:506 [generator]: ForkJoinPool.commonPool-worker-3, item:507 [generator]: ForkJoinPool. commonPool-worker-3, item:508 [generator]: ForkJoinPool.commonPool-worker-3, item:509 [generator]: ForkJoinPool.commonPool-worker-3, item:510 [generator]: ForkJoinPool.commonPool-worker-3 , item:511 [生成器]: ForkJoinPool.commonPool-worker-3, item:512498 [generator]: ForkJoinPool.commonPool-worker-3, item:499 [generator]: ForkJoinPool.commonPool-worker-3, item:500 [generator]: ForkJoinPool.commonPool-worker-3, item:501 [generator]: ForkJoinPool.commonPool-worker-3, item:502 [generator]: ForkJoinPool.commonPool-worker-3, item:503 [generator]: ForkJoinPool.commonPool-worker-3, item:504 [generator]: ForkJoinPool.commonPool-worker -3, item:505 [generator]: ForkJoinPool.commonPool-worker-3, item:506 [generator]: ForkJoinPool.commonPool-worker-3, item:507 [generator]: ForkJoinPool.commonPool-worker-3, item: 508 [generator]: ForkJoinPool.commonPool-worker-3, item:509 [generator]: ForkJoinPool.commonPool-worker-3, item:510 [generator]: ForkJoinPool.commonPool-worker-3, item:511 [generator]: ForkJoinPool.commonPool-worker-3,项目:512498 [generator]: ForkJoinPool.commonPool-worker-3, item:499 [generator]: ForkJoinPool.commonPool-worker-3, item:500 [generator]: ForkJoinPool.commonPool-worker-3, item:501 [generator]: ForkJoinPool.commonPool-worker-3, item:502 [generator]: ForkJoinPool.commonPool-worker-3, item:503 [generator]: ForkJoinPool.commonPool-worker-3, item:504 [generator]: ForkJoinPool.commonPool-worker -3, item:505 [generator]: ForkJoinPool.commonPool-worker-3, item:506 [generator]: ForkJoinPool.commonPool-worker-3, item:507 [generator]: ForkJoinPool.commonPool-worker-3, item: 508 [generator]: ForkJoinPool.commonPool-worker-3, item:509 [generator]: ForkJoinPool.commonPool-worker-3, item:510 [generator]: ForkJoinPool.commonPool-worker-3, item:511 [generator]: ForkJoinPool.commonPool-worker-3,项目:512item:499 [generator]: ForkJoinPool.commonPool-worker-3, item:500 [generator]: ForkJoinPool.commonPool-worker-3, item:501 [generator]: ForkJoinPool.commonPool-worker-3, item:502 [generator] ]: ForkJoinPool.commonPool-worker-3, item:503 [generator]: ForkJoinPool.commonPool-worker-3, item:504 [generator]: ForkJoinPool.commonPool-worker-3, item:505 [generator]: ForkJoinPool.commonPool -worker-3, item:506 [generator]: ForkJoinPool.commonPool-worker-3, item:507 [generator]: ForkJoinPool.commonPool-worker-3, item:508 [generator]: ForkJoinPool.commonPool-worker-3, item:509 [generator]: ForkJoinPool.commonPool-worker-3, item:510 [generator]: ForkJoinPool.commonPool-worker-3, item:511 [generator]: ForkJoinPool.commonPool-worker-3, item:512item:499 [generator]: ForkJoinPool.commonPool-worker-3, item:500 [generator]: ForkJoinPool.commonPool-worker-3, item:501 [generator]: ForkJoinPool.commonPool-worker-3, item:502 [generator] ]: ForkJoinPool.commonPool-worker-3, item:503 [generator]: ForkJoinPool.commonPool-worker-3, item:504 [generator]: ForkJoinPool.commonPool-worker-3, item:505 [generator]: ForkJoinPool.commonPool -worker-3, item:506 [generator]: ForkJoinPool.commonPool-worker-3, item:507 [generator]: ForkJoinPool.commonPool-worker-3, item:508 [generator]: ForkJoinPool.commonPool-worker-3, item:509 [generator]: ForkJoinPool.commonPool-worker-3, item:510 [generator]: ForkJoinPool.commonPool-worker-3, item:511 [generator]: ForkJoinPool.commonPool-worker-3, item:512commonPool-worker-3, item:501 [generator]: ForkJoinPool.commonPool-worker-3, item:502 [generator]: ForkJoinPool.commonPool-worker-3, item:503 [generator]: ForkJoinPool.commonPool-worker-3 , item:504 [generator]: ForkJoinPool.commonPool-worker-3, item:505 [generator]: ForkJoinPool.commonPool-worker-3, item:506 [generator]: ForkJoinPool.commonPool-worker-3, item:507 [ generator]: ForkJoinPool.commonPool-worker-3, item:508 [generator]: ForkJoinPool.commonPool-worker-3, item:509 [generator]: ForkJoinPool.commonPool-worker-3, item:510 [generator]: ForkJoinPool. commonPool-worker-3, item:511 [generator]: ForkJoinPool.commonPool-worker-3, item:512commonPool-worker-3, item:501 [generator]: ForkJoinPool.commonPool-worker-3, item:502 [generator]: ForkJoinPool.commonPool-worker-3, item:503 [generator]: ForkJoinPool.commonPool-worker-3 , item:504 [generator]: ForkJoinPool.commonPool-worker-3, item:505 [generator]: ForkJoinPool.commonPool-worker-3, item:506 [generator]: ForkJoinPool.commonPool-worker-3, item:507 [ generator]: ForkJoinPool.commonPool-worker-3, item:508 [generator]: ForkJoinPool.commonPool-worker-3, item:509 [generator]: ForkJoinPool.commonPool-worker-3, item:510 [generator]: ForkJoinPool. commonPool-worker-3, item:511 [generator]: ForkJoinPool.commonPool-worker-3, item:512item:504 [generator]: ForkJoinPool.commonPool-worker-3, item:505 [generator]: ForkJoinPool.commonPool-worker-3, item:506 [generator]: ForkJoinPool.commonPool-worker-3, item:507 [generator] ]: ForkJoinPool.commonPool-worker-3, item:508 [generator]: ForkJoinPool.commonPool-worker-3, item:509 [generator]: ForkJoinPool.commonPool-worker-3, item:510 [generator]: ForkJoinPool.commonPool -worker-3, item:511 [生成器]: ForkJoinPool.commonPool-worker-3, item:512item:504 [generator]: ForkJoinPool.commonPool-worker-3, item:505 [generator]: ForkJoinPool.commonPool-worker-3, item:506 [generator]: ForkJoinPool.commonPool-worker-3, item:507 [generator] ]: ForkJoinPool.commonPool-worker-3, item:508 [generator]: ForkJoinPool.commonPool-worker-3, item:509 [generator]: ForkJoinPool.commonPool-worker-3, item:510 [generator]: ForkJoinPool.commonPool -worker-3, item:511 [生成器]: ForkJoinPool.commonPool-worker-3, item:512commonPool-worker-3, item:511 [generator]: ForkJoinPool.commonPool-worker-3, item:512commonPool-worker-3, item:511 [generator]: ForkJoinPool.commonPool-worker-3, item:512
php - PHP + 生成 .html 文件供下载
我不确定要在这里搜索什么,所以我将解释我正在尝试做什么。
我目前有一个表单(几个下拉菜单,输入字段..等)提交表单时,我目前正在生成一个用于打印的“输出页面”,其中包含所有用户在初始表单状态下输入的数据..带有一个“打印文档” ' 底部的按钮。
最终用户将在其中打印并写入任何自定义/特定注释..等。
以上所有工作都按预期工作。
但是..方向发生了变化..而不是打印出来。(并手写任何自定义/独特的评论)..
...他们希望能够将输出/显示页面“下载”为 .html 文件
(所以我需要在文件中制作所有资产..等样式,并且可能基于64编码任何/所有图像..等)
因为我以前从未这样做过.. 我什至不确定我在寻找什么?
这应该是一个单独的(物理).html 文件吗?(如何在下载之前将提交的数据/值放入其中?)
应该只是一个巨大的“字符串”,我将帖子值拉入其中吗?
但是一旦完成..如何提示用户将其保存为可下载的 .html 文件?