Technical References - [ddesend]

Sends text to a DDE server program on the local machine.

numero = 287
interpreted = N
texte = [ddesend]Text of DDE command[/ddesend] To embed the results of a DDE command into one of your pages, put a [DDEConnect] context into a template, and put [ddesend] contexts inside of that. The DDESend steps contained inside the context execute, and any returned value displays in place of the context. Any [xxx] tags inside the context are first substituted for their real values before the DDE executes. DDESend must be inside a containing [ddeconnect] context, otherwise it will not know which DDE server program to send its text to. Example:
[ddeconnect program=PCAuthorize&topic=GetBatches][ddesend]Tela00001031 1[/ddesend][ddesend]Tela00001031 2[/ddesend][/ddeconnect]
In this example, the DDE command "GetBatches from PCAuthorize" is executed, and the results (a listing of all the batch information for batch #1 and batch #2) is displayed. Notice that the whitespace between "Tela00001031" and "1" is actually a tab character, which is part of the PCAuthorize specification.

DDE has complete access to all DDE-aware programs on your web server. You can write a DDE context that can do damage to the machine or retrieve secret information. However, remote visitors to your web site have no way of executing their own DDE contexts remotely. They can only execute DDE commands inside a template file you have saved on your web server's hard disk.

[ddesend]Text of DDE command[/ddesend]

To embed the results of a DDE command into one of your pages, put a [ddeconnect] context into a template, and put [ddesend] contexts inside of that. The DDESend steps contained inside the context execute, and any returned value displays in place of the context. Any [xxx] tags inside the context are first substituted for their real values before the DDE executes.

DDESend must be inside a containing [ddeconnect] context, otherwise it will not know which DDE server program to send its text to.

Example:

[ddeconnect program=PCAuthorize&topic=GetBatches]
[ddesend]Tela00001031 1[/ddesend]
[ddesend]Tela00001031 2[/ddesend]
[/ddeconnect]

In this example, the DDE command "GetBatches from PCAuthorize" is executed, and the results (a listing of all the batch information for batch #1 and batch #2) is displayed. Notice that the whitespace between "Tela00001031" and "1" is actually a tab character, which is part of the PCAuthorize specification.

DDE has complete access to all DDE-aware programs on your web server. You can write a DDE context that can do damage to the machine or retrieve secret information. However, remote visitors to your web site have no way of executing their own DDE contexts remotely. They can only execute DDE commands inside a template file you have saved on your web server's hard disk.


DOWNLOAD WEBDNA NOW!

Top Articles:

F.A.Q

A compilation of some user's questions...

[biotype]

BioType is a behavioral biometrics WebDNA function based on ADGS research and development (from version 8...

WebDNA Libraries

A list of available libraries for WebDNA...

WebDNA Modules

A list of the currently available modules...

AWS Raw WebDNA LAMP-Plus WebServer

Amazon Web Services (AWS) README for Machine Image ID...

Technical Change History

This Technical Change History provides a reverse chronological list of WebDNA changes...

Related Readings:

[if]

This context displays HTML or executes WebDNA conditionally only if the expression is true...

[redirect]

...

[platform]

...

[hideif]

[HideIf Comparison]Hide This HTML[/HideIf]...

[uppercase]

Changes all lower case letters to upper case...

[url]

[url]...