
yapp
User
Feb 13, 2002, 5:40 AM
Post #1 of 4
(1967 views)
|
|
CrLf from textfield
|
Can't Post
|
|
To test my CGI scripts, I work used windows2000 iis/5.0, IE 5 (windowsxp, iis5.1, IE6 since yesterday) When I receive text from a <TEXTFIELD></TEXTFIELD> input field, I seams that my CGI script receives CrLf pairs used for line-breaks. I experienced that problem when I applied a split(/\n/, $message) to the message. Nowadays, I use a regexp to convert the data, and then everything works as it should be. However, I still have some questions: - Is this an internet standard? - Or is this is a bug in iis/ie? - Does this happen elsewhere aswell? Yet Another Perl Programmer _________________________________ ~~> [url=http://www.codingdomain.com]www.codingdomain.com <~~ More then 3500 X-Forum [url=http://www.codingdomain.com/cgi-perl/downloads/x-forum]Downloads!
|