Re: upload() returns unexpected results when param is not a file

2001-11-27 Thread fliptop
Bob Showalter wrote: > > That's not a workaround; you have to do something like that, because > if the user types a bogus file name in the upload field, you get a > handle to an empty file. So you either need to check for the content > type like you're doing or check that the file contents are wh

RE: Cache Question

2001-11-27 Thread yahoo
Andre, is this page publically visible? Is the frameset normal HTML and the inline frames point to the HTML generated by PERL? Why not get perl to do the whole page? joel -Original Message- From: Andre` Niel Cameron [mailto:[EMAIL PROTECTED]] Sent: 27 November 2001 21:11 To: yahoo; CGI

Re: Cache Question

2001-11-27 Thread Andre` Niel Cameron
The perl script loads an html page with tables Currently I am using inline frames for two tables but it appears to be defunct so I need to use SSI to replace the inline frames and call a seperat sub of the perl script. Regards, Andre` C. Technical Support ԿԬ -

RE: Linux to a Microsoft SQLserver

2001-11-27 Thread yahoo
If your using Sybase by mistake then use DBI::ADO instead. joel -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 27 November 2001 21:42 To: [EMAIL PROTECTED] Subject: Linux to a Microsoft SQLserver I have been trying to install DBD:Sybase for this function. I

RE: Linux to a Microsoft SQLserver

2001-11-27 Thread yahoo
Jason, your subject says MS SQL Server yet you refer to Sybase (another DB) - what gives? joel -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 27 November 2001 21:42 To: [EMAIL PROTECTED] Subject: Linux to a Microsoft SQLserver I have been trying to install

RE: Cache Question

2001-11-27 Thread yahoo
no andre, your not quite understanding. WHen Geri refers to a "seperate load" he is referring to it being passed by the webserver itself. Its either parsed for SSIs or for Perl. By the time the content gets to the client browser its too late. What so you want to put in the SSIs. HTML or are you t

RE: Cache Question

2001-11-27 Thread Balaj, Geraldine
Since I keep all my scripts in a database - when I change any of the include files' contents I just do a massive cut-n-paste across the files therefore I just hard code the actual contents of the include files into the output of my scripts using Token print statements ... Works like a char

Linux to a Microsoft SQLserver

2001-11-27 Thread jason
I have been trying to install DBD:Sybase for this function. I have installed the freetds and am tring to install the DBD:Sybase but when I try to do my make on the install I get this error messages. Any Ideas. Jason cc -c -I/usr/local/freetds/include -I/usr/lib/perl5/site_perl/5.6.0/i586-

How to work with a javascript pop up window?

2001-11-27 Thread Lara J. Fabans
I'm not looking for a code answer but more theory or pointers to articles/code on the web for this. Say you were running a data munger with a web interface and you run into a potential error condition. Ideally, you'd want to halt the munging & pop up a window asking the user a yes or no type que

Re: Cache Question

2001-11-27 Thread Andre` Niel Cameron
RE: Cache QuestionHow can I do a second load without using frames or iframes? Regards, Andre` C. Technical Support ԿԬ - Visit our support manual at http://supportmanual.com/ - Original Message - From: Balaj, G

RE: upload() returns unexpected results when param is not a file

2001-11-27 Thread Bob Showalter
> -Original Message- > From: fliptop [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, November 27, 2001 2:51 PM > To: [EMAIL PROTECTED] > Subject: upload() returns unexpected results when param is not a file > > > hello list > > i want to return an error to a user if they try submitting text

RE: Cache Question

2001-11-27 Thread Balaj, Geraldine
Had this same problem about a year ago. When your script runs - it renders the page - one load. Placing SSIs in your Token Print "chunks" for example won't therefore work. Once it renders the page that's it - it would need to perform a separate load to read the separate SSI file. Use a templat

Re: Cache Question

2001-11-27 Thread Andre` Niel Cameron
Yes, in the HTML part of my cgi script I wanted to see if I could use SSI but it did not appear to work so I wanted to know if I needed a special content type, cause when you use ssi with html the extension is .shtml not ..html. Regards, Andre` C. Technical Support ԿԬ -

RE: Cache Question

2001-11-27 Thread yahoo
Andre, are saying that you are trying to write out SSIs from perl but the SSI is not being parsed? joel -Original Message- From: Andre` Niel Cameron [mailto:[EMAIL PROTECTED]] Sent: 27 November 2001 19:54 To: [EMAIL PROTECTED]; CGI Beginners Subject: Re: Cache Question Not ssl SSI, ser

Re: Cache Question

2001-11-27 Thread Andre` Niel Cameron
Not ssl SSI, server side includes;) Regards, Andre` C. Technical Support ԿԬ - Visit our support manual at http://supportmanual.com/ - Original Message - From: "Curtis Poe" <[EMAIL PROTECTED]> To: "Andre` Niel Came

upload() returns unexpected results when param is not a file

2001-11-27 Thread fliptop
hello list i want to return an error to a user if they try submitting text typed into a file upload field (instead of clicking 'browse' and pointing to a file, the user types text into the box). from perldoc CGI, i read this: When called with the name of an upload field, upload()

Re: fstring filling

2001-11-27 Thread fliptop
[reply cross-posted to list] Olav Rogall wrote: > > Hallo fliptop, > > Am Tuesday, November 27, 2001 um 12:39:38 AM schriebst Du: > > >> $total_time = get_minutes('abc.mp3') + ':' + get_seconds('abc.mp3'); > >> > >> the result in $total_time is "3:1", but it should be "03:01". > >> > >>

Re: Cache Question

2001-11-27 Thread Curtis Poe
--- Andre` Niel Cameron <[EMAIL PROTECTED]> wrote: > When you use ssi what is the conent type is it still text/html? > > Andre Yes. The Content-type has nothing to do with whether or not the request is being served over a secure connection. Cheers, Curtis "Ovid" Poe = Senior Programmer

Re: Cache Question

2001-11-27 Thread Andre` Niel Cameron
When you use ssi what is the conent type is it still text/html? Andre -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Cache Question

2001-11-27 Thread Curtis Poe
This needs a little clarification. --- Stephan Tinnemeyer <[EMAIL PROTECTED]> wrote: > Rodney Myers wrote: > > > > Is that better than or just equivalent to : > > > > print < > Content-type: text/html > > Pragma: no-cache > > > > > > > At least it is not worse. I KNOW that it works, I do

Re: Cache Question

2001-11-27 Thread Stephan Tinnemeyer
Rodney Myers wrote: > > Is that better than or just equivalent to : > > print < Content-type: text/html > Pragma: no-cache > > > At least it is not worse. I KNOW that it works, I do not know that your approach works: - After "Content-type: text/html" 2 new lines have to follow. Thi

Re: Cache Question

2001-11-27 Thread Rodney Myers
Is that better than or just equivalent to : print < ? Rodney Stephan Tinnemeyer wrote: > Andrè, > > tell any caching proxy server not to cache the page by this line > > > > and tell the browser not to cache the page by this line > > > > in the header section of the pag

Re: Cache Question

2001-11-27 Thread Stephan Tinnemeyer
Andrè, tell any caching proxy server not to cache the page by this line and tell the browser not to cache the page by this line in the header section of the page. Cheers Stephan -- Dipl.-Chem. Stephan Tinnemeyer Lindenallee 20 24105 Kiel Germany -- To unsubscribe, e-mai

Cache Question

2001-11-27 Thread Andre` Niel Cameron
Hi, I use a form to manipulate movement in a CGI game I am working on. The problem is it appears that the browser is caching the page so they directions the player can move do not appear to be updateing. Is there a way to not allow the browser to cache a page or force a refresh? as alwasy you