Re: How does CGI.pm handles Content-type: text/html\n\n ?

2003-07-30 Thread LI NGOK LAM
concept or direction is going wrong or not. - Original Message - From: "drieux" <[EMAIL PROTECTED]> To: "cgi cgi-list" <[EMAIL PROTECTED]> Sent: Wednesday, July 30, 2003 10:37 AM Subject: Re: How does CGI.pm handles Content-type: text/html\n\n ? > > O

Re: How does CGI.pm handles Content-type: text/html\n\n ?

2003-07-29 Thread LI NGOK LAM
ader, instead, and PrintContentT, it check if exists of contentype. If exists, won't priint the header again, else, print the header. Is that Okay logically ? TIA - Original Message - From: "Wiggins d'Anconia" <[EMAIL PROTECTED]> To: "LI NGOK LA

I want to confirm the figure of a form data .

2003-07-29 Thread LI NGOK LAM
While I hit the submit the "Submit" button on a form ( in a normal way ), my cgi script is of cause going to read the data. My question is that does the data I read are all in the same context format ? Actually my target point is about the CRLF stuff... Is that what I read are the same even I am

How does CGI.pm handles Content-type: text/html\n\n ?

2003-07-29 Thread LI NGOK LAM
I have read throught the CGI::Carp::fatalsToBrowser... not quite understand all, but I wonder how does this script handles the "Content-type: text/html\n\n".. So in the some case s(such as warnings) this header line won't re-print ? TIA

Re: Problems getting a simple form to work.

2003-04-04 Thread Li Ngok Lam
[..] > #!/usr/local/bin/perl -wT > use CGI; > use strict; > > $username = param('username'); should be : my $username = param('username'); because you've using strict; > > print "Content-type: text/plain\n\n"; For what I know, I would write as "Content-type: text/html\n\n"; > print "You entered

Re: Problems getting a simple form to work.

2003-04-04 Thread Li Ngok Lam
[..] > > Can anyone tell me what I'm doing wrong? Also, is there a way to turn on > error.log? Actually, error.log is always turned on... If you are not running the server on yours own, ask the server admin where is the error.log located. [..] > Permissions for cgi-bin: rwxr-xr-x > Permissions f

Re: Trying to block out BGCOLOR

2003-03-21 Thread Li Ngok Lam
What about the user says : or or Anyway, the bgcolor can be formed or change again via javascript or CSS. I mean, blocking bgcolor in body tag cannot solve your potential problem. But you may find someway to put this in your body tag : background="white_block.jpg", as wallpaper goes upper tha

multipart form problem

2003-03-07 Thread Li Ngok Lam
Hi all, I am totally new about CGI and Perl, and now, I've facing my first problem so hope somebody can help... I have this html code : and I have this Perl code : #!C:/Perl/bin/perl.exe print "Content-type: text/html\n\n"; print "OK"; my problem sounds strange ... when I am uploading a

Testing.....

2003-03-07 Thread Li Ngok Lam