Only one image is displayed on the webpage.
Only one image is displayed on the webpage.
Reply content:
Only one image is displayed on the webpage.
Imagejpeg ($ im, "../images/image001.jpg"); // save it to an address
And then reference it twice on the webpage.
Under Research
Copied code // Create a blank key image and add some text
$ Im = imagecreatetruecolor (120, 20 );
$ Text_color = imagecolorallocate ($ im, 233, 14, 91 );
Imagestring ($ im, 1, 5, 5, 'a Simple Text string', $ text_color );
// Set the content type header. In this example, the header is image/jpeg.
Header ('content-Type: image/jpeg ');
// Output image
Imagejpeg ($ im );
Echo 1111111111111111111111111;
Echo "fffffffffasdffffffffffffffff ";
$ Im = imagecreatetruecolor (120, 20 );
$ Text_color = imagecolorallocate ($ im, 233, 14, 91 );
Imagestring ($ im, 1, 5, 5, 'adddddddddddddddddddd ', $ text_color );
Imagejpeg ($ im );
The effect is fruitless
In linux, access curl http: // 10.10.50.233: 3004/test. php
Get
Required parameter FIF required parameter> CREATOR: gd-jpeg v1.0 (using ijg jpeg v62), default quality
Zookeeper
$. '", # (7), 01444 '9 = 82 <. 342 million bytes
2 !! 22222222222222222222222222222222222222222222222222 running x "Running
Too many }! 1AQa "q2. # b± 20.r found $ 3br
% & '() * 456789: CDEFGHIJSTUVWXYZcdefghijstuvwxyz £ 000000000000000000000000000000000000000000000000000000000000000000000000traffic
Too many w! 1 AQaq "B comment ± # 3R comment
$4 videos & '() * 56789: CDEFGHIJSTUVWXYZcdefghijstuvwxyz £ 000000000000000000000000000000000000000000000000000000000000000000000000traffic
Why? Please refer $ response {Your Ry has been taken into consideration when j + # Your? '>' = (^ 2a 2s _ | Pm success; please refer to "v then 1_1 then q: u? «A5
Second, rB then @ ² 0I then passed f then 0 then passed X <then passed cA͜pz
Y? Primary Ω when I $ R when 0q when limit μ \ when the timestamp contains too many O *; then v £22
Copyright $ | £°{si =1a %g ¤) e3 %섳 {« copyright. %jyj %§ %& '%1 %¸ y %mxh %
<Strong]/{00003' cf. {0000tv}
J \ has been running u µ, e # j ± bp. £ret %ddf9r %%%n @ ä( %µ%%%%%%%hrp · £
<壚͌yʀve敤 뺵< code>
Rows = m rows-since gark @ W ° \ q ޔ � 䔓} g rows following each other limit 2 then 2h3F) then too many rows E! Epepepepepepepepep quota limit. 1111111111111E
+24fffffffffffasdffffffffffffffff/r/mÿٿFIFÿþ>CREATOR: gd-jpeg v1.0 (using IJG JPEG v62),
default quality
ÿڃ
$.' ",#(7),01444'9=82<.342ÿڃ
2!!22222222222222222222222222222222222222222222222222ÿx"ÿ
Too many }! 1AQa "q2. # b± 20.r found $ 3br
% & '() * 456789: CDEFGHIJSTUVWXYZcdefghijstuvwxyz £ 000000000000000000000000000000000000000000000000000000000000000000000000traffic
Too many w! 1 AQaq "B comment ± # 3R comment
$4 videos & '() * 56789: CDEFGHIJSTUVWXYZcdefghijstuvwxyz £ 000000000000000000000000000000000000000000000000000000000000000000000000traffic
Why? Required bytes $ bytes {1_kab # 2B 1_z 1_j + # ڳ ¨ '>' = * 1_d. U then X then 9 then p4D then X) 9 then F µ_ d then o
% Too many I have finished [7 # Why @ = Listen 5 then why 0
˕ ꀞ ʧ GK
§ Commandid/g commandid wg commandid
Please wait T until 1Zm3 then h then $ nsL then please try again later/then again before ° then again when 4 minutes later than T later, d | 1_1_ke µâ q }* ˊ ÿ ¬ ˴ 'Volume 5 ← «0
Cr: d j.] ZP> E 'zookeeper # zookeeper? Please wait until h then r1e then y then q then 3FQ ± # sd then {then q then J ¥² then ~ G ^ hmp °} q, too many
Forbidden. td0 conflict} 1 Forbidden · conflict♙Which of the following statements can be used ¿? Export ¥-U + A release qaqeqeqeqeqeqeqe restart [root @ localhost tmp] #
XshellXshellXshellXshellXshellXshellXshellXellXshellXshellXshellXshellXshellXshellXshellXsh
ellXshellXshellXshellXshellXshellXshellXshell
Although it is garbled, it is obvious that two images are output in the middle of E! Epepepepepepepepep quota limit. 1111111111111E
+ 24 fffffffffffasdffffffffffffffff/r/m sort FI
Custom Data Separation
Therefore, it is concluded that php does output two images, but there is a header ('content-Type: image/jpeg ');
Tell the browser that this is an image. The browser gets only one image. You can try to remove the hearder
Result
To view multiple images, use imagejpeg ($ im, "path"). Save the image and use it as the tag output.
Another way is to use the verification code to load a php page in p or img.
Judge a to output different pages