<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: CGI Program using KSH in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cgi-program-using-ksh/m-p/3280310#M180334</link>
    <description>Hi&lt;BR /&gt;&lt;BR /&gt;I have given 777 to borth files what I find &lt;BR /&gt;is CGI ENV varible $QUERY_STRING not geting&lt;BR /&gt;the color in put from the first program&lt;BR /&gt;&lt;BR /&gt;Any idea to how get the value&lt;BR /&gt;&lt;BR /&gt;Rgs,&lt;BR /&gt;Ashan</description>
    <pubDate>Tue, 18 May 2004 23:52:39 GMT</pubDate>
    <dc:creator>ashanabey</dc:creator>
    <dc:date>2004-05-18T23:52:39Z</dc:date>
    <item>
      <title>CGI Program using KSH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cgi-program-using-ksh/m-p/3280308#M180332</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;I wrote a program call a another cgi script using ksh, but I find problem to call the second script both scripts in http:/myhost/cgi-bin/qry.cgi and get_color.cgi(secound scripts.)Message I am getting is page is missing cant find. &lt;BR /&gt;&lt;BR /&gt;Any idea...? How to call the secound script&lt;BR /&gt;&lt;BR /&gt;qry.cgi (First Script)&lt;BR /&gt;----------------------&lt;BR /&gt;print "content-type:text/html"&lt;BR /&gt;print ""&lt;BR /&gt;print ""&lt;BR /&gt;print ""&lt;BR /&gt;print "&lt;CENTER&gt;&lt;H1&gt; Personality by Color MMMMM....!&lt;/H1&gt;&lt;/CENTER&gt;"&lt;BR /&gt;print "&lt;FORM method="get" action="https://community.hpe.com/data/web/public/cgi-bin/sscan/get_color.cgi"&gt;"&lt;BR /&gt;print "&lt;STRONG&gt; Pick A Color (RED, GREEN, BLUE, YELLOW) &lt;/STRONG&gt;"&lt;BR /&gt;print "&lt;INPUT name="color" size="9" /&gt;"&lt;BR /&gt;print "&lt;BR /&gt;"&lt;BR /&gt;print "&lt;INPUT type="reset" value="clear" /&gt;"&lt;BR /&gt;print "&lt;INPUT type="submit" value="ANALYZE" me..="" /&gt;"&lt;BR /&gt;print ""&lt;BR /&gt;&lt;BR /&gt;get_color.cgi Secound Script&lt;BR /&gt;----------------------------&lt;BR /&gt;#!/usr/bin/ksh&lt;BR /&gt;print "content-type:text/html"&lt;BR /&gt;print ""&lt;BR /&gt;print ""&lt;BR /&gt;print ""&lt;BR /&gt;print "&lt;CENTER&gt;&lt;H2&gt;YOOOOOOOOOOO&lt;/H2&gt;&lt;/CENTER&gt;"&lt;BR /&gt;name_value_pair=$QUERY_STRING&lt;BR /&gt;your_color=${name_value_pair#color=}&lt;BR /&gt;print "&lt;H1&gt;$your_color&lt;/H1&gt;"&lt;BR /&gt;print ""&lt;/FORM&gt;</description>
      <pubDate>Tue, 18 May 2004 23:10:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cgi-program-using-ksh/m-p/3280308#M180332</guid>
      <dc:creator>ashanabey</dc:creator>
      <dc:date>2004-05-18T23:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: CGI Program using KSH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cgi-program-using-ksh/m-p/3280309#M180333</link>
      <description>&lt;BR /&gt;Maybe the second program is not executable?&lt;BR /&gt;This typically happens after an ftp (or for a newly editted script).&lt;BR /&gt;Try chmod +x /data/web/public/cgi-bin/sscan/get_color.cgi&lt;BR /&gt;&lt;BR /&gt;Double check with ls -l before and after.&lt;BR /&gt;&lt;BR /&gt;Also... you may want to consider using perl for this kind of stuff. It has good support for cgi work. And you are not going to use much of the stuff shells are good at: invoking and organized series of commands.&lt;BR /&gt;&lt;BR /&gt;fwiw,&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Tue, 18 May 2004 23:41:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cgi-program-using-ksh/m-p/3280309#M180333</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2004-05-18T23:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: CGI Program using KSH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cgi-program-using-ksh/m-p/3280310#M180334</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;I have given 777 to borth files what I find &lt;BR /&gt;is CGI ENV varible $QUERY_STRING not geting&lt;BR /&gt;the color in put from the first program&lt;BR /&gt;&lt;BR /&gt;Any idea to how get the value&lt;BR /&gt;&lt;BR /&gt;Rgs,&lt;BR /&gt;Ashan</description>
      <pubDate>Tue, 18 May 2004 23:52:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cgi-program-using-ksh/m-p/3280310#M180334</guid>
      <dc:creator>ashanabey</dc:creator>
      <dc:date>2004-05-18T23:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: CGI Program using KSH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cgi-program-using-ksh/m-p/3280311#M180335</link>
      <description>I might be missing something but should the following line&lt;BR /&gt; &lt;BR /&gt;print "&lt;INPUT name="color" size="9" /&gt;"&lt;BR /&gt; &lt;BR /&gt;be something like&lt;BR /&gt; &lt;BR /&gt;print "&lt;INPUT type="text" name="color" size="9" /&gt;"</description>
      <pubDate>Wed, 19 May 2004 00:43:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cgi-program-using-ksh/m-p/3280311#M180335</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2004-05-19T00:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: CGI Program using KSH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cgi-program-using-ksh/m-p/3280312#M180336</link>
      <description>Is the dirname part of the URI /data/web/public/cgi-bin/sscan/get_color.cgi (from your script's form tag) a webserver valid ScriptAlias, or is in your httpd.conf (supposed your webserver being Apache) a &lt;DIRECTORY&gt; or &lt;LOCATION&gt; block that adds an Option ExecCGI ?&lt;BR /&gt;&lt;/LOCATION&gt;&lt;/DIRECTORY&gt;</description>
      <pubDate>Wed, 19 May 2004 05:59:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cgi-program-using-ksh/m-p/3280312#M180336</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2004-05-19T05:59:10Z</dc:date>
    </item>
  </channel>
</rss>

