>
> Is possible check if browser allow cookies when use %udat hash ?
>
>
> How can check if user had accept cookies in Embperl ?
>
I don't have tested this, but I think the following should work:
The first page looks like:
[-
$udat{test} = 1 ;
# redirect to another page to see if the cookie
> > instead of redirecting you could call
> > Execute({Inputfile => $fdat{ErrorPage}, [@errormessages]}).
>
> make that
> Execute({Inputfile => $fdat{ErrorPage}, param=> [@errormessages]})
> ErrorPage of course needs to render the data in the params passed to it.
>
Execute($fdat{ErrorPage}, @erro
>
> I'm using embperl to generate a form based on files in a given
> directory. The problem is that when I hit my script with
> netscape, I see the wanted HTML as ascii text instead of seeing
> the rendered form. If I save it as source and reload that
> instead (using file:), then I see it corre
Is possible check if browser allow cookies when use %udat hash
?
How can check if user had accept cookies in Embperl ?
Thank in advance
Mario F. Toro
Gerente Desarrollo
E-Mail : [EMAIL PROTECTED]
Telefono : +(56)-2-2368138
Fax : +(56)-2-2368139
Http://www.DeveTel.cl
DeveTel
___cliff rayman___ wrote:
> instead of redirecting you could call
> Execute({Inputfile => $fdat{ErrorPage}, [@errormessages]}).
make that
Execute({Inputfile => $fdat{ErrorPage}, param=> [@errormessages]})
ErrorPage of course needs to render the data in the params passed to it.
>
>
> Kaare Rasm
instead of redirecting you could call
Execute({Inputfile => $fdat{ErrorPage}, [@errormessages]}).
Kaare Rasmussen wrote:
> Hi
>
> I want to go to another page if some condition arises. I can do this
>
> [- $http_headers_out{'Location'} = "$fdat{Errorpage}" -]
>
> But what if I want to pass a var
Embperl, DBI, mod_perl and PHP don't play together nicely when mod_perl
and PHP are built as DSOs. There are namespace issues in some
libraries. You'll either need to build one of them staticly or use two
seperate apaches and proxypass one to the other.
On Mon, 11 Sep 2000, Antti Linno wrote:
>
Okay, I'm getting farther along now. But I still need help from
the list...
I'm using embperl to generate a form based on files in a given
directory. The problem is that when I hit my script with
netscape, I see the wanted HTML as ascii text instead of seeing
the rendered form. If I save it a
Matt wrote:
> > --cut-
> >
> > Parsing a form
> >
> >
> > [+ foreach $key (%fdat) { print "$key -> $fdat{$key}\n" } +]
>
> should that not be foreach $key (keys %fdat)?
Yes. *blush*
> >
> >
> > --cut-
> mine reads
>
> SetEnv EMBPERL_DEBUG 2285
>
>
>
you may try to preload DBI and DBD::mysql. In your httpd.conf
PerlModule DBI
PerlModule DBD::mysql
this helps sometimes.
You may also link mod_perl staticly into Apache and load mod_php as dynamic
at runtime
Gerald
-
Gerald Richter
Hi.
I installed Apache_1.3.12, mod_perl-1.23 flexible way, also PHP4 as
module. I am using mysql-3.22.32(from source) and postgresql. Also perl
modules DBI-1.14, Msql-Mysql-modules-1.2214 . Also HTML-Embperl-1.2.1 .
Apache started nice, php test phpinfo() ran too.
As its my job to write scripts u
11 matches
Mail list logo