Curl with asp pages....
| From: | ceo at l-i-e dot com | Date: | Fri, 28 Nov 2008 15:08:10 +0000 |
| Subject: | Curl with asp pages.... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-283900@lists.php.net to get a copy of this message | ||
> There is a slight difference in how ASP handles multiple form fields
> that share the same name (as well as SELECT MULTIPLE lists) such that
> ASP does not need (and should not use) square brackets in field names
> the way PHP does.
Alas, not only doesn't it need them, it CANNOT use them, so you are stuck if you want to do
something such as:
name="foo[1]" value="17"
name="foo[5]" value="47"
name="foo[17]" value="32"
I was quite disappointed when I found out that ASP simply could not maintain a simple key-value
pairing without jumping through hoops...
It made for a whole 'nother verse in my "Microsoft Sucks" song strewn throughout the
code comments of that ASP project.
Another verse was "Boolean expressions don't short-circuit"
:-)
Ah, and "Can't moveFirst in an empty record set" was another.
Sadly, the song is lost as I failed to make a copy of that codebase before I moved on to another
task.