4D v14.3WEB SEND TEXT |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14.3
WEB SEND TEXT
WEB SEND TEXT
The WEB SEND TEXT command directly sends HTML formatted text data. The htmlText parameter contains the data to be sent. Since 4D does not check the parameter content, make sure that the HTML encoding is correct. Any references to 4D variables and 4DSCRIPT type tags in the text are always parsed. By default, if you omit the type parameter, 4D assumes that the data sent is of the "text/html" type. The command is then exactly the same as sending a BLOB of the "text/html" type using the WEB SEND BLOB command. The following method: TEXT TO BLOB("<html><head></head><body>"+String(Current time)+"</body></html>";$blob;UTF8 Text without length) ... can be replaced by the single line: WEB SEND TEXT("<html><head></head><body>"+String(Current time)+"</body></html>") |
PROPERTIES
Product: 4D
HISTORY
SEE ALSO ARTICLE USAGE
4D Language Reference ( 4D v14 R2) Inherited from : WEB SEND TEXT ( 4D v13.5) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||