Re: newbie pass variables on CGI

From: Alan J. Flavell (flavell_at_ph.gla.ac.uk)
Date: 10/31/03


Date: Fri, 31 Oct 2003 12:33:09 +0000

On Fri, 31 Oct 2003, Ben Morrow wrote:

> You can retrieve the query-string with $query->query-string, and then
> append this to another URI to invoke that script with the same
> parameters.

Hmmm, CGI.pm documentation is a bit vague in this area. I'm looking
at http://stein.cshl.org/WWW/software/CGI/

| query_string()
| Returns a query string suitable for maintaining state.

Does this mean it's in URLencoded form, or not?

At any rate, anyone who's using -oldstyle_urls should take note of
what it says about the need for HTML-escaping ampersands.

cheers



Relevant Pages

  • Re: Socket.BeginReceive/Socket.EndReceive Documentation Problem
    ... the documentation clearly states that "When your application calls ... on to my question about the sample code: ... why is it necessary for ReadCallBack to invoke ... >After calling BeginSend the thread can simply continue with other things, ...
    (microsoft.public.dotnet.framework)
  • Are sysctl(8) values useful for measuring system resource consumption?
    ... the "developer experience," what resources are thus consumed, and figure ... script that essentailly acts as a bit of "scaffolding" around time; ... the script sets things up to invoke timewith the "-l" flag (so we ...
    (freebsd-performance)
  • Re: problem in invoking shell script through a C++ thread
    ... I am using Pthreads to invoke shell scripts. ... How do you know that the script didn't get invoked? ... getId.getString<< endl; ...
    (comp.sys.hp.hpux)
  • Re: CopyHere
    ... You explained why the script would continue if it was unable to copy ... The question was asking for help on a CopyHere command which was not ... documentation seems to say it should. ... 'Backup User Favorites ...
    (microsoft.public.scripting.vbscript)
  • Re: Simple question about CGI response after form data has been processed.
    ... oversight in the documentation I have examined. ... I have found it extremely easy to use the CGI ... data my script had just processed. ... I know I could have the contents of the HTML file in the cgi file too, ...
    (comp.lang.perl.misc)