Skip to main content

[archive] Use of php templates from within Acucobol

  • November 20, 2009
  • 5 replies
  • 0 views

[Migrated content. Thread originally posted on 19 November 2009]

I am building a web site which requires php scripts to be executed within the templates that I am outputting from the Acucobol program. I am displaying these templates by use of the 'is external-form identified by "debt_header.php"' phrase but the PHP script is not being executed. Can anyone help me please?

5 replies

[Migrated content. Thread originally posted on 19 November 2009]

I am building a web site which requires php scripts to be executed within the templates that I am outputting from the Acucobol program. I am displaying these templates by use of the 'is external-form identified by "debt_header.php"' phrase but the PHP script is not being executed. Can anyone help me please?
I believe using the Display external-form phrase the runtime generates HTML headers, it is likely that your php use different headers than HTML. There is a lot of this documented in the Programmers Guide to the Internet manual Chapter 4.5.3 Generating Output. Also, see the runtime configuration variables: CGI_CONTENT_TYPE and CGI_AUTO_HEADER

I hope this helps.

[Migrated content. Thread originally posted on 19 November 2009]

I am building a web site which requires php scripts to be executed within the templates that I am outputting from the Acucobol program. I am displaying these templates by use of the 'is external-form identified by "debt_header.php"' phrase but the PHP script is not being executed. Can anyone help me please?
I believe using the Display external-form phrase the runtime generates HTML headers, it is likely that your php use different headers than HTML. There is a lot of this documented in the Programmers Guide to the Internet manual Chapter 4.5.3 Generating Output. Also, see the runtime configuration variables: CGI_CONTENT_TYPE and CGI_AUTO_HEADER

I hope this helps.

[Migrated content. Thread originally posted on 19 November 2009]

I am building a web site which requires php scripts to be executed within the templates that I am outputting from the Acucobol program. I am displaying these templates by use of the 'is external-form identified by "debt_header.php"' phrase but the PHP script is not being executed. Can anyone help me please?
i don't think that this works...

your server gets the info to execute an acu-programm and execute the programm/script with the acu-runtime.

The external-form is only used to accept script variables or to use it as template system for output. The Server dosn't know that he has to execute a php script.

[Migrated content. Thread originally posted on 19 November 2009]

I am building a web site which requires php scripts to be executed within the templates that I am outputting from the Acucobol program. I am displaying these templates by use of the 'is external-form identified by "debt_header.php"' phrase but the PHP script is not being executed. Can anyone help me please?
i don't think that this works...

your server gets the info to execute an acu-programm and execute the programm/script with the acu-runtime.

The external-form is only used to accept script variables or to use it as template system for output. The Server dosn't know that he has to execute a php script.

[Migrated content. Thread originally posted on 19 November 2009]

I am building a web site which requires php scripts to be executed within the templates that I am outputting from the Acucobol program. I am displaying these templates by use of the 'is external-form identified by "debt_header.php"' phrase but the PHP script is not being executed. Can anyone help me please?
i don't think that this works...

your server gets the info to execute an acu-programm and execute the programm/script with the acu-runtime.

The external-form is only used to accept script variables or to use it as template system for output. The Server dosn't know that he has to execute a php script.