Re: How to give a name for a file?

2002-08-11 Thread Octavian Rasnita
Hi Connie, Here is a script I made and it starts the file download. It prompts for a file name and the default one is the file name you give in the script. Sometimes it works only if the file name you define in the script is the same with the real file name of the file. $| = 1; my $file = "$doc

Re: Network Programming

2002-08-11 Thread Todd Wade
<[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello there. Do you know where can I find a good Perl Network Programming Tutorial?? Thank you. "Network Programming with Perl", L. Stein. http://www.amazon.com/exec/obidos/ASIN/0201615711/qid=1029118782/sr=1-1/r

How to find the remote time?

2002-08-11 Thread Octavian Rasnita
Hi all, How can I find the local time of the web page visitors? Using localtime function shows me the localtime from the location where is the server. I couldn't find any environment variable for this either. Thank you for any hint. Teddy's Center: http://teddy.fcc.ro/ Mail: [EMAIL PROTECTED]

How to use the gmtime() function?

2002-08-11 Thread Octavian Rasnita
Hi all, I am GMT + 2 hours (Eastern Urope) but if I use the gmtime function, it shows me 3 hours behind. I think it doesn't take into account the summer time change. Can I solve this problem? Thank you. Teddy's Center: http://teddy.fcc.ro/ Mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail:

How to give a name for a file?

2002-08-11 Thread Connie Chan
I have a script that read and then print a binary file on runtime, which actually mean to a file is for download. I mean, not like this : Download. However, I don't know how to give a name for the file. I've use this header : print "Content-type: audio/mp3\r\n\r\n"; and my script 's name is d

Network Programming

2002-08-11 Thread stuv48ac
Hello there. Do you know where can I find a good Perl Network Programming Tutorial?? Thank you. --- Runbox Mail Manager (free trial version - this tag is removed upon subscription) Try your own prem

Re: sql statement parsing

2002-08-11 Thread Hytham Shehab
> Posting your whole script, or a larger part might be helpful and get > more response. are you using strict and warnings? > > My original hunch was that the "where" method was not being exported and > therefore was not "loaded" by your script, upon a slight more research I > was *unable* to find

Re: Reformatting a file

2002-08-11 Thread zentara
On Sat, 10 Aug 2002 06:46:40 -0500, [EMAIL PROTECTED] (Mikeblezien) wrote: >I'm trying to correct some shopping cart files that got messed up and need to be >reformatted, so we can rebuild the database from these text order files. This is >a sample of some of the data: > >order_items::PF110::1:::