Script for downloading

2002-05-05 Thread Octavian Rasnita
Hi all, I've tried to make a script for downloading a file and it works but I have a problem with it. The link for downloding the file looks like: http://www.myserver.com/cgi-bin/download.pl?file=1234 This script take the link for the id 1234 from a text file and uses the following line to dow

Re: cookies

2002-05-05 Thread mark
The URL to the code: http://kleo.net/cookie2.txt

cookies

2002-05-05 Thread mark
Hi Everybody, I've been moitoring the list for a little while and trying to learn a little something about Perl. I finally got my site to spit out a cookie using some example code I got out of a book that I altered (my own code bombed) What I find curious is a series of 4 numbers appended to

Removing the end of line character?

2002-05-05 Thread Octavian Rasnita
Hi all, I want to remove the end of line character from the beginning of a string. I know that I can use chomp to remove it if it is at the end of the string, but I don't know how to do it if it is in the front of the field. Thank you for your advices. Teddy, [EMAIL PROTECTED] -- To unsubsc

Re: logout

2002-05-05 Thread drieux
On Sunday, May 5, 2002, at 11:20 , Teresa Raymond wrote: > I have the following script to logout, but when you push the back button > on the browser you can have access to the database. I would like that > not to happen. the two strategies that I can think about are a) put an expire

logout

2002-05-05 Thread Teresa Raymond
I have the following script to logout, but when you push the back button on the browser you can have access to the database. I would like that not to happen. if ($inrequired=~/logout/i) {print "Content-type: text/html\n\n"; print <<"PrintTag"; Log Out Thank you! $company Home Pag

Re: return values to sub

2002-05-05 Thread Sven Bentlage
Hi David, at first thanks for your reply. I'll try to explain how my script is supposed to work: -> sub Online_Database_Search initial script, no user input needed if f_name, f_surname are supplied and button is pressed, sub get_pass is called ->sub get_pass collects

Re: return values to sub

2002-05-05 Thread Dave K
> Calling sub fetch from within the next subroutine again does not work > either :( I believe the fetch sub does as you ask it to. The problem is you are asking it to return the password of row where f_name = '' and f_surname = '' Try passing the names as hidden fields in the first form to the