RE: RE: RE: open a new page (pop up)

2000-06-26 Thread Gerald Richter
> > thanks again. Is it possible to display text from a page/window into a new > page/window (pop up)? > .. like displaying > >[+ $foo +] > in another window/page. > It maybe possible with some javascript at the client side. That means you have to dynamicly create these javascript, instead of p

Re: RE: RE: open a new page (pop up)

2000-06-26 Thread Sherwin Daganato
thanks again. Is it possible to display text from a page/window into a new page/window (pop up)? .. like displaying >[+ $foo +] in another window/page. [EMAIL PROTECTED] writes: >> >> thanks. what if the text is stored in a variable and i want >> to display it in a whole browser window(same/n

RE: RE: open a new page (pop up)

2000-06-26 Thread Gerald Richter
> > thanks. what if the text is stored in a variable and i want > to display it in a whole browser window(same/new). > > in DBI > [- my ($foo) = $sth->fetchrow_array() -] > > how do it display $foo? do i have to save it in a file? > > You must put this in a page on it's own [- DBI->connec

RE: Array/HashRefs in URLs as parameter (was: Embperl question/idea)

2000-06-26 Thread Gerald Richter
> > I have some embperl scripts that need to pass a lot of values > between them, and > until I discovered this trick, I was always manually typeing the whole > string "value=[+ $fdat{someid} +]&foo=[+ bar +]" etc. However, > how about if > you want to change just value, but not change the value

RE: [! !] and Execute

2000-06-26 Thread Gerald Richter
Hi, > > Well it looks like this: > > [- Execute("common.ep"); -] > > which contains [! sub abc { } !] and so on. So maybe I should write [! > Execute("common.ep"); !] if I want to compile common.ep only > once. You could do so, but you don't know the package name they are compiled in. I see the

Re: RE: open a new page (pop up)

2000-06-26 Thread Sherwin Daganato
[EMAIL PROTECTED] writes: >Either put the button in a form on it's own where the action points to the >file you want to display, or use a image and make it a link to the file > >Gerald thanks. what if the text is stored in a variable and i want to display it in a whole browser window(same/new).

Re: RE: open file

2000-06-26 Thread Randy Nivales
tnx bryan and gerald... its working now. [EMAIL PROTECTED] writes: >> The problem is the angle brackets in the statement "". EmbPerl >> translates them into HTML entities before passing the line off to Perl >> to process. You need to set $optRawInput=1 in a block prior to the one >> that con

RE: Embperl question/idea

2000-06-26 Thread Wim Kerkhoff
On 23-Jun-2000 Gerald Richter wrote: > Page 2 > > otherwise Embperl cannot recognise that the [+ .. +] belongs to the href > attribute. > > When you are inside a URL (e.g. href, src) Embperl converts a array ref > automaticly to > > a=1&b=2&c=3 This is a really cool. However, I have a questi

RE: open file

2000-06-26 Thread Gerald Richter
> > The problem is the angle brackets in the statement "". EmbPerl > translates them into HTML entities before passing the line off to Perl > to process. You need to set $optRawInput=1 in a block prior to the one > that contains your while statement. I usually make the following block > the fir

RE: Perl Conferrence in Monterey

2000-06-26 Thread Gerald Richter
> Can you comment on caching a bit? I was under the > impression that HTML::Embperl had no caching > facilities. Embperl 1.x hasn't, Embperl 2 will have... > > Reading the HTML::Mason docs this morning, I noticed > that it supports cache expiry based on 3 conditions: > - 1 - time > - 2 - condi

Re: open file

2000-06-26 Thread Bryan Thale
The problem is the angle brackets in the statement "". EmbPerl translates them into HTML entities before passing the line off to Perl to process. You need to set $optRawInput=1 in a block prior to the one that contains your while statement. I usually make the following block the first one in my

Re: RE: open file

2000-06-26 Thread Randy Nivales
[EMAIL PROTECTED] writes: >> >> just wanna know how to open a text file in embperl >> >How do you do it in Perl? > >open FH, "filename" ; > >or ask more detailed what your problems is... this one didn't work... why? test [- open FILE, "/full/path/of/my/file"; -] [$ while ($line = ) $] [+ $

Re: Perl Conferrence in Monterey

2000-06-26 Thread Terrence Brannon
Can you comment on caching a bit? I was under the impression that HTML::Embperl had no caching facilities. The one email msg I read in the archives from an [EMAIL PROTECTED] mentioned the use of a transhandler to do caching based on file-generation time... but this appeared to be an in-house solut

RE: %ENV

2000-06-26 Thread Gerald Richter
  Hi Gerald, Thanks for replay. I use squid as proxy server. I think the problem not in proxy. When I print environment from a CGI script all seems be OK. On server side I use apache with SSL and the "user" connect to this site through squid proxy. And in this situation appears the d

RE: open file

2000-06-26 Thread Gerald Richter
Hi, > > just wanna know how to open a text file in embperl > How do you do it in Perl? open FH, "filename" ; or ask more detailed what your problems is... Gerald - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

open file

2000-06-26 Thread Embperl
hello there... just wanna know how to open a text file in embperl tnx - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

%ENV

2000-06-26 Thread Gerald Richter
Hi, >Normaly HTTP_X_FORWARDED_FOR variable points to clients IP and >REMOTE_ADDR to proxy IP if request is via proxy. >Situation: >trough proxy: >HTTP_X_FORWARDED_FOR is unset >REMOTE_ADDR points to the IP of the proxy server > >Did anybody know workaround for this situation? >I want to get the

RE: open a new page (pop up)

2000-06-26 Thread Gerald Richter
> i am planning to create an embperl page with > form fields (text inputs and buttons). how do i > make a button display a text file in a whole > web page (new or same) when clicked? any > suggestion? thanks. > Either put the button in a form on it's own where the action points to the file you wan

%ENV?

2000-06-26 Thread Krassimir Slavchev
Hi, Normaly HTTP_X_FORWARDED_FOR variable points to clients IP and REMOTE_ADDR to proxy IP if request is via proxy. Situation: trough proxy: HTTP_X_FORWARDED_FOR is unset REMOTE_ADDR points to the IP of the proxy server Did anybody know workaround for this situation? I want to get the clinets IP

open a new page (pop up)

2000-06-26 Thread Sherwin Daganato
i am planning to create an embperl page with form fields (text inputs and buttons). how do i make a button display a text file in a whole web page (new or same) when clicked? any suggestion? thanks. - To unsubscribe, e-mail: [EM