Cookie's parameter

2004-07-15 Thread Mike Ni
Hey everyone, I am new perl beginner and am trying to find a way to grap the value returned by a cookied stord with the user's browser. Basically, what I am dealing with is a internet subscription system. The user need to log in before anything can be done. I need to program the server to re

Re: QUERY_STRING

2004-03-24 Thread Mike Ni
> > part you don't unstand. > > The part we don't understand is why you keep asking > this Perl mailing > list a question that doesn't have anything to do > with Perl. ;) > > James Thanks for clearing up for me. However, so far I learnd 2 things: (1) Instead of parsing the string, I can u

RE: QUERY_STRING

2004-03-24 Thread Mike Ni
f > To sum it up: > > a) Try to find the information yourself, Google is a > great tool and has the > added benefit that you won't have to wait for an > answer from the list... > b) Ask specific questions about what you don't > understand on the > _appropriate_ mailing list. > Please let me

Re: QUERY_STRING

2004-03-23 Thread Mike Ni
--- WC -Sx- Jones <[EMAIL PROTECTED]> wrote: > Mike Ni wrote: > > > Thanks for the response. > > Is there any connection between "CONTENT_LENGTH" & > > "query_string"? > > > > No. Why do you ask? > I am not clear why we

Re: QUERY_STRING

2004-03-23 Thread Mike Ni
--- WC -Sx- Jones <[EMAIL PROTECTED]> wrote: > > Everything after the ? is the query_string for a get > (POST is somewhat different.) > > For example - See: > http://insecurity.org/cgi/cgi_reflect.cgi?ImAStringQuestioningMe > > Not sure where I got that one - somewhere on the > Internet... >

QUERY_STRING

2004-03-23 Thread Mike Ni
Hey Everyone, Do we know where I can get a clear definition of "query_string"? What are included by the "query_string" returned by the apache web server? Thanks! Mike __ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.c

Re: Man page for CGI::Request/CGI::Base

2004-03-23 Thread Mike Ni
s > > The module CGI::Base isn't available on CPAN. > > Either the module has not yet been uploaded to > CPAN, or it is > temporary unavailable. Please contact the author > to find out > more about the status. Try 'i CGI::Base'. > ! > > -- > Owen > Hey Owen, I am sure I follow.

Re: Man page for CGI::Request/CGI::Base

2004-03-22 Thread Mike Ni
> > > > If perldoc CGI::Request or perldoc CGI::Base > doesnt tell you anything the only place left > is the source code of each. > > Thanks! We can really use a better man page. Without an adequateman page, the ideal behind OOB is totlly wasted. Is there any mailing list out there ad

Man page for CGI::Request/CGI::Base

2004-03-22 Thread Mike Ni
Hey, Does anyone happen to know where I caet some information on how to use: (1) CGI::Request (2) CGI::Base I am really looking for example on how to (1) use their logging/debug method call & (2) how to run it from command level. The mapage mentioned briefly, yet never elaborate. It is as if

Question about "perl -d"

2004-03-22 Thread Mike Ni
Hey everyone, I have a simple question about perl's debugger. Perhpas I am missing something here, yet I am having a hard time to dump an object's structure such as "method, variable etc". For example, I have a simple code snap as folling; == $cgi = new CGI::Base;

Re: General question about HTML form

2004-03-22 Thread Mike Ni
> > Mike > > Mike - > If I'm reading your requirements right - > I don't find debugging hard with CGI.pm. > Granted I'm a real newbie and I'm not doing anything > > earth shakingly difficult, but still. > You run the program from the command line to make > sure i

Re: General question about HTML form

2004-03-19 Thread Mike Ni
> > regard to maintenance. > > > > concern. Yet, It is becoming a big maintance issue > and > > I am convinced it is not worthwhile. > > > > Try to image: The program compose each page byte > by > ng other > than > Template Toolkit. After all you can use Perl to > debug > itself using the

Re: General question about HTML form

2004-03-19 Thread Mike Ni
i > I have no idea what was written so I cannot say one > way or the other > which approach is best in this situation. > Bill. Thanks for the info. It is a database driven collaboration application. Function such as "calendar", "tasking" etc. (mysql is the database enginee) I have no i

Re: General question about HTML form

2004-03-19 Thread Mike Ni
- > > There are MANY things about HTML out there. DocSet, > T2T, Mason > > What is it that you want to accomplish when you are > seeking a solution? > One more thing, More importantly, a pre-built module come with more handy "debugging tool". I found it is very hard to debug the CGI-Perl

Re: General question about HTML form

2004-03-19 Thread Mike Ni
> > > There are MANY things about HTML out there. DocSet, > T2T, Mason > > What is it that you want to accomplish when you are > seeking a solution? > > Hey Bill, Thanks for the response. I have a web-based application written in Perl running on Apache/Linux. However, the programmer wh

General question about HTML form

2004-03-19 Thread Mike Ni
Hey friends, I am reading the man page for CGI module (CGI.p) since I need to REwrite several perl scripts file. right now, I am taking a good look at the CGI module. However, I am wondering where there is any alternative. It is not because I don't want to use CGI.pm. Rather, I am intersted

Re: Creating Menus in CGI

2004-03-19 Thread Mike Ni
--- > > How to create menus using Perl CGI? > > Any help in this regard will be great. > > Check out the CGI library: http://search.cpan.org/~lds/CGI.pm-3.04/CGI.pm Although I haven't take a crack of it, but I heard it is pretty neat. MIke __ Do you Y

how to print out http header

2004-03-17 Thread Mike Ni
Hey everyone, For debugging purpose, is there anyway to print out all the HTTP header information to the browser? I am setting up an development evnironment by talking to http://localhost/myapplication/, and I thought I would need to look up the HTTP infomation. By doing so, I can trace the

Re: REQUEST_METHOD

2004-03-16 Thread Mike Ni
--- Wiggins d'Anconia <[EMAIL PROTECTED]> wrote: > Please bottom post... > > Mike Ni wrote: > > Thanks for the resoponse, > > > > It was written by a person who left already. > > Now, I need to find out how his code work. > > > This

Re: REQUEST_METHOD

2004-03-16 Thread Mike Ni
lly have a hard time with www.apache.org/ Mike --- Wiggins d'Anconia <[EMAIL PROTECTED]> wrote: > Mike Ni wrote: > > Hey everyone, > > > > > > While tracing through the perl script file, I kept > > > running into environment variable > "

REQUEST_METHOD

2004-03-16 Thread Mike Ni
Hey everyone, While tracing through the perl script file, I kept running into environment variable "REQUEST_METHOD". I looked for where it was defined, yet no luck. However, it works. I think I am missing somethign here. I am guessing this variable is defined by the Apache web server. Yet,

RE: %ENV?

2004-03-16 Thread Mike Ni
]> wrote: > is there any 'refresh' (in the browser) variable set > in the ENV hash? > > sierrasurf > > -Original Message- > From: Randy W. Sims > [mailto:[EMAIL PROTECTED] > Sent: Monday, March 15, 2004 10:56 PM > To: Mike Ni > Cc: [EMAIL PRO

Perl -d

2004-03-15 Thread Mike Ni
Hey everyone, While I was playing with perl's built-in debuger (perl -d), I notice that debugger doesn't seem care too much about whether a variable is declared? For example, I would get response of "empty hash" if I do a "x \%dummy" regardless dummy hasn't been delcared yet. The same res

%ENV?

2004-03-15 Thread Mike Ni
Hey friends, Could anyone tell me where to find the man page for the "%ENV"? I didn't have too muck luck on www.perl.org nor with CPAN site. Perhaps I got the wrong ideal about perl's man page. Yet, I just can't seem to find the man page about "%ENV". I need to finut what are included by th

Debugging(perl -d)

2004-03-14 Thread Mike Ni
Hey, I was handed several perl files written for the Apache Web Server. The person who wrote these isn't here any more. I need to trace and document the perl files. I udnerstand there is a built-in debuuger come with the perl - "!perl -d". However, since these perl files were wriitten for the

perl -d / apache server debug

2004-03-11 Thread Mike Ni
Hey everyone, Working on my first perl project:: I have at least 25 perl files written by a person who isn't here anymore. All these perl script files were programmed to serve the inquiry from the Internet via the web server. For me to understand the logic behind all these perl files, I wan