Re: Windows Text editor

2002-02-05 Thread Octavian Rasnita
Which of these editors show the number of the current line in the status bar? This is helpfull to track the error messages from the log file. Teddy, My dear email address is [EMAIL PROTECTED] - Original Message - From: "Marty Landman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tues

Re: Hexadecimal Dictionary

2002-02-05 Thread Randal L. Schwartz
> "Fred" == Fred Sahakian <[EMAIL PROTECTED]> writes: Fred> I know that %OD%OA is a carriage return, but I need to know what Fred> the code is for a quote mark (") as well as a few Fred> others..thanks! You don't need to know if you're using the right tools. Look into URI::Escape, found in

RE: Windows Text editor

2002-02-05 Thread Al Hospers
I've been using OptiPerl this past year & I think it works fairly well. it's got a syntax checker & hilighting that make things easier and there is a regex checker as well. it's a bit quirky in places for a Windows program & there are a bug or two, but it's not at all bad for a minimal cost. (it's

Re: Windows Text editor

2002-02-05 Thread Marty Landman
At 06:54 PM 2/5/02 +, Mo Holkar / UKG wrote: >At 13:34 05/02/02, Pat wrote: >>Can anyone recommend a decent Text editor for windows 98 that I can use for >>CGI scripts. Notepad seems to show the carriage returns all of a sudden and >>this is creating problems just trying to get scripts to run

Re: Windows Text editor

2002-02-05 Thread Richard Crawford
In Windows, I usually use HomeSite 5.0, available from Allaire. You might also look into Komodo from ActiveState, which has both a Windows and Linux version available. You can get a trial version from ActiveState's home page. On Tue, 2002-02-05 at 10:54, Mo Holkar / UKG wrote: > At 13:34 05/02

Re: Windows Text editor

2002-02-05 Thread Mo Holkar / UKG
At 13:34 05/02/02, Pat wrote: >Can anyone recommend a decent Text editor for windows 98 that I can use for >CGI scripts. Notepad seems to show the carriage returns all of a sudden and >this is creating problems just trying to get scripts to run on the server. >I dont have unix or linux on my pc so

Re: Hexadecimal Dictionary

2002-02-05 Thread Jeremy Webster
http://www.neurophys.wisc.edu/www/comp/docs/ascii.html On Tuesday 05 February 2002 01:32 pm, Fred Sahakian wrote: > Anyone know of a good online Hexadecimal Dictionary? > > I know that %OD%OA is a carriage return, but I need to know what the code > is for a quote mark (") as well as a few others.

Re: Hexadecimal Dictionary

2002-02-05 Thread Brett W. McCoy
On Tue, 5 Feb 2002, Fred Sahakian wrote: > Anyone know of a good online Hexadecimal Dictionary? > > I know that %OD%OA is a carriage return, but I need to know what the > code is for a quote mark (") as well as a few others..thanks! perl -e 'foreach(0..127) {printf("%s: %x (%d)\n", chr($_), $_,

RE: Hexadecimal Dictionary

2002-02-05 Thread Hanson, Robert
I wrote this routine to do the conversion for me. When you run it at the command line is takes a string as input, and prints out the hex val of each char in the string. #!/usr/bin/perl # c2hex.pl - Converts characters to hex values. my $chars = join(' ',@ARGV); for ( split(//, $chars) ) { p

Hexadecimal Dictionary

2002-02-05 Thread Fred Sahakian
Anyone know of a good online Hexadecimal Dictionary? I know that %OD%OA is a carriage return, but I need to know what the code is for a quote mark (") as well as a few others..thanks!

RE: cgi in the middle of HTML page

2002-02-05 Thread Hanson, Robert
All I know of Mason is what I read in The Perl Jornal months and months ago, I really don't remember much of it. I believe Mason allowed you to add code right in the template (don't quote me on that), and HTML::Template only allows for a few common templating options (if/else, include, variables,

RE: cgi in the middle of HTML page

2002-02-05 Thread Marty Landman
At 12:55 PM 2/5/02 -0500, Hanson, Robert wrote: >As far as using this method over HTML::Template >you need to be able to predict future expansion to your code (which may be >impossible), and as long as you won't need other features (or don't mind >rolling your own) then Marty's is as good as any

RE: cgi in the middle of HTML page

2002-02-05 Thread Hanson, Robert
Al, I work with a lot of old code that uses the method Marty exmplained. The problem I have had with it is that a few years after the original code was written I find myself rewriting it to use HTML::Templates so that I can include standard headers/footers and take advantage of the other HTML::T

Re: cgi in the middle of HTML page

2002-02-05 Thread Greg Jetter
On Tuesday 05 February 2002 07:09 am, Al Hospers wrote: > I want to have a web page where a CGI generated table appears in the > midst of a bunch of standard HTML. I already have the table data being > pulled from a database & generating a layout that looks good. however, > I would prefer not to g

Re: cgi in the middle of HTML page

2002-02-05 Thread Marty Landman
At 11:09 AM 2/5/02 -0500, you wrote: >I want to have a web page where a CGI generated table appears in the >midst of a bunch of standard HTML. I already have the table data being >pulled from a database & generating a layout that looks good. however, >I would prefer not to generate the entire page

best way to validate a date/time

2002-02-05 Thread John
I have a date/time in a variable like "12/30/2002 15:00" and I need to validate it. The time might not appear there. I can be sure of the format, but I want to reject things like month 13, day 32, February 30, hour 24, wrong leap year stuff, etc. What is the best way to validate a date and t

RE: cgi in the middle of HTML page

2002-02-05 Thread Al Hospers
thanks for all the suggestions. I'm going to look them all over this afternoon & I'll let you know what I decide on. cheers, Al -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: cgi in the middle of HTML page

2002-02-05 Thread Jan Gruber
Hi, Al ! > I would prefer not to generate the entire page in code if possible. > yes I know I could do it all using CGI.pm but if I do then the > client/designer will have to get into the code to change the layout of > the page & that's not a really good thing. Visit your local CPAN mirror for Ma

RE: cgi in the middle of HTML page

2002-02-05 Thread Hanson, Robert
If all you need to do is insert a table you could use a server side include (depending on your web server). It might look like this... You would place that where you wanted the table to appear and the web server would insert it right before serving the page. The other option is to use a templ

cgi in the middle of HTML page

2002-02-05 Thread Al Hospers
I want to have a web page where a CGI generated table appears in the midst of a bunch of standard HTML. I already have the table data being pulled from a database & generating a layout that looks good. however, I would prefer not to generate the entire page in code if possible. yes I know I could

RE: passing parameters

2002-02-05 Thread Hanson, Robert
This works fine for me... #!/usr/bin/perl use CGI; $query = new CGI; @values = $query->param('name'); print "Content-type: text/plain\n\n"; print "@values"; Rob -Original Message- From: Rahul Garg [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 05, 2002 9:45 AM To: [EMAIL PROTECT

RE: cache

2002-02-05 Thread yue lu
Hi Rob, Thank you, it worked like a magic. Emily >From: "Hanson, Robert" <[EMAIL PROTECTED]> >To: 'yue lu' <[EMAIL PROTECTED]>, [EMAIL PROTECTED] >Subject: RE: cache >Date: Fri, 1 Feb 2002 17:54:52 -0500 > >I believe "nocache" is for Netscape only. For IE you should use "expires". >(or was it

passing parameters

2002-02-05 Thread Rahul Garg
Well,I have a HTML form which is calling a perl script.In form there is a multiple selector box ,now when 2-3 lines are selected each is passed with the same name and different value pair. How to capture all values by parameter name ie there are name = value1 name = value2 name= value3 @values

Re: Windows Text editor

2002-02-05 Thread Vinicius Jose Latorre
GNU Emacs for Windows NT and Windows 95 http://www.cs.washington.edu/homes/voelker/ntemacs.html > Can anyone recommend a decent Text editor for windows 98 that I can use for > CGI scripts. Notepad seems to show the carriage returns all of a sudden and > this is creating problems just trying to g

Windows Text editor

2002-02-05 Thread Patrick
Can anyone recommend a decent Text editor for windows 98 that I can use for CGI scripts. Notepad seems to show the carriage returns all of a sudden and this is creating problems just trying to get scripts to run on the server. I dont have unix or linux on my pc so i cant use pico. Pat Check out ww

Re: Re: Is there a good CGI.pm tutorial online?

2002-02-05 Thread Mark Bergeron
If you have not checked out the CGI.pm site you should. I contains a lot of ready to go examples. You can cut and paste onto your machine and really play around with them. Here is the links: http://www.wiley.com/legacy/compbooks/stein/source.html http://stein.cshl.org/WWW/software/CGI/cgi_docs.

RE: I am begginer using CGI andperl, please help

2002-02-05 Thread yahoo
Win2K comes with IIS 5.0 which can run CGI or embedded ASP (usually JScript or VBscript but can be PerlScript if you let ActiveSTate make the relevant changes and you have IIS running) but it won't be installed by default. Can you check if IIS is installed using CONTROL PANEL, ADD REMOVE PROGRAMS

Re: I am begginer using CGI andperl, please help

2002-02-05 Thread Jaishree Rangaraj
Hello, I use win2000 and recently installed Active perl. Small perl(.pl,.cgi,.plx) can be run form dos commnad prompt. How do I run the the form-to-e-mail( html and cgi), those kind of scripts. I guess, I need a webserver. But how do I do it. I am using my home computer for this. Please can u te