[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Testing a form page..



<P><FONT SIZE=-1>Thanks for all the help.&nbsp; Thanks to all who has also
responded to</FONT>
<BR><FONT SIZE=-1>my message.</FONT>

<P><FONT SIZE=-1>Amitava Basu</FONT>
<BR>&nbsp;

<P><FONT SIZE=-1>Chris Nandor wrote:</FONT>
<BLOCKQUOTE TYPE=CITE><FONT SIZE=-1>At 10.34 98.01.27, Amitava Basu wrote:</FONT>
<BR><FONT SIZE=-1>>Can anyone suggest if it is possible to view my form
on my</FONT>
<BR><FONT SIZE=-1>>mac terminal without loading it on any web server on
the</FONT>
<BR><FONT SIZE=-1>>internet.</FONT>

<P><FONT SIZE=-1>If you are using CGI.pm, you can just run the script from
within MacPerl.</FONT>

<P><FONT SIZE=-1>So for a script that might be called with</FONT>

<P><FONT SIZE=-1>&nbsp; <A HREF="http://some.host.com/cgi-bin/script.acgi?some=field&foo=bar">http://some.host.com/cgi-bin/script.acgi?some=field&amp;foo=bar</A></FONT>

<P><FONT SIZE=-1>You would run it, and the MacPerl window would show:</FONT>

<P><FONT SIZE=-1>&nbsp; (offline mode: enter name=value pairs on standard
input)</FONT>

<P><FONT SIZE=-1>Below that, you type:</FONT>

<P><FONT SIZE=-1>&nbsp; some=field</FONT>
<BR><FONT SIZE=-1>&nbsp; foo=bar</FONT>

<P><FONT SIZE=-1>And when done, you hit return and control-D.&nbsp; CGI.pm
uses those parameters</FONT>
<BR><FONT SIZE=-1>to feed to the CGI script.</FONT>

<P><FONT SIZE=-1>--</FONT>
<BR><FONT SIZE=-1>Chris Nandor&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<A HREF="mailto:pudge@pobox.com">mailto:pudge@pobox.com</A>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<A HREF="http://pudge.net/">http://pudge.net/</A></FONT>
<BR><FONT SIZE=-1>%PGPKey=('B76E72AD',[1024,'0824 090B CE73 CA10&nbsp;
1FF7 7F13 8180 B6B6'])</FONT>
<BR><FONT SIZE=-1>#==&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; New Book: MacPerl:&nbsp;
Programming for the Rest of Us&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ==#</FONT>
<BR><FONT SIZE=-1>#==&nbsp;&nbsp;&nbsp; Publishing Date: Early 1998. <A HREF="http://www.ptf.com/macperl/">http://www.ptf.com/macperl/</A>&nbsp;&nbsp;&nbsp;
==#</FONT></BLOCKQUOTE>
<FONT SIZE=-1>&nbsp;</FONT>&nbsp;&nbsp;</HTML>

</html>