Re: File upload question

2002-07-28 Thread Janek Schleicher
Nate wrote at Sun, 28 Jul 2002 09:51:06 +0200: > i'm writing a website that requires an upload for pictures. I have figured out how >to get the > image, upload it to the correct dirctory and save successfully, but the problem >comes with the > fact that i have to specify the filename. i want to

Re: newbie: simple email script

2002-07-28 Thread Janek Schleicher
dpark wrote at Mon, 29 Jul 2002 02:56:57 +0200: > This is my first script, actually part 2 of the first. I triumphantly :) created a >script to > write data from a simple form to a flat-tile database. Now I would like to be able >to send > everyone on the list an email when my client's site

newbie: simple email script

2002-07-28 Thread dpark
Hi All, This is my first script, actually part 2 of the first. I triumphantly :) created a script to write data from a simple form to a flat-tile database. Now I would like to be able to send everyone on the list an email when my client's site is updated. Below is what I've got. Assuming

Best CGI method? WRT apache cgi-cache...

2002-07-28 Thread tommy
I have written a small perl prog which does something similar to PHP and the like, it reads HTML files and replaces 'markers' with values, objects and stuff to complete the web page. The thing is I have several (and more to come) pages to apply this method to, the reason I am going about it th

Best CGI method? WRT apache cgi-cache...

2002-07-28 Thread tommy
I have written a small perl prog which does something similar to PHP and the like, it reads HTML files and replaces 'markers' with values, objects and stuff to complete the web page. The thing is I have several (and more to come) pages to apply this method to, the reason I am going about it th

Automatic URL Rewriting for session tracking?

2002-07-28 Thread Gfoo
Hello... I can use Apache::Session to ease the use of sessions in an application I'm developing. Session tracking can be implemented either by using (per- session) cookies or by writing the session_id in the GET URL (I' don't want ot use hidden fields on forms to pass the id to next pages). My

File upload question

2002-07-28 Thread Nate
..grey { background-color: #cc; }Hello. I don't know how dumb this is going to sound, but here goes: i'm writing a website that requires an upload for pictures. I have figured out how to get the image, upload it to the correct dirctory and save successfully, but the problem comes with the

Re: divide a text file

2002-07-28 Thread Steve Grazzini
Jose Bento <[EMAIL PROTECTED]> wrote: > > 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? > Assuming they aren't huge articles... #!/u

file timestamp monitoring

2002-07-28 Thread Jason Viloria
Hi Can someone help me plaease use perl to monitor the timestamp of a text file to alert me if it is more than 1 minute old and run an external program if so? I suppose a simple script which runs in cron would do the job but maybe someone else has a better solution? Thanks Jason

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

2002-07-28 Thread zentara
On Sat, 27 Jul 2002 22:38:23 +0300, [EMAIL PROTECTED] (Octavian Rasnita) wrote: >It is that script for downloading a file then delete it from the server. > >I've tried putting the "unlink $file" line in an END { ... } but this block >it is not executed if the download is cancelled. > >Do you hav

Re: regular expression

2002-07-28 Thread Janek Schleicher
Gsulinux wrote at Sat, 27 Jul 2002 13:32:27 +0200: > 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

Re: What would you recommend?

2002-07-28 Thread Janek Schleicher
Octavian Rasnita wrote at Sat, 27 Jul 2002 13:21:54 +0200: > 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'v

Re: divide a text file

2002-07-28 Thread Janek Schleicher
Jose Bento wrote at Sun, 28 Jul 2002 01:10:19 +0200: > 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? What have you tried so far ? Why