Re: Totally lost - need a starting point



Helen wrote:
I am trying to use an html script that will select an expect script, run it
and display the output as text back into the html page. I get a very brief
box showing up, it is so fast I am not sure what is in it. The expect script
is very slow to execute so it will require time. The error_log shows
"GET" / HTTP/1.1" 304 - and nothing else

<snip html>

#! /usr/bin/perl

use strict;
use warnings;

print "Content-type: text/exp\n\n;

$rxvt;

parse_form_data (select_advanced);
$NAME = $select_advanced {'NAME'};
$NAME;

else die;

oh, I'd say your error log shows more than that...

like:

Can't find string terminator '"' anywhere

for instance? which, if repaired, will be followed by a whole list of:

Global symbol "{undeclared variable}" requires
explicit package name

and finally:

syntax error near "else"

ouch! care to take a second crack at your question?

-jp

.



Relevant Pages

  • Ive become a hard-core userContent.CSS junkie !
    ... html, html * { ... display: inline!important;} ... Some of the schools have software developers... ... documenting the Source Code is different from documenting the app. ...
    (sci.physics)
  • Re: Redirecting between PHP Pages
    ... but at the very least in a php script. ... > on the outcome of the validation, you want to do one of two things: ... with the various bits of HTML being ... Display login form ...
    (comp.lang.php)
  • Re: formating text retrieved from a db
    ... You had to add HTML ... > If you were to display a phrase in your browser in simple HTML, ... They have a lofty name, ... has the formating with blank lines between the paragraphs etc. there is no ...
    (comp.lang.php)
  • Re: Am I on the right track here?
    ... that happens to be HTML ... | display rectangle for each video in that 4x2 layout, ... | display HTML relative to each rectangle. ... Once the server hands the page to the browser, the server, ...
    (comp.lang.php)
  • Re: Displaying HTML from memory
    ... IIS is out of the questione and I still don'w want to save HTML ... > you can pass a memory stream. ... > web page, you want to display, as a parameter. ... > read the stream and flush its contents to the HttpRespond.Output stream. ...
    (microsoft.public.dotnet.languages.csharp)