Re: [PBML] PLEASE USE [PBML] in your subject line

2003-08-22 Thread Dennis Stout
hi peep's I don't post often but what i have found is that alot of you do not put [PBML] in your subject lines, i get your posting direct to my trash I don't remember reading that in the handbook anywhere, heh. Since when are we supposed to write specific things in the subject? without it

[OT] Re: disable back button

2003-08-20 Thread Dennis Stout
I still can use my keyboard... which I mostly use to navigate the web. Don't make the life hard on users... they might just leave your site. I made life easier on my users by making the one single popup window I have. It's a ticketing system (written in perl). You click on a ticket number,

Re: disable back button

2003-08-20 Thread Dennis Stout
BTW. I for once leave web sites of people who try to disable a browsers most used feature. Same! So far, the only practicle and useful thing I've seen done ot modify a users browser is when making a form of some kind, and you make a popup window come up to enter more information or see a quick

RE: AS400 and Comsoft

2003-08-01 Thread Dennis Stout
Somebody is not using a very friendly mailinglist client. It's pretending this is a newsgroup, which is tricking things up... Are you talking about me? I'm the one that replied to your op. I have outlook express account that points to nntp.perl.org. There is software that emails list

Eh: AS400 and Comsoft

2003-07-31 Thread Dennis Stout
Somebody is not using a very friendly mailinglist client. It's pretending this is a newsgroup, which is tricking things up... Sure its possible. Just go to CPAN, install the interfaces to each type of storage system, and then in your program connect to each data source. You said you will be

AS/400 and Comsoft systems

2003-07-30 Thread Dennis Stout
Heyuck Heyuck. So I'm told I need to write a simple database to handle ticketing information for customers when they call. Things like DSL problems, dialup problems... nothing major. MySQL database backend with a perl powered web frontend. Then I was told it needs to go htrough a VPN. Cool,

Re: How to display multiple web pages depending on

2003-07-28 Thread Dennis Stout
I want to write a subroutine to select the contain of MySQL database and display the result on the browser. But I'm not sure how to get it create multiple pages if the list exceeds a given number; say 50, and create a link to the next page: like Next or 1 2 3. I think it should be easy - but

Re: Regex question.

2003-07-25 Thread Dennis Stout
my $date =~ s#(\d{2})(\d{2})(\d{4})#$1/$2/$3#; That amazingly, doesn't have much performance loss to it. I just did: sub build_list_news { my $newstext = table DEFANGED_width='\100%\'; my %news = get_news(); foreach (keys %news) { $news{$_}{ctime} =~

Re: Hiding Params in url

2003-07-11 Thread Dennis Stout
POST versus GET. POST won't pass the value in the url. This doesn't prevent someone from doing a view source and reading the input type=hidden text, but A crypt() on the parameters would be a good idea, then pass the encrypted string around. S.T.O.U.T. = Synthetic Technician Optimized for

Re: Hiding Params in url

2003-07-10 Thread Dennis Stout
POST versus GET. POST won't pass the value in the url. This doesn't prevent someone from doing a view source and reading the input type=hidden text, but A crypt() on the parameters would be a good idea, then pass the encrypted string around. S.T.O.U.T. = Synthetic Technician Optimized for

Re: Re: dynamic update part of a table

2003-06-30 Thread Dennis Stout
my $news = (sql query code goes here...); my $template = HTML::Template-new( filename = $Template_Dir/$tmpl_file, die_on_bad_params = 0, ); Sorry, guess I forgot to change $Template_Dir/$tmpl_file to your_html_file.tmpl. In your table cell, put exactly this: TMPL_VAR NAME=NEWS

Re: Re: dynamic update part of a table

2003-06-30 Thread Dennis Stout
okay...here is another point...say this is my main page, I want the user to c it when it browses to http://localhost/ if I am using an Apache2 for win32 server...is it possible for the server to call my perl script when the user browses to http://localhost/ (no localhost of course) ... can

Re: Re: dynamic update part of a table

2003-06-30 Thread Dennis Stout
I totally agree...the only reason I installed 2.0 in the first place is I didn't want the trouble of compiling and installing the WebDAV module...which as it turns out, never really worked when I try to use m$ w2k's own client...well, that belongs to another forum... I have a question

Re: http_referer question

2003-06-26 Thread Dennis Stout
it post back into the same script which would then see the cookie and do a small weak authentication based on it, then return the results of the form. I would make a smaple but it's only 7am here, I should be sleeping still... Dennis Stout -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Why should I create an object?

2003-06-26 Thread Dennis Stout
Bare in mind that I am still a beginner at coding. Why is it good practice to create an object when using CGI, rather than just diving in? Maintainability. For example: use CGI ':standard'; my $q=new CGI; my $input=$q-param('input'); and use CGI ':standard'; my

Re: how to compare to string variables

2003-06-04 Thread Dennis Stout
Or even if you don't want them to be identical but just similar in that they contain the same string somewhere within the variable, i.e. $a2 = 'Lambott'; $a3 = 'fooLambottblah'; if ($a3 =~ /$a2/) { # do something } else { # do something else } or what if you want to match it

Re: question about perl.

2003-03-27 Thread Dennis Stout
; } If you DO want to keep the output of hte program, backticks. if (condition == true) { my $output = `program`; } else { my $output = `otherprogram`; } Hope it helps. Dennis Stout - Original Message - From: Luinrandir Hernsen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday

Fw: question about perl.

2003-03-27 Thread Dennis Stout
Sorry, for some reason I'm blocked from emailing RoadRunner accounts, by Roadrunner. Here is a forward of an email I jsut sent you personally but bounced. It's Perl CGI related, so it's not offtopic for hte list ... but oculd be an annoyance for some, possibly. Dennis Stout S.T.O.U.T

Fw: question about perl.

2003-03-27 Thread Dennis Stout
. I just sent myself an email. Dennis Stout S.T.O.U.T. = Synthetic Technician Optimized for Ultimate Troublshooting - Original Message - From: Dennis Stout [EMAIL PROTECTED] To: Dennis Stout [EMAIL PROTECTED] Sent: Thursday, March 27, 2003 13 36

Re: searching a string

2003-03-18 Thread Dennis Stout
What I would do is elliminate all the extra white space; s/\w/ /g; s/\r\n/ /g; then do a match. /the lucky coin/; Dennis - Original Message - From: mark sony [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 18, 2003 02 13 Subject: searching a string Hi i am searching

Re: Good Perl cgi book?

2003-03-18 Thread Dennis Stout
Get the mother of all perl books: Programming Perl (from O'reilly) by Larry Wall (perl creator), Tom Christainsen, and Jon Orwant. That is the mother of all perl books. It's also more of a reference book than anything else. Altho if you're that type of learner, it'll be a great read. It

Re: CGI::FormBuilder

2003-03-14 Thread Dennis Stout
Try this: $form-submit( -name = 'Next', -value = 'Next', ), Swap submit out for hte various types of buttons. Reset, and what not. Dennis - Original Message - From: Rob Benton [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: Perl/CGI with FRAMES

2003-03-03 Thread Dennis Stout
Working with Frames will be messy any way you cut it. So messy in fact, I found SSI to be a much nicer way to do things. That's my 2 cents! Dennis -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: NULL insertion

2003-02-24 Thread Dennis Stout
what kind of database you were using before I could pound out some perl code for you. You cna probably do the code anyways, so I don't feel so bad :) Anyways, thats the SQL syntax. Dennis Stout -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How can I send Variables ?

2003-02-20 Thread Dennis Stout
www.mysite.com/index.cgi?id=$varname=$var2 But How can I send a varibles to another page ? I need to send this Two variables to index.cgi , but When I try it ,none of Them seems to be reiceived . use CGI; use strict; $q=new CGI(); $id=$q-param('id'); $name=$q-param('name'); Then do proper

Re: Search for a string

2003-02-04 Thread Dennis Stout
but at the moment, I'm trying to get some sleep.. Good Night, Dennis Stout I am not handling this at the Apache level because I have about 40+ different sites running on this one box. I want to be able to run server wide statistics from the 'master' log file, then I want to strip it apart

Re: Printing arrays without empty variables

2003-02-04 Thread Dennis Stout
I'm just learning perl and would like to know how to print the contents of an array, without printing any of the elements in the array that might be empty. foreach (@days) { unless =~ // print; } I do believe will do it. Dennis Stout For instance: I'm parsing info in from a form