debug.htm

来自「applet在線上繪圖,允許在瀏覽器上繪圖,最後儲存成各式的圖檔」· HTM 代码 · 共 36 行

HTM
36
字号
<html>

<head>
<title>Debug form.</title>
</head>

<body bgcolor="#A8A8B8">
<table border="1">
<caption><b>Debug form</b></caption>

<tr><td>
  <form action="save.php" method="post" enctype="multipart/form-data">
	File to upload<br>   
	<input type=file size="40" name="image" ><br>
	<input type="submit" value="Upload">
  </form>

<font size="-1">
<p>This form can help you to debug the "save.php" script.
If "save.php" raises an error you won't see the server response while saving
the resulting image. This is because the "save.php" output goes to the applet (not to the browser).

<p>In that case you can debug the script by uploading an image with this simple form.
The proper output of the original script looks as follows:</p>
</font>

<pre>
#SHOWDOCUMENT=view.php?filename=...&amp;image_type=...
</pre>
</td></tr>

</table>

<p align="center"><a href="javascript:void(0);" onclick="window.close();">Close</a></p>

</body>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?