Please point me to a language (perl I hope)

2002-02-01 Thread Luinrandir Hernson
Sorry if this is off topic, but I really don't know who else to ask. Heres what I want to do.. maybe you would be so kind as to tell me what language this can best be done in. I'm just learning perl and know HTML. within frames (or a table)... I would like to put a large gif in the backround an

RE: Date Functions

2002-02-01 Thread Bob Showalter
> -Original Message- > From: David Gilden [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 31, 2002 5:28 PM > To: [EMAIL PROTECTED] > Subject: Date Functions > > > Hi, > > I am updating an old Script. > > Are there any problems or 'Y2k' bugs, > in the following change? No. Looks

RE: How To Display Browser Headers

2002-02-01 Thread Hewlett Pickens
I took Joel Hughes's suggestion and downloaded HttpTracer. It displays both sides of a session and should let me understand what to do. Already sent my shareware fee in. I appreciate everyone's replies. As I learn more about Perl and CGI, will work on understanding the mod_perl and HTTP::DA

Perl as *.EXE under Windows

2002-02-01 Thread Henk van Ess
Hi all, I''m not a gifted programmer, but I have this ambitious plan. I run a non-commercial site about search engines and I have a lot of Perl scripts running doing all sorts of search things, f.e. one section searches Google-documentes in Dutch at http://www.voelspriet.nl/googledocumentenzoeker

RE: shebang line that works for multiple Perl binary locations

2002-02-01 Thread Michael Dreksler
If you are happy to have all your perl run with the same flags (e.g. -wT), you can configure Apache to ignore the shebang line and use registry associations Either with a global ScriptInterpreterSource registry or on a per-directory basis ... other options snipped...

RE: Please point me to a language (perl I hope)

2002-02-01 Thread Camilo Gonzalez
Please stop making life difficult for yourself. If you need just a small part of a large image to animate, chop up the large image so the animated part can be isolated, place all the parts in a table to unite them and animate the needed part. As for the person walking, either use the above techn

Yesterday-How obtain?

2002-02-01 Thread Argenis Perez
this statement ($sec,$min,$hour,$mon,$year,$wday,$yday,$isdst) = localtime(); i obtain the date of today, but i need the $day,$mon,$year of yesterday How? Thank you -- Nunca creas feliz a nadie que esté pendiente de la felicidad. Se apoya en una base frágil quien pone su alegría en lo adventic

doing work on the side

2002-02-01 Thread Pete Emerson
I have a CGI script that downloads data from MySQL and provides a hyperlink to download the zipped file. The problem arises when the data download takes too long, and the script times out. Is there a way to have the download part of the script split off into the background, show the link, and qui

help with script

2002-02-01 Thread Klein, Christopher
> can you review this script and see if you can spot any errors? > no errors appear in the log, but the lines that are NOT quoted do not process correctly > > > > Chris > -Original Message- > From: Chris klein [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 01, 2002 10:07 AM > To:

Re: doing work on the side

2002-02-01 Thread Jeff Bisbee
You're dealing with the web server timeout and nothing that has to do with Perl. Even if you fork, you'll have the same problem. We upload some pretty bigs files here at work and we just bumped up Apache's timeout and we were cool... Here is the Apache timeout we have in our httpd.conf Tim

RE: doing work on the side

2002-02-01 Thread Bob Showalter
> -Original Message- > From: Pete Emerson [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 01, 2002 3:34 PM > To: [EMAIL PROTECTED] > Subject: doing work on the side > > > I have a CGI script that downloads data from MySQL and provides a > hyperlink to download the zipped file. > > T

cache

2002-02-01 Thread yue lu
I had a cgi program, and it will dynamically draw a image and load into the cgi program, but because the web browser cache always remember the image file, so it will not update the image unless I quit the browser, restart the browser, then tue image will update. please help me with this problem

RE: cache

2002-02-01 Thread Hanson, Robert
I believe "nocache" is for Netscape only. For IE you should use "expires". (or was it the other way around) ...So you should use both. I don't have any references handy, but a value of "0" for expires might work. Alternatively you could use a scheme that a lot of ad agencies use. They append a

RE: cache

2002-02-01 Thread Curtis, Jonathan
I ran into this problem on a script I was working on this week too... The no cache meta tag isn't supported by IE 4 or 5, I'm not sure about 6... something about the way the file is buffered, IE automatically caches it. There are work arounds to use the no cache method with explorer, but I haven'

CGI Interprocess Communication and IIS

2002-02-01 Thread TED QUINBY
I'm trying to replicate a series of fully functional cgi scripts from Apache over to IIS. I'm almost successful with one major sticking point. I can run external commands from within my scripts if run at the command prompt. However, every time I try to run an external command from within the

Re: Yesterday-How obtain?

2002-02-01 Thread fliptop
Argenis Perez wrote: > this statement > ($sec,$min,$hour,$mon,$year,$wday,$yday,$isdst) = localtime(); > i obtain the date of today, but i need the $day,$mon,$year of yesterday look into the date::calc module. it's very handy for many date calculations. http://search.cpan.org/search?dist=Dat

validation

2002-02-01 Thread Al Hospers
I need a regular expression that will only allow a variable to contain digits. it should fail if there is anything else in the variable: dollar signs, commas, dots, alphas, spaces, quotes etc. I thought the following would work, I am obviously incorrect. return 1 unless ($Bid_Amount =~ [/d/] );

Most effecient way to send mail to multiple users

2002-02-01 Thread Jones, Mark
I want my members area script to provide the capability of sending email to every address in the MySQL database--say 1000 addresses. I'm planning to just write a loop that reads each record and sends the email to the address. Or, is there a way that is more efficient for the server, such as o

Re: doing work on the side

2002-02-01 Thread Randal L. Schwartz
> "Pete" == Pete Emerson <[EMAIL PROTECTED]> writes: Pete> The problem arises when the data download takes too long, and the script Pete> times out. Is there a way to have the download part of the script split Pete> off into the background, show the link, and quit? So that I can say, Pete> "W