[thelist] CGI to Cold Fusion

Anthony Baratta Anthony at Baratta.com
Mon Jun 4 19:49:37 CDT 2001


At 05:36 PM 6/4/2001, you wrote:
>Hi All!
>Ok, so lets say I have test.cgi.  All test.cgi does is
>set the variable $myvar = "something".  Is there a
>really slick way for me to write a cold fusion page
>that can call test.cgi and get the contents of $myvar
>in the cfm?

I know nothing about CF, but if you can execute "outside programs", just 
put a print statement into the perl program:

         print "VariableValue";

The execute the perl program and pass it to CF Variable:

(In perl I'd do it this way)

         $Variable = `test.cgi`;
----
Anthony Baratta
President
Keyboard Jockeys





More information about the thelist mailing list