[prev in list] [next in list] [prev in thread] [next in thread]
List: konq-bugs
Subject: [Bug 76633] New: Konqueror do not send all form fields
From: Eugene Onischenko <oneugene () ukr ! net>
Date: 2004-03-03 9:51:33
Message-ID: 20040303095133.11986.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=76633
Summary: Konqueror do not send all form fields
Product: konqueror
Version: 3.2.1
Platform: unspecified
OS/Version: Linux
Status: NEW
Severity: normal
Priority: NOR
Component: khtml forms
AssignedTo: konq-bugs kde org
ReportedBy: oneugene ukr net
Version: 3.2.1 (using KDE 3.2.1, compiled sources)
Compiler: gcc version 2.95.4 20011002 (Debian prerelease)
OS: Linux (i686) release 2.4.18
If there is a form with a file upload field, the konquerror do not sent all form \
fields to the server. This happens only if file upload field have been left empty.
Here is php script to test it:
<html>
<body>
<pre>
<?php
echo '$_POST:';print_r($_POST);
?>
</pre>
<form method="post" action="<?php echo $_SERVER['SCRIPT_NAME']?>" \
enctype="multipart/form-data"> <table>
<tr>
<td>Text1:</td><td><input type="text" name="text1" value="1"></td>
<tr>
</tr>
<td>Text2:</td><td><input type="text" name="text2" value="2"></td>
<tr>
</tr>
<td>File1:</td><td><input type="file" name="file1"></td>
<tr>
</tr>
<td>Text3:</td><td><input type="text" name="text3" value="3"></td>
</tr>
</table>
<input type="submit">
</form>
</body>
</html>
If the one left file upload field empty and submitted the form, php see only two \
values: [text1] => 1
[text2] => 2
If file upload field contained a valid file, the php see all three values:
[text1] => 1
[text2] => 2
[text3] => 3
_______________________________________________
Konq-bugs mailing list
Konq-bugs@mail.kde.org
https://mail.kde.org/mailman/listinfo/konq-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic