It was a success, but only in Windows, not Unix.

2002-07-27 Thread Octavian Rasnita
Hi all, After fighting a lot with a bigger script, I could make it work under Windows 2000, but it can't work under Red Hat 7.2 unfortunately. It is that script for downloading a file then delete it from the server. If the file finish downloading, it is deleted from the server using Windows and

Creating a download manager

2002-07-27 Thread Octavian Rasnita
Hi all, I would like to have a download manager that resumes the broken downloads. I don't need other features. Unfortunately, I can't find a good one. I've seen more web sites that use CGI scripts for serving files for download, and no download manager can download these files. I am wondering

What would you recommend?

2002-07-27 Thread Octavian Rasnita
Hi all, I've put this question a few months ago, but with no answer. When using the read function for reading a file (for printing to the browser - for downloading) how big should be the buffer size read at once by the script? I've seen that if I put it as only 1 byte, the download is very slow

divide a text file

2002-07-27 Thread Jose bento
Hi all, I have a text file (*.doc) that have a list of articles all of them separated by the some sequence of characters (). How can I divide this file into several files each one with only one article? Thanks for the help :-) José -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additi

Re: regular expression

2002-07-27 Thread drieux
On Saturday, July 27, 2002, at 05:31 , fliptop wrote: > GsuLinuX wrote: > > > > I wanna check the information typed in the form field whether if it > > is in date format or not . [..] > you should look into using Date::Calc. it has many functions for > checking a date's validity, extracting pa

Re: What's wrong with this code?

2002-07-27 Thread Wiggins d'Anconia
See inline comment. Soheil Shaghaghi wrote: > Hi everyone, > Can anyone please tell me what the problem is with this code? > Every time I run my program with this code in it, I get an error in the log > files: > DBD::mysql::st fetchrow_array failed: fetch() without execute() at > IWeb/sqlengine.p

Re: regular expression

2002-07-27 Thread Wiggins d'Anconia
On a side note, where you said "A[12]" just to avoid future problems either you wanted A[11] or don't forget to add a blank starting element in the array, as arrays are indexed starting at 0!! http://danconia.org fliptop wrote: > GsuLinuX wrote: > > > > I wanna check the information typed i

Re: regular expression

2002-07-27 Thread fliptop
GsuLinuX wrote: > > I wanna check the information typed in the form field whether if it > is in date format or not . Like : check it if it is in format > day/mount/year , in format like ab/cd/ef or ab/cd/efgh "ab" must > be valid like between 1-31 "cd" must be valid between 1-12 or must > b

regular expression

2002-07-27 Thread GsuLinuX
Hi, I wanna check the information typed in the form field whether if it is in date format or not . Like : check it if it is in format day/mount/year , in format like ab/cd/ef or ab/cd/efgh "ab" must be valid like between 1-31 "cd" must be valid between 1-12 or must be a string that exist in an

Re: Running CGIs offline

2002-07-27 Thread Hytham Shehab
Octavian Rasnita wrote, >Why? if you asking about its not a good idea anyway, i think that perl *scripts* are easy to edit/view from the CD, resulting that anyone - with some knowledge in Perl - will know the username/password, database name, table structure, and many other very risky data to be r