Re: disable back button

2003-08-20 Thread Oliver Schnarchendorf
On Wed, 20 Aug 2003 14:38:39 +1000, Catriona Wordsworth wrote: > pretty simple stuff I hope, but can someone tell me how to disable > the back button in my perl script? Cat, once again you chose the wrong list for your question... Even though you create your HTML with perl it is

Re: disable back button

2003-08-20 Thread Oliver Schnarchendorf
On Tue, 19 Aug 2003 23:36:57 -0800, Dennis Stout wrote: >> BTW. I for once leave web sites of people who try to disable a >> browsers most > used feature. > > Same! > > So far, the only practicle and useful thing I've seen done ot modify a users > browser is when making a form of some kind, and

[OT] Re: disable back button

2003-08-20 Thread Dennis Stout
> I still can use my keyboard... which I mostly use to navigate the web. > > Don't make the life hard on users... they might just leave your site. I made life easier on my users by making the one single popup window I have. It's a ticketing system (written in perl). You click on a ticket number,

Re: disable back button

2003-08-20 Thread Dennis Stout
> BTW. I for once leave web sites of people who try to disable a browsers most used feature. Same! So far, the only practicle and useful thing I've seen done ot modify a users browser is when making a form of some kind, and you make a popup window come up to enter more information or see a quick

Re: Premature end of script headers Linux with Fat32 filesystem

2003-08-20 Thread Tim Blanchard
"Tim Brom" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I dual-boot my computer and I have three partitions, an NTFS partition > for Windows XP Pro, an ext3 filesystem for Linux (Red Hat Linux 9.0) and > a Fat32 filesystem for my data (because FAT32 is the only filesystem > both O

Re: create log as well as print on screen

2003-08-20 Thread Kristofer Hoch
sub Log{ my $message = shift(); my $LOGNAME = 'log.log'; open(LOGFILE, ">>$LOGNAME") or die("Could not open log file: $!"); print LOGFILE $message; close(LOGFILE); } sub Print{ my message = shift(); #Assuming you are passing a string my $Out = *STDOUT; # Standard out. print $Out "

Re: disable back button

2003-08-20 Thread Octavian Rasnita
You cannot disable the back button and the keyboard hotkey for this task from a perl script. You might need to use a client side program, like a Javascript one. However, you can make a page not to cache, and to expire immidiately, and this way if a visitor will press the back button the page won't

Re: Why executable?

2003-08-20 Thread drieux
On Monday, Aug 11, 2003, at 14:50 US/Pacific, Randal L. Schwartz wrote: [..] It all depends on the way you configure your server. [..] nice general write up. But am I missing something here? I thought a part of the reason that there is the AddHandler cgi-script .cgi and Options Indexes Inclu

Re: Comparing two text files.

2003-08-20 Thread Yupapa.com
#!/usr/bin/perl use Fcntl qw(:DEFAULT :flock); use strict; my $file_one= 'file1.txt'; my $file_two= 'file2.txt'; my %file_one_data = (); my %file_two_data = (); sysopen(FILE, $file_one, O_RDONLY); flock(FILE, LOCK_SH); while() {

Re: Running process in background?

2003-08-20 Thread Yupapa.com
Hi~ 0 * * * * /usr/bin/perl /full/path/to/your/script That will run the script every hour at 0 ByeBye~ Yupapa ### # Yupapa Web Hosting =^.^= # Web Site - http://www.yupapa.com # Email - [EMAIL PROTECTED] ### "Kevin Pfeiffer" <[EMAIL PROTEC

Re: right click help please?

2003-08-20 Thread Octavian Rasnita
This is not possible. teddy.fcc.ro [EMAIL PROTECTED] - Original Message - From: "Catriona Wordsworth" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 20, 2003 7:38 AM Subject: right click help please? Can anyone assist me with how to change the right click menu. When

create log as well as print on screen

2003-08-20 Thread mark sony
Hi All, I wrote a script which is running perfectly fine providing many outputs on the screen . Only glitch is that it does not print in a log file . Now what I want is that it would print on the screen as well as create a log file . At the end of the program I will output that the above o

Re: File::Copy & CGI.pm

2003-08-20 Thread Yupapa.com
HiHi~ If you are transfering file from a local machine to a remote machine, you do not use File::Copy module to copy files. File::Copy is used for copying files locally. You can use Net::FTP to transfer files from one machine to another. And of course, you will need a FTP server for the machine

RE: create log as well as print on screen

2003-08-20 Thread Jonathan E. Hogue
In unix there is a program called tee. It works something like program.pl | tee log.file you just have program.pl write to STDOUT alternatively, in your program, you could just do my $log = "log.file"; open( LOG, ">>log.file" ); print "THING\n"; print LOG "THING\n"; close LOG; ( basically pri