> "James" == James Kipp <[EMAIL PROTECTED]> writes:
James> or use a hidden param in a form:
James> print qq(
James> http://yourhost/another.cgi";>
James>
James>
James>
James> );
No, no, no. You aren't encoding it properly. THere's already stuff
in CGI.pm to do this for you properly.
> All am I am trying to do now is have a user enter his/her
> name in a form and have that saved to a cookie, so when they
> return, they will get something like " Your juser, please
> proceed" . I took the example here:
> http://stein.cshl.org/WWW/CGI/examples/cookie.cgi
>
> Below is the code
>
> > Do you have a specific question? it seems:
> >
> > http://search.cpan.org/author/LDS/CGI.pm-2.89/CGI.pm#HTTP_COOKIES
> >
> > Covers things pretty extensively, short of looking at the
> > source to see how things are implemented rather than just the
> > API. Really very little to them.
[redirected to beginners-cgi list]
zegdatwel wrote:
> hi,
>
> "Premature end of script headers"
>
> what can this mean...it's in the error log. When does this
> happen? I got error 500 when executing script.
It means your script ended (normally or abnormally) before emitting a proper
MIME heade
I want to be able to adapt my web-files, as they are being served, so that older
browsers get an xhtml 1.0-transitional version instead of the default xhtml 1.1
version. This will involve replacing the DOCTYPE declaration and, also, various xhtml
tags to include deprecated html attributes. This
> $username = param('username');
> $lastname = param('lastname');
>
> my question is, how can i use that two variable to another script
> open by this command:
>
> system('sudo', '-u', 'www', '/path/to/anotherscript.pl');
>
> Is that possible?
You could redirect to another url:
print $q->redi
>
> You also might want some background on the HTTP header field
> for Set-Cookie - sort of behind the scenes of what the CGI
> module does.
>
> I'd suggest some research for "RFC 2109" and "http
> set-cookie". I found this helpful to understand the simple
> cookie header-field syntax, separa
NAME
beginners-faq - FAQ for the beginners-cgi mailing list
1 - Administriva
1.1 - I'm not subscribed - how do I subscribe?
Send mail to <[EMAIL PROTECTED]>
You can also specify your subscription email address by sending email to
(assuming [EMAIL PROTECTED] is your email addre
Hi all,
I have a question. From a web form, i pass the info to a cgi script.
i have this variable on the script:
$username = param('username');
$lastname = param('lastname');
my question is, how can i use that two variable to another script
open by this command:
system('sudo', '-u', 'www', '/
On Thu, 6 Feb 2003 13:59:51 +0800, "Glynn S. Condez" <[EMAIL PROTECTED]>
wrote:
> Hi all,
>
> I have a question. From a web form, i pass the info to a cgi script.
>
> i have this variable on the script:
>
> $username = param('username');
> $las
10 matches
Mail list logo