Re: hour-problem

2001-12-13 Thread Gerald Richter
> > > > > > I have a little problem with my embedded perl HTML, it's losing a hour. > > > Says 22:00 at 23:00. I has tried to find what makes this distance, but > > > can't find out. > > > > > This surely is not a problem of Embperl. I guess the timezone isn't > > correctly set when running under

Re: How to use ddd with embperl?

2001-12-13 Thread Gerald Richter
> I've heard that a useful tool for debugging perl cgi scripts is to run > them through ddd on a XWindows machine when the user calls the > web page. > > Is this possible with Embperl? > Yes, 2.0 supports debugging your page with the perl debugger. In offline mode you can use the Perl debugger wi

Re: upgraded to 2.0b5 and new apache install. Debug info is gone.

2001-12-13 Thread Gerald Richter
> What am I overlooking here? My web pages don't show up with the > debug info any more! > Yes, 2.0b5 supports the debug link only on error pages. The content of the logfile is different, as it was in 1.3.x, because of the different way 2.0 works, so it isn't as much usefull for application de

How to use ddd with embperl?

2001-12-13 Thread Scott Chapman
I've heard that a useful tool for debugging perl cgi scripts is to run them through ddd on a XWindows machine when the user calls the web page. Is this possible with Embperl? - To unsubscribe, e-mail: [EMAIL PROTECTED] For a

RE: Using the Upload Example

2001-12-13 Thread Scott Chapman
No, I'm saving the file itself to file.$$ ($$ is the pid#). I'm saving the original file name in another file, original_file_name.$$. This way I have all the information I need but the user doesn't know what the file was saved as and therefore has no access to it. On 13 Dec 2001, at 13:21, Boyd

RE: Using the Upload Example

2001-12-13 Thread Boyd, David
So if I am saving say client.js you are first saving this file to something called file.$$ then you save it to client.$$ How would you then show to the user the file info so that others can view the information? -Original Message- From: Scott Chapman [mailto:[EMAIL PROTECTED]] Sent: Thur

Re: upgraded to 2.0b5 and new apache install. Debug info is gone.

2001-12-13 Thread Scott Chapman
Oops! Hey, do Logfile links only show up when there's an error? Scott On 13 Dec 2001, at 7:41, Scott Chapman wrote: > What am I overlooking here? My web pages don't show up with the > debug info any more! > > [Apache 1.3.22, mod_perl 1.26, embperl 2.0b5] > > I also have some questions re

Re: Using the Upload Example

2001-12-13 Thread Scott Chapman
Just something to consider. There can be security problems when you save a file to the name the user chose. If they upload a .pl file for example and then manange to call it as a CGI script you get the idea? When I upload a file, I either save it to a fixed name, if this is applicable,

upgraded to 2.0b5 and new apache install. Debug info is gone.

2001-12-13 Thread Scott Chapman
What am I overlooking here? My web pages don't show up with the debug info any more! [Apache 1.3.22, mod_perl 1.26, embperl 2.0b5] I also have some questions regarding config stuff below. They are in as comments. Here's my srm.conf file: # When should I use "PerlSetEnv" and when "SetEnv"

Re: Re[2]: encoding

2001-12-13 Thread Gerald Richter
> >>I`ve implemented a callback function EMBPERL_INPUT_FUNC for encrypting the > >>source code, but Embperl (1.3.3-dev) is calling it only for *.epl files and > >>not for *.phtml files. > GR> Looks like you have setup the INPUT_FUNC only for epl files in your > GR> httpd.conf. If this isn't the pr

Re: Using the Upload Example

2001-12-13 Thread Gerald Richter
> I am looking at using the the Upload example (found on the embperl site) but > am a little lost. > > The example has the file that is being uploaded saved to the server as > file.$$. I would like the file name to be the same as the one that was > selected. When I look at the $fdat{ImageName}

Re: Cannor read file from Embperl

2001-12-13 Thread Gerald Richter
> I can get a script to write a file but read never seems to happen. > > open (FILE, "/tmp/emb.txt") || die "open failed $!"; > $line = ; > return $line; > > I get an error with $line = ; > As other already said Embperl treats as a HTML tag in the default configuration. There

Re: CGI on Win32 Apache (was: Newbie Question)

2001-12-13 Thread Gerald Richter
> I am getting an perl.exe - Unable to Locate DLL error that says The dynamic > link library ApacheCore.dll could not be found in the specified path and > then it displays my $PATH variable contents. This is normal when it's compiled for mod_perl, but you don't use mod_perl > When I add the pa

Re: hour-problem

2001-12-13 Thread Gerald Richter
Hi! > > I have a little problem with my embedded perl HTML, it's losing a hour. > Says 22:00 at 23:00. I has tried to find what makes this distance, but > can't find out. > This surely is not a problem of Embperl. I guess the timezone isn't correctly set when running under Apache. Check your envi

Re: Simple question:How can embperl log be turned the off?

2001-12-13 Thread Gerald Richter
>How can embperl log be turned the off? >Removing all embperl log env did not work PerlSetEnv EMBPERL_DEBUG 0 PerlSetEnv EMBPERL_LOG /dev/null (These two lines must be before the PerlModule HTML::Embperl) Gerald - Gerald Richter