eAuction
  Not just another Perl script
Google
Welcome, Guest. Please Login or Register


If you use eAuction a lot and like it or if you make money from eAuction or from eAuction-related activities ...
then the project asks you for a donation in favor of the further development.



The forums are protected by
AccessControl
(written by Dieter Werner)
Click here if you want to check your IP against the most important RBLs of the net.
Click here in order to visite the AccessControl forums.


<< Visit the international e Auction Marketplace >>
Buy and sell PC and Consumer Electronic components




Welcome to the eAuction Support Forums

  HomeHelpSearchLoginRegister
 



Pages: 1 2 3 4 
text area (Read 1786 times)
Dieter Werner
Administrator
*****
Offline

Dipl. Paranoiac ®

Posts: 1162
Germany
Gender: male
Re: text area
Reply #3 - 01/07/06 at 12:45:31
 
This line ...
$line =~ s/\<br\>/\n/gi;
is wrong, because the browser doesn't know the meaning of \n.
Back to top
 
 

Multimedia file viewing and clickable links are available for registered members only!!  You need to Login or Register!!


Greetings from Germany
Dieter Werner




Advertising
View Profile | WWW   IP Logged
Volf
eAuction User
**
Offline

Simple and powerful
Perl

Posts: 16

Gender: male
Re: text area
Reply #4 - 01/07/06 at 12:58:37
 
Yes, it may be wrong for browser, but not for textarea.

As I have already said, i do not intent to display HTML description at all,
anywhere. only descriptions as text, in <textarea>

In that case who cares about browser?

I am sure that all browser will read text, am I wrong?
Back to top
 
 

Volf


Advertising
View Profile   IP Logged
Dieter Werner
Administrator
*****
Offline

Dipl. Paranoiac ®

Posts: 1162
Germany
Gender: male
Re: text area
Reply #5 - 01/07/06 at 14:36:40
 
Yes, you are wrong.
<textarea></textarea>
are HTML tags.

That means:
<textarea name="DESC">The text of item description</textarea>
is just what you called 'html_description'.
The value of <textarea> can contain HTML tags as well as plain text too.

As for the security ...
You better should use the patch that I posted to the forums
Multimedia file viewing and clickable links are available for registered members only!!  You need to Login or Register!!


Back to top
 
 

Multimedia file viewing and clickable links are available for registered members only!!  You need to Login or Register!!


Greetings from Germany
Dieter Werner




Advertising
View Profile | WWW   IP Logged
Pages: 1 2 3 4 


If you like eAuction, please Rate it.
If you don't like eAuction, please Rate it too.


1 is being poor and 10 is being excellent


EveryScript

ip-location


AccessControl - Members Only