我的HTML不是很强,每次我都有编码问题。
在这里,我的表格如下:
<head>
<META http-equiv="Content-Type" Content="text/html; charset=ISO-8859-1">
[...]
<form method="post" action="thispage.php" >
<input name="title" type="text" id="title" size=75 value="" />
<textarea name="description" rows="10" cols="80" id="description"></textarea>
<input type="submit" value="GO" />
</form>
当我写一些引号时,例如:'
,它将以\'
到达
因此o'clock
将为o\'clock
你有什么想法吗?
编辑:
奇怪的是,根据萤火虫的说法,引号不会在POST变量中转义!