Re: Confusion on @array vs $array[] vs $array

2002-12-18 Thread Mark Bergeron
I can see where you're coming from on this. However the most obvious reason is that perl has no relationship in scalar context between @somename and %somename. Your question regarding the special $ is not germane to this concept. Each element of the array is a separate scalar variable, accessed

Re: Re: automatically downloading files into a certain directory

2002-12-12 Thread Mark Bergeron
You could try using a refresh. First click pulls the information from the database and stuffs it into a file. The refresh loads the link of that file and downloads it from the browser. -Original Message- From: zentara[EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Thu Dec 12 05:35:48 PST

Re: Re: html redirect using CGI.pm

2002-12-09 Thread Mark Bergeron
if ($password ne $upassword) { print Location: /pages/login.htm\n\n; } else { print Location: /pages/yourpage.htm\n\n; } Something like that may work. -Original Message- From: Scot Robnett[EMAIL PROTECTED] To: Admin-Stress[EMAIL PROTECTED], perl cgi[EMAIL PROTECTED] Date: Mon

Re: Re: tutorials

2002-11-25 Thread Mark Bergeron
Yes, it's pretty good but, the font sizes on the page are too big. Someone may consider changing them to font size 2. Other then that it's an informative site. -Original Message- From: Ovid[EMAIL PROTECTED] To: [EMAIL PROTECTED], [EMAIL PROTECTED] Date: Sun Nov 24 13:55:12 PST 2002

Re: Re: tutorials

2002-11-25 Thread Mark Bergeron
I really like your ideas and the examples. I just have a hang up with having to scroll to the left on pages. Hey, It's me not you (-8 -Original Message- From: Ovid[EMAIL PROTECTED] To: Mark Bergeron[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] Date: Mon Nov 25 09:05:47 PST 2002

Re: Re: tutorials

2002-11-23 Thread Mark Bergeron
Don't forget about the Official Guide To Programming With CGI.pm. The book is hard to find but the site has a lot of information and examples: http://www.wiley.com/legacy/compbooks/stein/index.html -Original Message- From: Al Hospers[EMAIL PROTECTED] To: [EMAIL PROTECTED], [EMAIL

Re: Re: tutorials

2002-11-23 Thread Mark Bergeron
Yes, CGI with Perl is a great one. I wish they would print a 3rd Edition though. -Original Message- From: Scot Robnett[EMAIL PROTECTED] To: [EMAIL PROTECTED], [EMAIL PROTECTED] Date: Sat Nov 23 14:30:15 PST 2002 Subject: Re: tutorials Always look to O'Reilly first, they usually have

Re: Non-caching META-tags

2002-11-21 Thread Mark Bergeron
sub mainHeader{ print $q-header( -type = text/html, -expires = now ), $q-start_html( -title = Your Title); This has always worked for me. I don't know if will do everything for you. -Original Message- From: Nick Malden[EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Wed Nov 20

Re: Menus and Forms

2002-08-20 Thread Mark Bergeron
I'm pretty sure there is an example of just this type of thing here: http://www.cgi101.com/class/ch5/text.html Try that maybe (-8 -Original Message- From: Margaret[EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Tue Aug 20 02:01:53 PDT 2002 Subject: Menus and Forms Hi Can someone help

Re: Re: form display problem

2002-06-13 Thread Mark Bergeron
Perl programming is like the Breakfast Bar at Shoneys! Take what you want and leave the rest. Ask questions, ask questions, ask questions. -Original Message- From: Janek Schleicher[EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Wed Jun 12 01:42:23 PDT 2002 Subject: Re: form display

Re: Re: Matt Wright

2002-05-15 Thread Mark Bergeron
Hey, this is cool. It's about time to update things around the universe. -Original Message- From: Camilo Gonzalez[EMAIL PROTECTED] To: '[EMAIL PROTECTED]'[EMAIL PROTECTED], Camilo Gonzalez[EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Date: Mon May 13 08:17:47 PDT 2002 Subject: Re: Matt

Re: Using strict with DBI

2002-04-30 Thread Mark Bergeron
Rob, use strict; shouldn't really affect the syntax of any DBI handle or statement. I would help if you included an example for us to have look at here. -Original Message- From: Rob Roudebush[EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Mon Apr 29 18:15:23 PDT 2002 Subject: Using strict

Re: Poll for my site

2002-03-19 Thread Mark Bergeron
You could run a small img though your while loop and have it place one next to the other (side by side) using your rowcount values. That would be one way. or you could try it with a foreach() as well. Mark -Original Message- From: GsuLinuX[EMAIL PROTECTED] To: [EMAIL PROTECTED],

Re: Help with ODBC/CGI/IIS

2002-02-15 Thread Mark Bergeron
Not unless you purchase XP Pro. It also comes bundled with Win2K pro and of course Win2K Server. And BTW, i thought it was pretty crappy of MS not to have it for XP Home OR support PWS for XP Home. Oh well, Apache it is! -Original Message- From: Al Hospers[EMAIL PROTECTED] To: [EMAIL

Re: Re: Help with ODBC/CGI/IIS

2002-02-14 Thread Mark Bergeron
Yes, by all means get out of the registry. There are so many other ways to set your stuff up. Unless of course you really like that sort of thing. Here is a link from MS on IIS. It may help: http://www.microsoft.com/technet/treeview/default.asp?url=/TechNet/prodtechnol/iis/tips/iis5chk.asp IIS

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

Re: Re: Windows XP

2002-01-12 Thread Mark Bergeron
IIS is only bundled with XP Pro. Can you beleive that! What MS crapola. -Original Message- From: Steven Vargas[EMAIL PROTECTED] To: Kamali Muthukrishnan[EMAIL PROTECTED], [EMAIL PROTECTED] Date: Fri Jan 11 17:17:29 PST 2002 Subject: Re: Windows XP Is PWS, or IIS installed on the XP box?

Re: Question

2001-12-23 Thread Mark Bergeron
Hey, that's what I was wondering too. But on windows XP. They screwed the developer by leaving out IIS and not supporting PWS with this version of Windows. -Original Message- From: Brent Mosley[EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Sun Dec 23 14:58:12 PST 2001 Subject: Question

Re: Creating a CGI menu

2001-12-13 Thread Mark Bergeron
For this I would consider using SSI. That way you only have to make your changes in the config files once for the whole site. Using SSI: http://www.perlmonks.com/index.pl Lots of different ideas here. Mark Bergeron' -Original Message- From: Gerry Jones[EMAIL PROTECTED] To: CGI

Re: script doesn

2001-12-11 Thread Mark Bergeron
Have you set up your cert on the server? -Original Message- From: Alex Chau[EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Mon Dec 10 20:21:24 PST 2001 Subject: script doesn't work under https but works under http??? hi everybody, I have posted a script to my server, and it works

Re: cgi form

2001-12-10 Thread Mark Bergeron
How are you calling the form. You might try and including a little of your code so we can see what's going on. -Original Message- From: Tat Nam[EMAIL PROTECTED] To: Beginners Perl[EMAIL PROTECTED] Date: Sun Dec 09 23:01:10 PST 2001 Subject: cgi form Hi, I'm writing a survey form.

Re: Hopefully I can see the light.

2001-12-08 Thread Mark Bergeron
Mark, Have you seen this example: http://www.wiley.com/legacy/compbooks/stein/code/customizable.cgi I think it's close to what you want to acomplish. Loop through user defined preferences and set the bgcolor, etc... to the users choice. Check it out

Re: Re: Need basic commands on perl programming

2001-12-07 Thread Mark Bergeron
Not the best stuff in the world but it will get you started with a lot of the basics. Forms, directories, cookies. Stuff like that. GoTo: http://cgi.resourceindex.com/Documentation/ GL, Mark Bergeron -Original Message- From: Jerry Preston[EMAIL PROTECTED] To: reggy patagan[EMAIL

Re: Cookie Help PLEASE!

2001-11-18 Thread Mark Bergeron
In your conditional loop for checking the PW, why don't you just use a Reponse redirect. if ( defined $cookie ) { print $q-redirect(/gamepage.htm); } else { print Location: /index.htm\n\n; } untested. -Original Message- From: Andre` Niel Cameron[EMAIL PROTECTED] To:

Re: trying to write to a file

2001-10-25 Thread Mark Bergeron
And I quote, just like 6 lines of code and it doesnt work so I need some help. Are you sure about this? -Original Message- From: Matthew Mangione[EMAIL PROTECTED] To: Linux Beginners[EMAIL PROTECTED] Date: Thu Oct 25 09:35:02 PDT 2001 Subject: trying to write to a file hey im trying to

Re: questions

2001-10-25 Thread Mark Bergeron
I know this is a beginner's list. And, we have all been at the point of starting out but, you've get to explain your situation a bit better than this. What window?, do you want to collapse a window during a process and have it post something on after the completion of another process. In

Re: Re: i need help with Perl and HTML please

2001-10-23 Thread Mark Bergeron
You have to call the script from the form element: form action=/cgi-bin/yourfile.pl method=post --All of your fields or etc.. here-- /form or you could trigger it with a link a href=/cgi-bin/yourfile.pl?Name=UserDay=TodayLogin In/a something like that. -Original Message- From:

Re: Free CGI Hosting?

2001-10-22 Thread Mark Bergeron
Why don't you just run the scripts on your machine? You can do that ya' know. You just need a free webserver like Apache or PWS (Personal Web Server) from MS. -Original Message- From: pAuLyOYo[EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Sun Oct 21 18:26:43 PDT 2001 Subject: Free CGI

The removal process for padula

2001-10-11 Thread Mark Bergeron
Aawww, Itdel weedle padula got dawere feelings hwurt. )-8 -Original Message- From: aurillo, gabriel[EMAIL PROTECTED] To: padula, domenic[EMAIL PROTECTED], '[EMAIL PROTECTED]'[EMAIL PROTECTED] Date: Thu Oct 11 10:26:06 PDT 2001 Subject: Re: Everyone please move on RE: Sh*t

Re: Re: Getting Stared with CGI.pm

2001-10-10 Thread Mark Bergeron
I don't know if you've tried this one yet? http://stein.cshl.org/WWW/software/CGI/ The site of the guy that wrote cgi.pm -Original Message- From: Carl Franks[EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Mon Oct 08 06:26:49 PDT 2001 Subject: Re: Getting Stared with CGI.pm I can

Re: Re: Simple CGI Question

2001-09-30 Thread Mark Bergeron
Yes, I would agree, You'll find with just a little practice, you can write you own code and scripts easier, faster, and most times, more efficient for what you need. -Original Message- From: Randal L. Schwartz[EMAIL PROTECTED] To: [EMAIL PROTECTED], Geoff Ball[EMAIL PROTECTED] Date: Sat

Re: structure of scripts (newbie Q)

2001-09-20 Thread Mark Bergeron
. Another place to review is the perlstyle manpage. Your code is your own however. It just depends on whom will have to deal with it in the event you leave or give it away. That's 2cents for whatever it's worth. GL, Mark Bergeron' -Original Message- From: Stephan Tinnemeyer[EMAIL PROTECTED

Re: Unless statement

2001-09-18 Thread Mark Bergeron
I would go: unless ( ($x 50) || ($x 80) ){ print ; } of course you could use and, or you can only use and, or if your running at least Perl5 -Original Message- From: David Draley[EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Mon Sep 17 14:36:06 PDT 2001 Subject: Unless

Re: Re: active perl on IIS

2001-09-03 Thread Mark Bergeron
Let me also add, unlike *nix, you may run scripts from virtualy any folder you see fit on Win (within wwwroot for the web of course). Everything is really governed by the permissions and etc... you set on the folder itself. In some cases it makes sense to name the cgi folder something less

Re: active perl on IIS

2001-08-29 Thread Mark Bergeron
This may help: http://www.wiley.com/legacy/compbooks/stein/source.html of course there are so many more. Mark Bergeron' -Original Message- From: Lynn Glessner[EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Wed Aug 29 11:37:49 PDT 2001 Subject: active perl on IIS Can anyone point me

Re: Re: Beginning CGI

2001-08-15 Thread Mark Bergeron
You can definetly run CGI's on IIS. Check out Active State http://www.activestate.com or Indigo Perl I think it's http://www.indigostar.com/indigoperl.htm GL, Mark -Original Message- From: Eric Wang[EMAIL PROTECTED] To: Mark Bergeron[EMAIL PROTECTED] Cc: kahine Kldon[EMAIL PROTECTED

Re: Re: CGI on IIS - bad idea?

2001-08-15 Thread Mark Bergeron
This could be. When running under #!/usr/bin/perl -wT Too late for -T I'm running 626 on Win2K Pro IIS -Original Message- From: Curtis Poe[EMAIL PROTECTED] To: CGI Beginners[EMAIL PROTECTED] Date: Wed Aug 15 09:50:54 PDT 2001 Subject: Re: CGI on IIS - bad idea? --- Mark Bergeron

Re: Re: Perl Editors

2001-08-08 Thread Mark Bergeron
Nice tool. Veeey sloowww load times. Oh well. -Original Message- From: Joel Hughes[EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Wed Aug 08 11:35:56 PDT 2001 Subject: Re: Perl Editors I've used ActiveStates Komodo editor which is nice free joel -Original Message- From: Al

Re: Sending Mail with CGI on Windows server

2001-07-31 Thread Mark Bergeron
Use Net::SMTP. You'll find it and supporting documentation on CPAN. -Original Message- From: James Boeck[EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Tue Jul 31 08:18:07 PDT 2001 Subject: Sending Mail with CGI on Windows server Hello All, I too am a newbie in the world of perl. I was

Re: Copy and past HTML into a perl script

2001-07-13 Thread Mark Bergeron
You may want to try this: print Content-type: text/html\n\n; print EOF; html etc... /html EOF -Original Message- From: Tony Paterra[EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Fri Jul 13 10:44:56 PDT 2001 Subject: Copy and past HTML into a perl script I have a cgi script that I need

Re: Re: FUCK THE FUCKUNG MAILBOT!!!!!!!!! I WANT OUT OF THIS FUCKINGLIST !!!!!!!!!!!!!!!!

2001-07-10 Thread Mark Bergeron
Oh Yea! This guy is going places. -Original Message- From: Fco. Javier Valladolid Hdez.[EMAIL PROTECTED] To: Perl CGI[EMAIL PROTECTED] Date: Mon Jul 09 19:19:06 PDT 2001 Subject: Re: FUCK THE FUCKUNG MAILBOT! I WANT OUT OF THIS FUCKING LIST unsubscribe, no more

Re: Script written HTML won

2001-07-10 Thread Mark Bergeron
Let me get this straight. You can see the source but not the HTML output in the browser? Mark Bergeron -Original Message- From: Samuel Brown[EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Tue Jul 10 10:20:57 PDT 2001 Subject: Script written HTML won't display Here's a wierd problem

Re: Re: Script written HTML won

2001-07-10 Thread Mark Bergeron
Oh, no doubt. Sometimes it's something as minor as one unclosed tag. Netscape has been notorious for that. -Original Message- From: Bradley M. Handy[EMAIL PROTECTED] To: Mark Bergeron[EMAIL PROTECTED], Samuel Brown[EMAIL PROTECTED], [EMAIL PROTECTED] Date: Tue Jul 10 10:53:29 PDT 2001

Re: newbie question

2001-07-06 Thread Mark Bergeron
Is your directory set to scripts access? -Original Message- From: nila devaraj[EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Fri Jul 06 02:24:31 PDT 2001 Subject: newbie question Hi i have a webserver that has been configured for CGI scripting. i placed the HTML file in the required

Re: Re: how to write in access database

2001-07-06 Thread Mark Bergeron
it out: http://shop.barnesandnoble.com/booksearch/isbnInquiry.asp?userid=2U41UY7CK7mscssid=5K472W9Q2Q759GC6JBK66SG117N4FVLDisbn=1565926994 it will serve you well. GL, Mark Bergeron -Original Message- From: Wilfried Mouquot[EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Date

Re: Re: Configuring cgi scripts on Windows2000

2001-07-05 Thread Mark Bergeron
Back from vacation only a day and already I feel the love in this place (-8 -Original Message- From: Brett W. McCoy[EMAIL PROTECTED] To: Greg Jetter[EMAIL PROTECTED] Cc: Steve Howard[EMAIL PROTECTED], RL Autry[EMAIL PROTECTED], [EMAIL PROTECTED] Date: Thu Jul 05 09:57:09 PDT 2001

Re: how to write in access database

2001-07-05 Thread Mark Bergeron
What kind of script? -Original Message- From: qing wang[EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Thu Jul 05 10:56:43 PDT 2001 Subject: how to write in access database Hi, anyone know how to write in access database using script? Thanks for any information. Qu

Re: Opening HTML file from PERL

2001-07-05 Thread Mark Bergeron
/head body bgcolor=#ff etc... other HTML here /body /html EOF } else { do something else } you get the picture. GL, Mark Bergeron -Original Message- From: Srinivasan Kannan[EMAIL PROTECTED] To: CGI[EMAIL PROTECTED] Date: Thu Jul 05 12:14:47 PDT 2001

Re: 500 Internal Server Error

2001-06-27 Thread Mark Bergeron
I really might help if you share a little code with the group. Just paste some into your email. Mark Bergeron -Original Message- From: Paul Burkett[EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Mon Jun 25 12:59:08 PDT 2001 Subject: 500 Internal Server Error Everything I try I get

Re: Re: Some Advice plz :))

2001-06-27 Thread Mark Bergeron
Oh boy... here we go! This should fire up some creativity. This first book should be the Random House Dictionary of the English Language (-; Followed by the Llama book. Followed by a great list of resources for solving this type of problem easily. my 2 cents early, Mark Bergeron -Original

Re: Re: Unsubscribing

2001-06-26 Thread Mark Bergeron
You boys are all going to have to figure this one out. Consider it a learning experience. -Original Message- From: Lucy[EMAIL PROTECTED] To: Cochrane, Paul[EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Date: Tue Jun 26 03:58:03 PDT 2001 Subject: Re: Unsubscribing I have no idea why everyone is

Re: CGI Return

2001-06-22 Thread Mark Bergeron
What type of OS are you running? What type of cam? Do they have web plug-in type technology of sorts? What's the webpage suppose to return? Let us know. Mark' -Original Message- From: Paul Burkett[EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Fri Jun 22 15:04:21 PDT 2001 Subject: CGI

Re: Re: error message

2001-06-12 Thread Mark Bergeron
Luck, Mark Bergeron -Original Message- From: Geraint Jones[EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Date: Tue Jun 12 08:23:21 PDT 2001 Subject: Re: error message Try putting the following at the beginning of your script, it helps a lot with debugging CGI: use CGI::Carp