AllExperts > Perl & CGI 
Search      
Perl & CGI
Volunteer
Answers to thousands of questions
 Home · More Perl & CGI Questions · Question Library  · Free Encyclopedia ·
More Perl & CGI Answers
Question Library

Ask a question about Perl & CGI
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
About Marty Landman
(Top Expert on this page)

Expertise
Perl programming using CGI, databases, HTML templating, and website automation.

Experience
Web developer since 1998, owner of Face 2 Interface.

   

You are here:  Experts > Computing/Technology > Perl/PHP > Perl & CGI

Questions Answered By Expert  Marty Landman 
In Category  Perl & CGI

SubjectDate Asked

cgi html problem7/10/2009
  Q: #!C:activeperl/perl/bin/perl print <<EndOfHTML; content-type:text/html <!DOCTYPE html PUBLIC ...
  A: I'm not sure what the problem might be. But try this instead: #!C:activeperl/perl/bin/perl use ...
cgi html problem7/10/2009
  Q: #!C:activeperl/perl/bin/perl print <<EndOfHTML; content-type:text/html <!DOCTYPE html PUBLIC ...
  A: Try having 2 carriage returns after your first line ie. content-type:text/html <!DOCTYPE html ...
making forms work with fasthost3/27/2009
  Q: any idea how to make forms and scripts work on fasthosts in UK they say you need a -f paramater in ...
  A: Lee, Maybe I'm misinterpreting this, but if you look here http://littlelink.webtrouble.com/?qwSz ...
Perl and asp2/28/2009
  Q: I need to call an asp link from a perl script, by passing parameters, and would like to simply use a ...
  A: Achille, This should work, unless for some reason this feature was disabled by the server. As I'm ...
Configure.cgi did not produce a v alid header in unix box2/25/2009
  Q: When i am running my application on Iplanet Web server 6.0, I got error "GET ...
  A: Mohan, You can see what these status codes mean looking at the W3's website at ...
Eval, maybe?2/20/2009
  Q: I submit a form and get 2 data: $from="from" and $to="to" From another routine, I have a value ...
  A: Ok that seems clear; yes you can use eval for this kind of thing, however please consider as an ...
Eval, maybe?2/20/2009
  Q: I submit a form and get 2 data: $from="from" and $to="to" From another routine, I have a value ...
  A: Anatoli, Not sure about your question; are you asking how to do variable assignments? How to pass ...
Password Protection2/11/2009
  Q: I'm hosting a site on a linux server. I need to be able to direct visitors to 5 different ...
  A: I think you'll have to use a program - then once the program has validated the password you can ...
Password Protection2/10/2009
  Q: I'm hosting a site on a linux server. I need to be able to direct visitors to 5 different ...
  A: John, Sounds like you have thought this through - asking the right question. My answer is that ...
Text encoding from oracle2/10/2009
  Q: I have a CLOB in an oracle database that contains various scientific symbols such as the micro (Alt ...
  A: Joe, There looks like a possible solution - with code - posted on the PerlMonks website ...
delete files from a cgi script7/8/2008
  Q: I am not able to delete files from a cgi script. tried using unlink (/home/user1/text1.log) or ...
  A: Balaji, Yes it is totally possible. Check the return code, and write back with it for me to see. ...
Perl cgi function to check if an http web site exist7/1/2008
  Q: Perl cgi function to check if an http web site exist using cgi
  A: Shapoor, You could use LWP to get the homepage. use LWP::Simple(); my $home = get ...
Replacing a string in an array of strings.4/29/2008
  Q: I need to replace each occurrence of these strings in a text file with string "AND".How can i do ...
  A: Aneesh, Have you considered using the find method of the string class? You can read more about ...
Link MS Excel with INternet Explorer4/29/2008
  Q: This is a part of a project that i am doing.... the thing is that i want to link MS Excel with ...
  A: Bankim, There are two different approaches you can take here. First, you can try and do your ...
Creating a Form with Capcha using Godaddy.4/27/2008
  Q: I have a decent form up, but it creates too much spam. I am using Godaddy w/linux hosting and their ...
  A: Jody, I'm unfamiliar with Godaddy's gdform, but suggest you look at the Captcha site at ...
Help with Survey.cgi script from BNB4/9/2008
  Q: So I'm using this survey.cgi from BNB and I believe my team has exhausted every possibility and we ...
  A: David, When I go to http://www.serengetitrading.com/scaa2.htm - click a checkbox and submit the ...
mail form3/12/2008
  Q: I'd like to have a form contact on a web page, when visitor click submit, the form will pop up ...
  A: Emily, Look at my open source products at http://face2interface.com/Products.shtml You may find ...
.= vs =2/29/2008
  Q: I have been learning Perl for about 2 months now. I've come across .= a few times but I don't ...
  A: Alex, The .= operator assigns with appending. Saying $a .= $b is shorthand for saying $a = $a . $b. ...
Data editing2/27/2008
  Q: I've got the following question, please advize me. Suppose I've got retrieved data from database ...
  A: Kaz, I would put the placeholder into the result file when creating it. Maybe I'm misunderstanding ...
Die2/26/2008
  Q: in a perl script that displays a html page, when I write: **************************** if ...
  A: Charles, Executing a die may be causing your server error. Best to stop the program cleanly. Use ...
how to terminate if the file cannot find the pattern match in 5 mins.2/21/2008
  Q: I am using Perl to do some pattern matching. I have say 500 files, and i wrote a loop to read ...
  A: Laura, I would suggest trying a few things first. http://littlelink.webtrouble.com/?nyVe describes ...
Help validating forms!2/21/2008
  Q: Hey! I'm having trouble with form validation - mainly I have no idea how. Basically what's going ...
  A: Eric, Look at the suite of free Perl/CGI scripts on my website at ...
Problem of \n in perl2/18/2008
  Q: A script adds some data in an array, it is in fact a small "mail system" i want to put on my site. ...
  A: Anatoli, It sounds like you want to have a line break after the last reply, so when adding a new ...
About Regular Expression2/14/2008
  Q: I am trying to display all words in a file which DO NOT contain all of "a", "i", "u", "e", "o", "A", ...
  A: Worked for me: marty@mandelbaum:~$ cat regex.pl #!/usr/bin/perl use strict; print "Hello\n\n"; my ...
About Regular Expression2/13/2008
  Q: I am trying to display all words in a file which DO NOT contain all of "a", "i", "u", "e", "o", "A", ...
  A: Kaz, You said display words not containing all of the vowels. Do you mean display words not ...
slouation for perl program2/1/2008
  Q: Hi Sir, please solve me this problem in perl, problem is take a one paragraph and read that ...
  A: Jayaraju, See how far you can get with this tutorial ...
How to implement CAPTCHA in my form handling script1/26/2008
  Q: I added CAPTCHA to my contact html form But I am not sure what lines to add (how to ...
  A: Stan, There is a CPAN module for adding CAPTCHA as a plugin to Perl located here: ...
capturing the child CGI input to parent HTML/CGI file1/24/2008
  Q: There are 2 files. a.html : two text boxes and one submit button is there. After filling textbox1, ...
  A: Vivek, I don't understand what the purpose of the second window is. Whenever I've coded a CGI form ...
Survey Script from bbs.bignosebird.co1/1/2008
  Q: I am getting a "500 Server Error," when the survey is used @ ...
  A: This is a generic error which could be caused by any number of things, from a compilation time error ...
sorting text from file extraction8/8/2007
  Q: I have a cgi that opens files, looks for text contained within specified tags within the files, and ...
  A: Not sure I understand - are you extracting data as you read these files and then want to sort them? ...
cgi pearl script (domain name lookup)7/25/2007
  Q: Marty: Here is my link to marty.txt on my site. http://www.webpagefabricators.com/cgitest.htm I am ...
  A: Sorry thought I'd already answered. This is the code that looks like the problem: if ...
changing sendto field on cgi form7/18/2007
  Q: I created a survey using bnbform.cgi a few years ago for my website. It was, and still is a new ...
  A: I'd need to see the whole application. Can you put it in a zip file and then post a link to that ...
Perl form script7/16/2007
  Q: I am a student and I cannot figure out why my form in Perl will not operate. I have the cgi-lib.pl ...
  A: I see a problem on the first line #!:\usr\local\bin\perl There should not be a colon ':' on there ...
cgi script problems7/6/2007
  Q: I have installed a guestbook through my web host and it comes from BigNoseBird.com. Once installed ...
  A: I'm glad it worked out for you Rob. Maybe the question is why your other FTP program didn't work. ...
cgi script problems7/5/2007
  Q: I have installed a guestbook through my web host and it comes from BigNoseBird.com. Once installed ...
  A: Since you suspect the uploaded file to be corrupt I recommend making a copy on the server before ...
cgi script problems7/5/2007
  Q: I have installed a guestbook through my web host and it comes from BigNoseBird.com. Once installed ...
  A: If you've verified that your reinstall is correct i.e. the guestbook works again, then please let me ...
cgi script problems7/5/2007
  Q: I have installed a guestbook through my web host and it comes from BigNoseBird.com. Once installed ...
  A: Rob since it was working when you first installed it and ceased working after you began changing it, ...
Perl and CGI problems6/21/2007
  Q: I am trying to install a perl script called bnbform which I see from previous answers many people ...
  A: Tim, Sounds like you have not set the permissions on the script file to 755. Please try that first ...
problem in starting binaries using script6/18/2007
  Q: command i used is: `nohup ./ACM_ams0.5.0 >> Kunal_amstest_ACM.log 2>&1 &`; binaries which doesnt ...
  A: Kunal, This is only an educated guess but is it possible that the .so file needed is expected to be ...
extract file3/22/2007
  Q: #!/usr/location/bin/perl $dirname = "/nfs/home/alfred/assignment/abc"; opendir (DIR, $dirname) or ...
  A: That's not the way I would approach it, but please read up a little more on regular expressions. You ...
Error Messages3/13/2007
  Q: I've figured out this error means that it is trying to go get an item in this array in a position ...
  A: The fact that the program is trying to access a bad subscript doesn't help much - it's just the ...
extract file3/12/2007
  Q: hey! i new to perl. my question is how am i going to write a script if i'm given a few files in a ...
  A: Alfred, Do some googling for Perl file reading and writing. That should get you started, then write ...
CGI script/form3/8/2007
  Q: I am really new to CGI and need help for my final project. I am kind of stuck on part of my script. ...
  A: Ken, Have you learned how to get the user's input data yet? I suggest using CGI.pm, there's a great ...
Perl expression3/4/2007
  Q: I am trying to find out why my Yabb bulleten board will no longer display attachments - I trace to ...
  A: Harry, First shouldn't it say if ($mfn && $mfn ne "") IOW the second 'mfn' has no $ in front so ...
CGI cannot create files on NTFS3/1/2007
  Q: I've installed the survey script from BNB on my private lan. I have installed IIS server as well as ...
  A: Pawan, Are you certain the issue is NTFS vs. FAT32? I have never heard of that in and of itself ...
BNB cgi-script not working :(2/28/2007
  Q: I copied and pasted the script in a HTML doc. Here's the link: ...
  A: Looks like you're missing the first line; here's another webpage showing the source too - compare to ...
BNB cgi-script not working :(2/27/2007
  Q: I just found this site and I'm already linking it to my web site. I seem to be having a little ...
  A: Heather, When I look at your contact form's source, it shows the form action calls ...
cgi and resume shopping button2/16/2007
  Q: My cgi cart uses this as the resume shopping link <<<if ($FORM{backto} == "") { $FORM{backto} = ...
  A: Patti, I believe you have two options here: 1) use the javascript back function which is described ...
web store2/3/2007
  Q: I have a webstore (cgi) and do not have an actual (View Cart) for viewing, just a sales slip, How do ...
  A: Richard, Your best bet is to find an experienced developer who can install and then teach you to ...
cgi script1/25/2007
  Q: I am the webmaster for an insurance company and need help with a script for a form submission. The ...
  A: Harvest, You will have to add a little code to the formmail program you're using to not send form ...
Unix Path10/27/2006
  Q: 1) when I go to the guestbook webpage (www.johntrueman.com/gbook.html) no button is displayed to be ...
  A: John, 1) you've got the submit button commented out <!-- <INPUT TYPE="submit" VALUE="SIGN BOOK!"> ...
Unix Path10/27/2006
  Q: I am trying to run a cgi guestbook script from cgi-bin on my website but the problem I am having is ...
  A: John, What error are you getting to indicate that this is the problem? -- Marty Landman, Face 2 ...
CGI with cron10/26/2006
  Q: I'm currently working on a scheduler. I'm using crontab to schedule the task. The code works if I ...
  A: Jian, I'm not sure why it would work from the command line but not from a browser - sounds like a ...
Perl IDE10/19/2006
  Q: Do you know any free IDE for writing Perl code on Solaris and/or running Perl code in debug mode ...
  A: Or, I am the wrong person for this question. Perl does have a debugger ...
Set default value for undefined variables.10/12/2006
  Q: I have written the problem below in which I haven’t defined variable $MAX_DISK_SIZE so I should get ...
  A: Shyamal, Perl defaults set variables to a null value - or zero if numeric - by default. -- Marty ...
Call script without "submit" button10/5/2006
  Q: I would like to have the following snippet of cgi call the script on page load rather than using the ...
  A: Norm, <body onLoad="document.forms[0].submit()"> is a line of javascript that you can put in your ...
install hellllllllppppppppppp10/5/2006
  Q: i already have apaid hosting account with yahoo as well as a active domain all i need is to have ...
  A: Have you tried using Filezilla? http://sourceforge.net/projects/filezilla/ It is a free FTP ...
install hellllllllppppppppppp10/3/2006
  Q: can someone plz install every auction free version on my site ?
  A: PJ, I suggest you look for an easy to install free auction application and then see if you can find ...
Using zip in a cgi script10/3/2006
  Q: I need to use a cron task to zip some files. The archive file name will be someting like ...
  A: Tim, To run a shell command from within a perl script use the backtick operators: ...
Can anyone help me upload my website files to a remote server?9/29/2006
  Q: I have an Auction Website that I have had hosted for quite some time but it was kind of costly ...
  A: Nvntor, Could you tell me which ftp program you use? Also to help figure out the error, if you can ...
about copying9/25/2006
  Q: can you explain me how can i copy files from one dir to another dir but the destination dir is not ...
  A: Gopi, If you are writing a Perl program to do this then two approaches come to mind. 1) use the ...
I am experimenting problems with survey from Bignosebird.com and I can get it to run9/21/2006
  Q: I have the same problem you where having and I try everything I am not an expert but I have some ...
  A: Carlos, Thanks for writing. When I fill out the form and send it in the response says Data File ...
To list the latest updated files in perl9/19/2006
  Q: This is for my fnd actaully . So let me xplain the problem in more clear ,manner We want to list ...
  A: If you look at the Windows 'dir' command there is an 'O' switch and a 'D' parameter. Use the 'T' ...
To list the files and directories in perl9/19/2006
  Q: can i know how to get the recet modified files displayed in the list in perl. its used for system ...
  A: Rupak, Have you looked at something like the dir command in Windows or the ls command for Unix? ...
ecard BNB have a couple questions9/14/2006
  Q: It's a CGI script by Bignosebird, (C)1998-2002 Bignosebird.com cardcgi v2.1 ...
  A: I'm afraid those details of the installation are unknown to me. But am surprised these questions, ...
use variable from .h file9/14/2006
  Q: If i use 'use constant' in test.h file It gives error: Bareword "PORT" not allowed while "strict ...
  A: I think if you change the line to read my $PORT = 5060; instead of $PORT = 5060; that will ...
ecard BNB have a couple questions9/13/2006
  Q: I use Frontpage to design my site with my host, they supports this. I am also able to use a CGI ...
  A: Lisa, Could you please provide more details? What CGI app are you wanting to create or install? ...
makin drop down menu in perl9/13/2006
  Q: i want to make a drop down menu in perl scripting and populate its content with mysql database on a ...
  A: Suman, Have you sketched out the approach yet? Do you plan on using a client side drop down in ...
Script to download a file from MYSQL9/8/2006
  Q: i have a table with many columns(in mysql). i want to make all the data in the column merge and can ...
  A: Farhan, Do you mean you want to preprocess a query and store the column data as different files? ...
redirect based on sub-folder9/7/2006
  Q: Sorry, I should have been more clear... I can't do it by creating new directories for each redirect ...
  A: If everything is of the form http://domain.com/dir_name/ then if you create an index.php as the ...
redirect based on sub-folder9/7/2006
  Q: I'd like to do something like this: users going to www.domain.com/folder1 get automatically ...
  A: Steven, The easiest way would be to have an index.cgi in each folder and the server configured so ...
Perl error: Can't find string terminator8/21/2006
  Q: I can't figure out why the perl script below keeps returning the error: Can't find string terminator ...
  A: Jeffrey, Add a line just before the last line that says HTML You are missing that terminator for ...
Syntax errors8/20/2006
  Q: My aim was to design a script which accepts user input. the aim was to add two numbers together and ...
  A: Jason, Like the message says, you have compilation errors so it never gets to the point that it ...
choosing/controlling font type with perl print8/2/2006
  Q: Yes it is a perl scrip that generates output to a web page.How can I set the print font type when ...
  A: In that case you could either use the HTML font tag, or CSS to control font presentation. If you ...
choosing/controlling font type with perl print8/1/2006
  Q: How can I set the print font type when using a perl print statment?
  A: Are you outputting to a web page? Please be more specific so I can try and answer effectively. -- ...
mp3 on my website8/1/2006
  Q: I run my church's website and I'm very new at this. Can you tell me how I can make sermons ...
  A: Amanda, I assume you already know how to create the mp3's, if not please write back and I'll tell ...
Using FormMail with an autoresponder7/28/2006
  Q: I would like users submitting the form on my site to get an autoresponse but I'm having trouble ...
  A: Rick, You should be aware that this is a risky thing to do. For two reasons. First, if your ...
Returned email7/28/2006
  Q: I am using the Print Mail command to send email to members. Problem is when the email address ...
  A: You should be able to get notification of email bounces, but how this is done may depend on your ...
perl grep to read only files not folders7/27/2006
  Q: reads files and folders Can the grep be modified to read only files and not folders? Thanks sub ...
  A: Denesa, You can use the -d switch to check if a path name is a directory, e.g. my $pathName = ...
function reverse in perl7/26/2006
  Q: Marty, The 1st option doesn't work at all, it does strictly nothing, the file isn't processed. In ...
  A: Hmm, that's weird that the second one isn't working. Could be there are multiple spaces in which ...
function reverse in perl7/26/2006
  Q: I have a file made of lines, like: line 1 line 2 line 3 line 4 line 5 I want create a new file that ...
  A: Stephan, I am not sure where it is coming from.. maybe it's a consequence of reading the line ...
reg cgi script7/22/2006
  Q: These are some of the details that i failed to mention : The Document Root is : /var/www/html: ls ...
  A: Permissions seem more than adequate, so I'm stuck now. I notice the URL you give is internal, is ...
reg cgi script7/22/2006
  Q: This is the output i get when i ran the script from the command prompt. ...
  A: Vivek, The shell output look good, including the http headers. Therefore I wonder if the problem is ...
BNB virtual card script7/17/2006
  Q: Marty. Ok, my script is card.pl and it sits at www.justduckygreetings.com/cgi-bin/card.pl . There ...
  A: I can't run your script - get msg "Sorry, cant run it from here...." Not sure why. I don't see ...
Perl Programming Issue7/17/2006
  Q: I am facing a problem in accessing single element at a time. I wanted to convert my string into ...
  A: Pushpa, I'm not sure what you mean. Could you please write back showing what a sample input and the ...
reg cgi script7/16/2006
  Q: I am working on the client code which has appplications in the form of .cgi but in the form of ...
  A: Vivek, Is it possible that permissions are not appropriate? Suggest you try chmod'g the script to ...
how to create a menu program in perl7/12/2006
  Q: sir, i'm thomas.i had wriitten some scipts under topic of bioinformatics.i want to connect these ...
  A: Thomas, Do you mean something like what is provided here? ...
Generating Graphs7/12/2006
  Q: How can use Perl in Windows environment to generate graphs such as scatter plot, box plot, or any ...
  A: Jian Xu, See if this CPAN search is helpful. http://search.cpan.org/search?query=graphs&mode=all ...
Perl Graphs GD7/11/2006
  Q: I have Window XP and Active perl installed. I can't get the ppm to work, so I try to install the ...
  A: Jian Xu, Please review the documentation at ...
launching a subshell from perl7/10/2006
  Q: I need to start a sub shell from Perl that will be of the same type that invoked my perl script. I ...
  A: Len, I am not familiar with ClearCase nor do I understand the purpose that you're out to achieve. ...
Setting and checking session cookies with perl/cgi7/8/2006
  Q: I'm kind of new to perl and cgi, but I have had experience with many languages so my problem is not ...
  A: Jason, First, hope you are aware that cookies can be edited by a savvy user so this is an insecure ...
moving ndbm files.7/7/2006
  Q: No probs, you've been enough help! I think I've found something called ndbm_dump which I think ...
  A: All I have to do now is write a script to traverse all directories on my website and search for ...
moving ndbm files.7/7/2006
  Q: maybe I was a bit over descriptive in my last question. All I want to know really is there anything ...
  A: Maybe this tutorial will be helpful - really not sure. ...
Automation7/6/2006
  Q: I have to Automate the Instalation on the Windows. I want to know just wether it is possible in ...
  A: Raghu, please be more specific. This is a big undertaking can you tell me which parts you are ...
moving ndbm files.7/5/2006
  Q: Sorry about the repeated question asking, I just got the "this page cannot be found" 6 times (after ...
  A: Wow that's a big program. I won't be able to go through it all for you but suggest that first off ...
moving ndbm files.7/5/2006
  Q: I am moving my website to a dedicated server (freebsd), and whilst my script below (I have copied ...
  A: Ed, I'm not sure, it's been a while since I've used DBM files. But since the error says that that a ...
Perl Programming Issue7/5/2006
  Q: I am working on Perl scripting for automation in Code Composer Studio Version 3.1.0. I need to ...
  A: Pushpa, Are you saying use vars qw($var); Would it be possible for you to post the code for me to ...
Network Programming6/30/2006
  Q: I need a perl script for my term project , This Script will listen to ethernet interface ( eth0) ...
  A: Koroglu, I can help to a point. The first part I am unfamiliar with, iow how to open a connection ...
CGI-Bin Scripts6/29/2006
  Q: www.thewizwebmaster.com Hi Marty.. First off, I have Windows XP Home on my computer. And I use ...
  A: Steve, I suggest you start with the simplest program you can, because there are details to learn ...
CGI/Perl Guestbook to Oracle Database6/26/2006
  Q: www.originalubob.com I am testing a script written to set up a cgi/perl guestbook on my site. But ...
  A: Lucy, DBI is the Perl database interface package. There are lots of DBI articles on the web, here's ...
CGI - write form data to .txt file6/22/2006
  Q: I used a free program to create a CGI file to process a form and collect data. unfortunately the ...
  A: Tony, First where it says if (!defined($field{$name})) { $field{$name}=$val; } is where the ...
HTML Table to access database6/22/2006
  Q: I will like some help as to how to go about tranfering my html database online to a database? Thanks ...
  A: Try my FormATable product there is live demo, the link is below. If that won't do, please write ...
CGI and moving servers6/13/2006
  Q: I am having problem with a cgi script. Built for me by someone else I have since moved servers and ...
  A: What is the path? Are there any paths coded in the script? What is the chmod? Does the server run ...
Pass varaiable from one sub to another6/10/2006
  Q: I hear what you are telling me. I just want to ask you something. Can I send a result from one sub ...
  A: No, parameters are the way you send data to a subroutine. However you can use a global variable as ...
Pass varaiable from one sub to another6/8/2006
  Q: I just checked and the program goes to subroutine b but the results doen't print. When I run the ...
  A: I don't see where sub b is calling sub a, but in general here is how to pass a parameter: sub b { ...
passing variables content between subroutines6/7/2006
  Q: I wish to pass information contained in a variable from one subroutine to another. The problem is ...
  A: Catriona, I'm unclear about some of the details. However if you need to pass a variety of ...
$local_alphabet5/25/2006
  Q: Answer - Brandy, I think you ll have to code this yourself. Let me know what the input looks ...
  A: I can't make out your code - no line breaks in what got back from your question. But know that ...
$local_alphabet5/25/2006
  Q: Is there a way to change the $local_alphabet to show states instead of alphabet? Its for a address ...
  A: Brandy, I think you'll have to code this yourself. Let me know what the input looks like and what ...
Running a cgi on AOL5/19/2006
  Q: Marty, Thank you for your prompt response to my previous question about trying to get a cgi to work ...
  A: No, not if the server does not allow you to. The only other options you have if they insist you ...
Getting a cgi to work on AOL5/17/2006
  Q: I run a retirement community website out of my AOL directory and would like to add forms in order to ...
  A: Frank, Chmod refers to the permission settings of a script. First you must find out the following: ...
Perl Script Output as text5/14/2006
  Q: I've just installed the w3c markup validator (and tripple checked the installation instructions). ...
  A: Danielle, Normally this happens when the directory the script is installed on has not been ...
Session in Perl5/10/2006
  Q: Sir the template i am using is having an internal frame. The parent frame loads a page after ...
  A: Ankhi, Would it be possible to propogate the session id inside a hidden form field, or in a query ...
File Upload field extraction5/5/2006
  Q: I need to extract the name value of a "form upload file field" . I need a method so the <input ...
  A: Rick, The path of the file, which includes in the file name will be in the input variable ...
Perl@ CGI5/2/2006
  Q: How can I insert values into different tables in a database get back the autoincrementing ...
  A: Naveen, If the table has been defined with a line like this id smallint unsigned ...
colored text in perl using the die command4/24/2006
  Q: I was wondering if there's a way to reset the color when using the "die" command. When using the ...
  A: Nadav, Die prints its output to the server error log rather than the browser. You can print to the ...
Problems with Perl/TK module, widget won't run4/20/2006
  Q: Marty, Hello! I am a new Perl programmer who has been hired to work (among other things) with Perl ...
  A: I am not experienced with Perl t/k - am experienced with this kind of error though. @INC is the ...
cannot move file4/14/2006
  Q: I try to write a perl script that will move the files from Windows 2000 to Unix, but fail.. The Move ...
  A: Callisto, I haven't used File::Copy myself, will do my best to try and help. Please look at the ...
Sign up help4/12/2006
  Q: I am trying to make my website user friendly. It is a local band website. I have been going crazy ...
  A: Josh, You can find a lot of information on my own website. First, you can do everything with HTML, ...
performance script of a web page4/10/2006
  Q: how to write a performance script like cpu utilization, of a web page and how to calculate page ...
  A: Srini, While I am personally inexperienced with this, you might read the article from The Perl ...
Perl script4/5/2006
  Q: I also tried it another way similar to yours and it seems to work for now: #!/usr/bin/perl -w ...
  A: Perl uses hashes which are content addressable arrays. Very handy. However you parse out the error ...
Perl script4/5/2006
  Q: I am a beginner to Perl and was trying to write some scripts. I wanted to know the commands or ...
  A: Satish, Here's some code to go through a directory: opendir DIR,'C:\Perl' or die "Open Directory ...
Re: Recursive regex4/5/2006
  Q: I'm sory that I didn't make this clear enough. The goal of the regex is to match a mathematical ...
  A: Sorry that I didn't get it at first. This is probably over my head as haven't worked with a problem ...
Recursive regex4/4/2006
  Q: I have the following regular expression which is not working: <code> our $expr_regex; { ...
  A: Joseph, Why is the regex so involved? Is there more to this than you say? (4+3!)/2 Can't you ...
how u get data from post method using mod_perl4/4/2006
  Q: I am new to mod_perl. I have installed mod_perl 2.0 and related apache server. It works fine as the ...
  A: Shyamal, You use CGI.pm. Look at this link for examples, and write back if you run into any ...
Perl4/4/2006
  Q: I am not so expereinced in Perl Programming and would be grateful for your help in one of the ...
  A: Billy, If you can pinpoint the error to ask me a question that is possible for me to answer as a ...
Using PHP in Perl4/3/2006
  Q: http://www.seifertsonline.net/cgi-bin/search.pl I'm not sure if I have shell access, but I can find ...
  A: Laura, This really can't be done in this way. Instead you might consider using SSI - server side ...
perl ,win32::ole and safearrays4/3/2006
  Q: i am new to the world of perl and win32::ole .so i was wondering if anybody could help. I have a COM ...
  A: Kase, I'm inexperienced with most of what you're doing, however if $res2 is in fact giving you an ...
SendMail4/1/2006
  Q: I am using the script called Novice CGI to handle form data and send it back to me. I got the ...
  A: Andrew, You might try my free formmail script which can sometimes be installed automatically from a ...
fail to execute perl script3/29/2006
  Q: I have this code under test.pl : ============================================ sub send_email { ...
  A: First see if there is a syntax error in the code C:\perl\bin\perl.exe -wc C:\perlscript\test.pl ...
How can I append a newline to the end of a file?3/27/2006
  Q: In ksh, I can do: echo >> $file to add a newline character to the end of $file. What is the ...
  A: Bruce, Perl allows system commands to be executed by enclosing the string inside the backtick ...
unable to use perl module3/27/2006
  Q: I am new to making module in perl. I made a simple module using h2XS command. Then wrote simple ...
  A: Shyamal, I don't make modules this way, but maybe try this other way: - Create your module source ...
Perl/CGI More3/22/2006
  Q: Instead of making a new dynamic page, can I not simply reveal the piece of data under the record. ...
  A: In order to call a function the server must be invoked. But clicking a link is done on the client. ...
User Login on Websites3/8/2006
  Q: How would I setup/write a program to process usernames and passwords and then compare them to a ...
  A: Stephen, This really has to be done on the server which means a server side program. You can ...
Website Creation3/6/2006
  Q: How can I create a website in which users can sign in under a username and password and see dynamic ...
  A: Stephen, Start simple. Write a program to process a form containing an id and password. When the ...
installation issues2/18/2006
  Q: I have installed Apache 2.0.55 and Active perl 5.8.7 on windows xp. I am new to perl and cgi. perl ...
  A: Mike, You have to let Apache know to run CGI scripts through the /Apache/conf/httpd.conf file - ...
Web Page Return from a CGI script2/16/2006
  Q: $JUMP_URL="$ENV{'HTTP_REFERER'}"; The above is included in a CGI script that I am attempting to use ...
  A: I think the way to approach this is to save the http_referer of the page you want to return to, pass ...
Web Page Return from a CGI script2/15/2006
  Q: $JUMP_URL="$ENV{'HTTP_REFERER'}"; The above is included in a CGI script that I am attempting to ...
  A: Steve, Is the line you showed me not working? Or is it working and you want to modify to do ...
Compressing a file in a Perl script2/14/2006
  Q: I have written a Perl script that will send files via email. Everything works pretty well if the ...
  A: Elizabeth, You can execute any system command using Perl by enclosing the command in backticks. So ...
Add dummy field if it doesn't exits in file2/14/2006
  Q: ------------------------- Followup To I'm practically brand new to perl and have no idea how to ...
  A: Duane, If you're just starting out I recommend you begin with something simple which makes sense to ...
Add dummy field if it doesn't exits in file2/13/2006
  Q: I have around 5000 records in a file and not all records have the same fields. Example: not all the ...
  A: Duane, Why not just use a specific dummy value, like NULL? Maybe I'm not understanding the problem ...
Flush buffer problem with IE?2/11/2006
  Q: I will try to explain. My original script will “pingâ€? AGVs with small embedded Linux computers. ...
  A: Peter, So you need to program a wait but for operators using IE they won't get any feedback until ...
Flush buffer problem with IE?2/11/2006
  Q: I have a small example script to describe my problem. #!perl -w $|=1; print "Content-type: ...
  A: Peter, The same thing happens on my Apache server running on Windows XP. Sorry I don't know any ...
extract all lines between a start word/end word2/10/2006
  Q: First off I don't get it. A year ago when i opened the file and took off wordwrap in notepad, each ...
  A: Jay, A simple regular expression might help: s/(\n|\r)+/ /s Honestly though I'm not sure what is ...
getting data from a mysql databse and writing it to a text file2/9/2006
  Q: ok basicaly what my aim is, is to grab the data from the mysql database, then output it into a text ...
  A: Mitch, To debug all this code, the approach I'd take would be to put print statements in the ...
getting data from a mysql databse and writing it to a text file2/9/2006
  Q: ok basicaly what my aim is, is to grab the data from the mysql database, then output it into a text ...
  A: Mitch, For starters why are you opening SLIST, then opening again w/o first closing? That may ...
Absolute beginner2/6/2006
  Q: Thought I've programmed in ASP, .NET and ColdFusion, I have never programmed a single line in Perl. ...
  A: Melanie, You can use the free Perl formmail I offer on my website. Please download from the link on ...
Simple Perl Problem!!! Help2/6/2006
  Q: I have a simple perl/cgi problem that I have been unable to solve even after a thorough reseach on ...
  A: Dominic, Even a simple problem can be broken into its part. When working with header redirects it ...
cgi-database2/3/2006
  Q: Here is the link to the site in question. http://nou4u.com/FreeSample.html it is acting great in ...
  A: Time to learn some scripting! Use google to look for Perl or PHP code to create and then write info ...
cgi-database2/2/2006
  Q: I_am_using_cgi_from_bignosebird_ I_have_a_Mac_g4 my_server_has_a_database_mysql_at_godaddy.com ...
  A: Thom, I've gone to http://nou4u.com/freesample but don't see your form there. Is the script ...
HTTP redirection problem1/29/2006
  Q: Well there must have been something wrong with my if statements, or i needed to create the variable ...
  A: Should've spotted this before. You said my $destination within each if statement. That makes ...
HTTP redirection problem1/29/2006
  Q: ... I went throught the script, and as you instructed, by process of elimination, located the ...
  A: Change the problem code to this: my $destination; if ($mbox eq 'sent') { $destination = ...
HTTP redirection problem1/29/2006
  Q: First of all, I'm a newbie to Perl, but I know PHP quite well... I've written a webmail application ...
  A: Brian, Suggest you start with the simple program you showed me. Then add your web app around it. ...
Execute a file on a webserver using a local perl script1/27/2006
  Q: Is there a way to execute a script on a webserver from within a perl script on your local computer? ...
  A: Mary, I don't think you can do this, but not sure why you'd need to either. Could you please write ...
Database Connection problem.1/26/2006
  Q: I have a html file adduser.html which collects the datas from the users. Now the when i try to ...
  A: Raja, You will have to create a user account and password or connect as root. The first is better ...
Perl Script Problem1/24/2006
  Q: I'm trying to write a script that inputs data to a txt file then I want to be able to open the file ...
  A: Sharon, Please show me the errors. Try this from the shell: $perl -wc myscript.cgi and write back ...
Premature end of script headers: case_registration.cgi1/23/2006
  Q: I am not a computer person but have been tasked with getting a page up and running. It was working ...
  A: Jayme, The error you're getting, 'premature end of script headers' is very generic and so not very ...
not able to get the post data in a loop1/18/2006
  Q: I have 2 perl pages one containing array of textbox and other page is retriving it. here is the ...
  A: Shyama, Try saying print "value=".$FORM{"name_$i"}; or print "value=".param("name_$i"); ...
CGI Problems1/14/2006
  Q: I just switched hosting companies and am now having problems with a form I use online for our ...
  A: Teresa, Some possible ways to approach a problem like this: 1. look at the source code for ...
flatfile search1/9/2006
  Q: i have a program that searches an ascii file well, but the it returns strings rather than the exact ...
  A: Peter, While I'm not going to comment in detail on your program will give you a hint. If you want ...
cgi/perl1/8/2006
  Q: www.123greetings.com provides code like this to their associates for each category- <a ...
  A: Abhirup, I'm not sure what you are asking. Do you want to way for someone to click ...
MS-Access, dates, remote access1/6/2006
  Q: I tried converting it to string data type and it worked. Does this problem exist for other DBMS's ...
  A: I haven't used ODBC for quite a while. Suggest you look on CPAN for the documentation for both DBI ...
MS-Access, dates1/6/2006
  Q: I have been using perl to access tables in MS-Access.I am using Active Perl 5.6.1,Access 2000. ...
  A: Sridhar, I found something on Microsoft's Knowledgebase at http://tinyurl.com/8vvys dealing with ...
Multiple sessions12/20/2005
  Q: Is it possible to test the locking table in the database using multiple sessions. For example, if i ...
  A: Latha, You could have another program which you fork to that connects to the DB and attempts a test ...
Problem with requesting a binary file with activeperl in windows12/19/2005
  Q: my url is a jpg file. But I don't know how to specify the MIME type since I am realy new to per and ...
  A: I'm surprised that isn't working. Are you completely sure this is what's happening? I would think ...
Problem with requesting a binary file with activeperl in windows12/18/2005
  Q: I use the following lines to request a binary file in a website my $ua = new ...
  A: Harry, Have you tried to make sure that the mime type of the $url indicates a binary rather than ...
IE: saving the contants of a cgi page that has been posted form data12/12/2005
  Q: Marty, I assume you mean the url, the code itself is large but it seems to paste into here ok, its ...
  A: I get the same thing. Using Firefox's html tidy extension I see there are validation warning's on ...
CGI.pm script return username and bgcolor12/12/2005
  Q: I am pretty new to Perl so please bear with me. I am using Perl on win32 winxp with Perl active 5.8. ...
  A: Indi, Start with a simple hello world application. Then learn to use the get and post methods. I've ...
IE: saving the contants of a cgi page that has been posted form data12/11/2005
  Q: First of all, thanks for answering a previous question of mine regarding templating, your resolution ...
  A: Pj, If you don't mind making the problem page accessible to me with my browser I'm using IE 6.0, ...
sort by month and date12/11/2005
  Q: I have folder with many xml files and I want to open the folder, read the files and disply as below: ...
  A: Naren, Start by reading the files in a loop. How big are the files? You might be able to read the ...
Calling cgi scripts12/11/2005
  Q: www.kerriskandies.net Unix server, perl 5.0+, no cgi-bin directory needed, but I am having trouble ...
  A: Frank, I'm a PC user so not familiar with the OSX terminal window. However if you have a way to ...
Calling cgi scripts12/10/2005
  Q: www.kerriskandies.net Unix server, perl 5.0+, no cgi-bin directory needed, but I am having trouble ...
  A: Frank, This is your server? In that case you'll have an easier time than most. Check the server ...
OS X RT install - perl dependencies using CPAN12/7/2005
  Q: I am trying to install RT (by bestpractical) on OS X 10.4 Server. I have all the latest updates ...
  A: Adam, First I am not a MAC person so this might not be a good question for me. OTOH I noticed the ...
Perl/CGI script won't work..12/7/2005
  Q: ) I've just made this perl/CGI script which is supposed to get quotes from a .txt file, and print a ...
  A: Jon, The most common reasons this happens are: - you ftp'd the file from your workstation to the ...
redirecting post data to another cgi page11/29/2005
  Q: My environment is perl5.8.7, winXP SP2. I have been battling with this for nearly a day now and ...
  A: PJ, I'm not sure why this can't be done in one program. It may be that preparing an HTML template ...
Perl programming.11/29/2005
  Q: I am a learning user, (I know enought just to be dangerous). I am the webmaster of: ...
  A: Adele, Have you tried changing the form tag to post to the script? That might be all it needs. ...
comparing two files11/26/2005
  Q: I want to write a perl script that will compare two files, both of them containing a set of account ...
  A: Sandy, I would approach this by reading the account #'s from file 1 into a hash. Then you could ...
Opem HTML page password protested.11/24/2005
  Q: I'd like to write PERL script to open password protected HTML page. I have a Java code for the ...
  A: Moisey, How to approach this depends on the method of password protection. Are you using an HTML ...
running perl script over all files in a directory11/24/2005
  Q: I am completely new to perl.. and I wanted to modify one code so that it runs over all the files in ...
  A: Tarun, I suggest you loop through the directory and filter out those file names meeting your ...
Transform c:/windows/ to c:\windows\11/20/2005
  Q: I am a newer, i have a very simple question. How can i transform c:/windows/ to c:\windows\ Thank ...
  A: Eric, Can you please be very specific about this? I really don't understand the question at all. A ...
Indemnified Perl11/15/2005
  Q: My company management has a policy against offering software to customers that is not indemnified ...
  A: Chaz, Not being a lawyer I must admit to not knowing what any of this means. However I do know that ...
spiders and cgi websites11/15/2005
  Q: I have a cgi(perl) dynamic e-commerce website(Perl 5.8.3 with Mysql DB).We sell gift items. I was ...
  A: Gene, You have become aware of a real problem with using one script based url for many pages of a ...
mail goes nowhere11/10/2005
  Q: 1) Windows 2003 webserver using iis6.0 2) Users fill out form, submit and information is sent to an ...
  A: Jim, I would try disabling the firewall for a few seconds when doing a submission just to be sure ...
Problem using Http::Request::Form11/9/2005
  Q: Marty Thanks for replying to the question asked by me (given below). My replies for ur questions ...
  A: Your error: Can't locate HTTP/Request/Form.pm in @INC means that the Perl package hasn't been ...
Perl11/9/2005
  Q: Why do Perl files have a 1 at the end? For example you may have a file like this: sub somename { ...
  A: Sachin, This is done when the code is being read into the running script - for example Perl ...
Problem using Http::Request::Form11/9/2005
  Q: I am using the perl script but at the time of calling of this script it gives error at ...
  A: Varun, Could you please tell me what the error is? If you can tell me what shows up on the server ...
Cgi script11/8/2005
  Q: This is going to seem like a really silly question - where do I find the error log?We recently ...
  A: Depends on what web server you're using, and where the system administrator put it. Also how you get ...
Cgi script11/8/2005
  Q: We recently switched servers. I have some of the old cgi scripts running perfectly on the new server ...
  A: Diana, Suggest looking at the server's error log at the time of the error. Hopefully there will be ...
Splicing11/3/2005
  Q: I have added "action" to the array below. Is there a way to have the splice command pick up the ...
  A: Mayer, Heh, I used to do mainframe work from '80 till '98 when retrained as a web developer. Worked ...
web crawler for perl11/2/2005
  Q: Where can I get a spider built in perl
  A: Haq, I write software like this as a professional. Contact me offlist through my website's contact ...
Splicing11/2/2005
  Q: I have added "action" to the array below. Is there a way to have the splice command pick up the ...
  A: Mayer, I haven't read all your code. From what I see and the question would take a different ...
Major Problem with the Virgin post form CGI10/31/2005
  Q: I've typed in my form exactly as Virgin says ...
  A: Ian, Since the program runs to completion there is probably a problem with sending an email. Can ...
data showing on perl10/29/2005
  Q: Hallo Marty, I came agian with new subject, actually I have the following problem now. I got the ...
  A: Maher, The code you've written will not work. If you're wanting to do a header redirect then ...
Guestbook script - thank you email empty10/25/2005
  Q: I have installed the bignosebird guestbook script. The guestbook works great. The only problem I ...
  A: Nancy, Suggest changing your setup_thankyounote sub to read as follows: sub setup_thankyounote { ...
Alrighty. I simply that I...10/25/2005
  Q: Alrighty. I simply that I have a cgi script that does something useful and it allows the creation ...
  A: Corbin, I would not approach it this way, unless it is a robust enough script that it is on a par ...
The typical use of providing...10/25/2005
  Q: The typical use of providing user permissions while running a cgi is to use suexec or cgiwrap. Both ...
  A: Corbin, I am curious why you would need such a thing. It seems like a dangerous bit of software to ...
Perl using HTML variables10/24/2005
  Q: I'm just stucking again. I have a HTML page contain username and password as an input : *********** ...
  A: Maher, Read up a little bit on using CGI.pm which is what you look to be trying to do, only there ...
email validation program code10/21/2005
  Q: im working on a email validation program in perl. It takes input from the user and outputs whether ...
  A: Chinna, Suggest you google on this and see what comes up. Using a phrase such as valid email perl ...
Perl Script to automate a download of a file10/20/2005
  Q: Marty - I have an issue - there is a server that I need to log in to, and navigate through to ...
  A: Brian, You can use Perl's LWP package. use LWP::Simple(); my $url = ...
Frames10/18/2005
  Q: you are right, I would like to explain more: if I have the following HTML code <HTML><head><body> ...
  A: Maher, First I would change the HTML coding by removing the action attribute from the submit button ...
Help! Searching for some ideas for my final project...10/16/2005
  Q: This is the assigned final project for my system programming course... Create an integrated system ...
  A: Manar, My reading is that your Professor is asking for two things: 1) a complicated enough system ...
cgi script for guestbooks10/14/2005
  Q: I got a script from a site, followed all of the directions, except one. Chmode. It tells me to ...
  A: Josh, You can change the permissions, called chmod, using an ftp program. Usually this is done by ...
Passing parameter and genertae HTML10/14/2005
  Q: sorry but I did not get you exactly , what should I do with a formula , I'm looking just for a ...
  A: I suggest you start with a Perl hello world script. Then you can add to that script the following ...
Passing parameter and genertae HTML10/13/2005
  Q: Hallo, I need to pass parameters from HTML page (for exa. test.html) into perl scripts and this ...
  A: Maher, Look at how a simple formmail works. I offer a free one from my website - link below. What ...
Localhost CGI Script10/11/2005
  Q: I know this is probably a very easy question, but I am having trouble. Can I run a .pl or .cgi ...
  A: Slater, You can run a Perl script on your pc without a web server running, but that would be a ...
Check file permissions in a Perl script10/10/2005
  Q: Is there any method by which I can check file permissions in a Perl script? As of now, I'm doing ...
  A: Kotwal, I don't knew another way to do this. At least with ls -l you can parse for the permissions ...
refresh script? random image rotation10/9/2005
  Q: okay, so i got this piece of script from a friend years ago, it simply put makes a random image ...
  A: Mike, This is really a web page, i.e. HTML question rather than a programming issue. What deserves ...
connecting VBScript & Perl9/30/2005
  Q: I want to be able to get a user to input a decimal number into a VBScript input box, pass the number ...
  A: Judy, Call the Perl script with value as a parameter. It will come into the Perl script as the ...
Perl anchor name9/28/2005
  Q: I am working on a framed site, with a menu and content frames. When a menu item is clicked on I ...
  A: Robert, Could you please send me a link to the site and specifically point me towards the problems ...
regular expression help please!9/27/2005
  Q: I'm reading from a text file contains the following lines: RuleName is ma1231: RuleName is ma1231: ...
  A: Mazen, First I'd split the input $text into separate lines: my @lines = split $text,/\n/; Then ...
perl function link9/26/2005
  Q: I am adapting a perl script from another machine and trying to get it to work. I am familair with ...
  A: Chuck, Try looking at the value of $! which is the error code. Here's what I did on the shell: $ ...
how to run a shell command in perl with file input.9/23/2005
  Q: I need to run this online commmand in perl program: ldapmodify <myfile If I run it in ...
  A: Marvin, I assume you've checked and your syntax is fine perl -wc myprog.pl so you are quite sure ...
Reading MetaTags9/22/2005
  Q: How to read metatags without any perl module?
  A: Adrian, Why not just use your browser's "view source" and then look at what is contained in the ...
help with cgi mail script9/21/2005
  Q: ok, I have a script, the html is written and now I have trouble making it work after 24 hours with ...
  A: Patrick, There are two links at the bottom of this email. One is to a web based formmail installer ...
Follow-up, Lwp::UserAgent9/19/2005
  Q: I tried the following, ****************************************** use strict; use LWP; my $browser ...
  A: Grek, Study some of the examples in The LWP Cookbook ...
Perl CGI9/16/2005
  Q: I'm currently involved with the retrieval of information from a web site. My problem is as follows: ...
  A: Grek, Sounds like an ideal application for Perl's LWP::UserAgent package. ...
loading html templates from a perl script9/14/2005
  Q: Basically when I load an html template from a perl script my css link fails. See script snippet ...
  A: Peter, It is likely no more than a path issue, nothing to do with your Perl which if creating a ...
loading html templates from a perl script9/14/2005
  Q: Basically when I load an html template from a perl script my css link fails. See script snippet ...
  A: Peter, If I had the URL available it would be easier to find the problem. My educated guess is that ...
Email9/13/2005
  Q: I downloaded a pre-made CGI guestbook script, and just personalized it. It has an autoresponder ...
  A: Jason, Could you please put the entire script on a page of your site? If it's called script.cgi, ...
Downloading databases from remote servers9/11/2005
  Q: Perl 5.8.6.811 OS: Windows XP Hi! I'm just a beginner in Perl. I'm writing a script using the ...
  A: Javan, You can get a good explanation of Net::FTP from CPAN at ...
Membership Management9/7/2005
  Q: I need a member management script similar to Pitbull Pro: http://pitbullpro.com/ but with some ...
  A: Keely, Have you considered using Drupal? You can do the stuff you need from the administrator's ...
Loading a page with CGI9/6/2005
  Q: I actually have two questions. First I am using SSI's thoughout my website. I have two different ...
  A: Kevin, For your first question you will need a way to arrange URL's to navigate the site. Have you ...
Server Side Includes8/27/2005
  Q: I am trying to design a website with server side includes. If it would make it easy the web address ...
  A: Kevin, First I apologize because I'm on vacation but forgot to sign out of the allexperts site ...
ARGV8/25/2005
  Q: I have the hardest time grasping ARGV. I'm a beginner perl programming, not much experience ...
  A: John, Could you please write back with a complete example of what you are having trouble with? ...
passing variables8/24/2005
  Q: Followup To Question - The site is not on line yet but is still being developed. As the sites ...
  A: Rip, Writing Perl and writing a CGI are actually two different things though they can, and in your ...
passing variables8/22/2005
  Q: The site is not on line yet but is still being developed. As the sites opening page has about 10 ...
  A: Rip, The opinions of other programming may vary but I am going to tell you mine. It doesn't matter ...
passing variables8/22/2005
  Q: The site is not on line yet but is still being developed. As the sites opening page has about 10 ...
  A: Rip, Are you looking for a free program or content management system to do this? Or are you ...
CGI Counter8/15/2005
  Q: I want to add a counter to a web page that I'm designing. The page will also consist of Java ...
  A: Kevin, You can get a free counter if you look around on the web. This can either be a CGI or ASP/VB ...
File download with different name8/11/2005
  Q: I need to copy a binary file from another website to my computer. In between I want my script to ...
  A: Nikhil, You will probably find an easier way to do this by using Perl's NET::FTP package. It is ...
utf8 to hexadecimal8/10/2005
  Q: I'm a Perl newbie. I'm using perl 5.8.0. I have a file that contains unicode characters (utf8). I ...
  A: Ahmad, Suggest you start by looking at this extensive write up on this subject here ...
CGI/Perl scripting8/7/2005
  Q: I have a guestbook script that refuses to write on the html page. It does most everything else ...
  A: Clarence, First, the link on your homepage seems to not work for me, so I changed it by hand to ...
cgi webform8/2/2005
  Q: The page and script are at www.advprojects.net/temp. The page doesn’t look right because it’s ...
  A: Tim, I just tried submitting from http://www.advprojects.net/temp/intranetfeedback.htm and got the ...
cgi webform8/2/2005
  Q: i think that may have fixed the problem. Now just a quick question, can you point me in a direction ...
  A: Tim, Javascript is a programming language which is embedded in a webpage's HTML. This allows it to ...
cgi webform8/1/2005
  Q: I have a CGI webform running on a netware server. When Firefox users submit stuff it works every ...
  A: Tim, It's most likely something in the form rather than the script. If the form uses Javascript ...
Regular Expression8/1/2005
  Q: Please tell me abt the regular expression to replace all the parantheses and the characters in ...
  A: Aseem, I think the only problem here is that you are not using the literal parenthesis. IOW you use ...
BIRDCAST problems7/29/2005
  Q: Followup To Question - Hi Marty, I am having problems with bignosebirds free tell a friend script ...
  A: No I double checked, didn't seem to get it at my email but did at the 'send to' email. And I didn't ...
BIRDCAST problems7/29/2005
  Q: I am having problems with bignosebirds free tell a friend script birdcast. See ...
  A: Luke, I went to http://www.thespecialtyrange.com.au/products/SRANGEweb/test.htm and then clicked on ...
perl script that can write to text file7/27/2005
  Q: I have 4 check boxes let say 1,2,3,4. What i want is that when i check let say box 1 and 4 and ...
  A: There are two parts to this: (1) collect the input data use CGI(); my $form = new CGI(); my %Data; ...
Perl context7/27/2005
  Q: I can't find the answer in the Programming Perl book: I need to write a function that knows whether ...
  A: David, Strange as it may seem Perl doesn't make that distinction. For example if you say my $num = ...
Perl script...7/25/2005
  Q: Marty, I currently operate a website hosted by Tripod, signed up for the "Plus" plan. They do not ...
  A: Jonathan, If you are looking for a product which you can pay for that's one thing. If you want to ...
Quick question regarding file size limit….7/25/2005
  Q: Is there any way of increasing user's /home directory certain size? I am using Linux to do some big ...
  A: Mazen, There is no set size for directories that is under your control. There may be a disk space ...
Using ssh within perl7/22/2005
  Q: I have a perl script which does an ssh to another system for an ls of a directory. The command used ...
  A: Lucy, Can you tail the error log and see if anything helpful is showing up there? These kinds of ...
File Downloading7/21/2005
  Q: My question is how to perform a multi-file downloads using a single PERL/CGI program. I use a form ...
  A: Glenn, This is something I haven't done myself, but you could start by looking at a relevant RFC ...
subroutine Question7/20/2005
  Q: but im still having some problems..what i need to do is to write a code that will have two ...
  A: JC, For starters can you check for errors on the shell? perl -wc mypgm.pl and let me know the ...
subroutine Question7/19/2005
  Q: i have this code: use strict; use warnings; if ($ARGV[0] eq "add") { $rtn = ...
  A: JC, By saying "use strict;" you must declare your variables. Change the line where you first coded ...
Setting Up Local IIS Server7/8/2005
  Q: Marty: This is a very basic question. I need to set up a local IIS server to test some sample ...
  A: Nick, As far as I know, IIS is a for-fee product. You may be able to get a free evaluation version, ...
Perl script text searching program7/1/2005
  Q: I am currently trying to create a perl script that takes sql statement that is stored within text ...
  A: MelaOS, I think if you are looking for exact matches then the easiest way is to use these stmts, ...
embedded perl? Is there really such a thing?6/28/2005
  Q: Marty: Okay, I was going to do those things and get some expert input but I'm so danged dumb that I ...
  A: Ronni, Suggest you look at http://perl.apache.org/ and see if you've actually installed mod_perl. ...
Text and CGI6/28/2005
  Q: What kind of script would I use to read the text file?I know you all are extremely busy but I am ...
  A: Jason, With programs the choice is to either find something free which is already written, and ...
print MAIL command in .pl script6/27/2005
  Q: I have a form which i would like to have submitted to two addresses. currently, it is being sent to ...
  A: Josh, Your code looks right, not sure why it's not working. Have you tried printing the email first ...
Text and CGI6/27/2005
  Q: I know you all are extremely busy but I am trying to figure out how to do something and I can't ...
  A: Jason, I suggest you take a script to create the links from the file and run it every minute using ...
Web form - format controll and security6/27/2005
  Q: It would really be great if you could help me here as I'm totally stuck. It may also be worth ...
  A: Aitch, Most of what you're asking requires that the script be modified, not the form. It is ...
calling one perl program from within another6/27/2005
  Q: I am currently designing a program which need to call another perl script with a command line ...
  A: Ian, You could pipe to the other program, but then it will run asynchronously with respect to the ...
Perl program in UNIX to read csv and run SQL to update Oracle DB6/27/2005
  Q: I would like to know how to use Perl to read CSV file and update Oracle DB with SQL statement I ...
  A: Thomas, Suggest you start by reading the article on perl.com which goes into the basics of writing ...
embedded perl? Is there really such a thing?6/21/2005
  Q: I'm hoping to update some fields on my page using the "onchange" event but hoped to use perl on the ...
  A: Ronni, You can't get instant response on a webpage when you rely on the server. And Perl must run ...
Perl amateur wondering what this means...6/21/2005
  Q: I'm tearing through a Perl script, but I have no idea what these three lines of code mean: $db =~ ...
  A: Matt, First some things common to all these expressions: $db =~ means apply the regular expression ...
login script to check between a range of #'s6/20/2005
  Q: Have a simple login screen on a web page. The is one input area for just a 6 digit number (which ...
  A: Derek, I suggest you look on sourceforge.net for free password scripts. Also be sure to check what ...
Perl CGI .htaccess logout problem6/15/2005
  Q: I had a program writtem some time ago (2001) that when a user was in my protected area, ...
  A: Mike, I don't follow exactly what is happening when this works. Sounds like a more sophisticated ...
DBD/DBI installation6/13/2005
  Q: I have a problem installing DBD and DBI on my windows. I keep getting the error: Cant locate ...
  A: Pieter, I have a fairly limited knowledge at debugging these problems. Have used cpan from the unix ...
resolving 500 error on newly installed script6/12/2005
  Q: I have tried running under a permission setting of 777. The complete error message in the log file ...
  A: Rick, I experienced the same problem on my web browser and corrected it by retyping the first two ...
GetOptions6/11/2005
  Q: I'm working with Perl program with parsing parameters and I'm using getoption module but the main ...
  A: Memo, The major documentation can be found on CPAN at this page: ...
resolving 500 error on newly installed script6/11/2005
  Q: I have been trying to get a newsletter subscription program running. I have tried two different ...
  A: Rick, The msg you're getting just indicates that the script never output anything suitable for a ...
perl cgi script6/6/2005
  Q: Aloha, I am developing a script that will be run once a day. The script will check dates of ...
  A: Joseph, Whether you use a program or script may not be real important. If you're running Perl on ...
perl cgi script6/3/2005
  Q: Aloha, I am developing a script that will be run once a day. The script will check dates of ...
  A: Joseph, Greetings from Woodstock, NY. Hawaii's a great place, and I can guarantee you that there'll ...
Screen scraping using PERL6/1/2005
  Q: I have done programming in dot net until now and suddenly I am told to program a module for scraping ...
  A: Srirang, It sounds like you have the basic knowledge to get started. I suggest you begin with very ...
sorting array of array5/31/2005
  Q: Can you please tell me how to sort an array of arrays? The code below is just not working: sub ...
  A: Vang, It's difficult for me to understand your code because since it isn't working I'm not sure ...
Perl/CGI Script for a Return Email message5/31/2005
  Q: I used to be very clever, but not at present as I am too busy with other things rather than ...
  A: Thon, In my opinion the best way to validate an email address is on the server. Here's a Perl ...
Perl/CGI Script for a Return Email message5/31/2005
  Q: Yes I do have a java script to verify the valid email address from users. I also created a thank ...
  A: Thon, As a volunteer I do not write code for people; primarily because it would put in a position ...
Perl/CGI Script for a Return Email message5/31/2005
  Q: I am currently designed a website which contain form for accepting data from users. I am not a pure ...
  A: Thon, My advice is to take this step carefully. In order to send an email to the person submitting ...
Perl + Date manipulation5/31/2005
  Q: need your advice on manipulating date. Is there any quick way to find out what is the date before a ...
  A: Mark, I think this can be best done using Perl's Date::Manip package. Let me know if you've got ...
executing a Perl Prog with out SSI exec5/29/2005
  Q: I would like to execute a Perl Script in order to display a random quote, but I don't believe my ...
  A: Nate, SSI is the easiest and most sensible way to do this. You say you don't believe it's ...
perl and javascript5/28/2005
  Q: I have a web page that's using the <script> tag to call my perl cgi script so that I can have ...
  A: Rich, That's not the way to run a Perl script on a webpage. The HTML script tag is for running a ...
EOF unkown error over right squigly braket5/26/2005
  Q: Over the last segment of subroutines in my program i recieve this error message: "Missing right ...
  A: Marty, I agree that the code you've sent for this routine does look good. However an error msg like ...
FormMail and return mail5/26/2005
  Q: How do I make NMS FormMail Version 3.14c1 send the submitted information to the person that submits ...
  A: Mike, First to put this in context as I see it, this is a manual process with a small automated ...
problem in sending mail using perl5/26/2005
  Q: Could not able to send mail from the emailid retreived from table recipientstemp. The table ...
  A: I'm happy to assist you in debugging your code. Please realize that debugging is a lengthy detailed ...
FormMail and return mail5/25/2005
  Q: How do I make NMS FormMail Version 3.14c1 send the submitted information to the person that submits ...
  A: Mike, Although I am not deeply familiar with that particular formmailer, I am familiar with ...
perl errors5/24/2005
  Q: use strict; use vars qw/$original_scale $original_degree $converted_scale $converted_degree $repeat ...
  A: Daniel, You are missing three semicolons on lines 21, 37, & 40 as well as a final closing bracket ...
what does this mean???5/24/2005
  Q: what does this mean? !/usr/bin/perl -wT
  A: Mike, First, it looks like you've got a minor error there. This should be the first line of a Perl ...
CGI Script5/24/2005
  Q: I wanted to add a web sites comments cgi script to my web site. I just wanted to add a start page ...
  A: Joe, I suggest for free software beginning your search on sourceforge.net. There are many free ...
sort files by portion of filename5/23/2005
  Q: Before I start; I don't have shell access. my filenames are formatted as follows: - ...
  A: Ambrose, What I can do is provide some ideas along with code fragments that may be helpful. My ...
dates...5/12/2005
  Q: I have a perl script dealing with two dates inside it and in one step I need to subtract them to ...
  A: Amer, Stick with the time function because that is in seconds already. Marty Landman, Face 2 ...
how to subtract two arrays5/12/2005
  Q: I have two arrays as following: @LM_values=('Successful','Bad','Fett','Sweet'); ...
  A: Memo, Try creating a new array of only those values in array1 which are not in array2. Marty ...
1. Perl 5.8.5 on Solaris ? 2....5/9/2005
  Q: 1. Perl 5.8.5 on Solaris ? 2. I have a perl script that reads data from a text file and inserts it ...
  A: Helena, You can find the version of Perl running on a machine by typing on the shell perl -v I ...
help5/9/2005
  Q: am a completely newbie doing my first website, in my site I would like to have clients make an ...
  A: Lawrence, What you need is a formmailer. That is a script which is 'called' by your webpage form. ...
perl programming5/7/2005
  Q: 19790215142060 and I need to convert this number to date format as following: YYYYMMDDHH24MISS Then ...
  A: Amr, There's lots of functions available in Perl for manipulating date and time info. Here are some ...
rounding in perl5/6/2005
  Q: wanting now to round an integer to the nearest thousand. for example, want to round 4,465 down to ...
  A: John, From http://www.perl.com/doc/FAQs/FAQ/oldfaq-html/Q4.13.html - "Does perl have a round ...
Help5/5/2005
  Q: I'm fairly new to Perl I am confused ? I will try to explain it. What i am trying to do is we have ...
  A: Fareen, You say this is sensitive information. Because of that I cannot offer you advice for fear ...
populating dropdown lists5/5/2005
  Q: http://www.dccook.co.uk http://www.virgincars.co.uk - uses iframes ...
  A: John, All three of these sites do refreshes after each dropdown item is chosen. However they are ...
populating dropdown lists5/5/2005
  Q: marty trying to stop the page from being reloaded unneccesarily. if you goto ...
  A: John, I've looked at a few car & car parts sites myself and they all seem to reload. I think the ...
Searching Multiple byte characters....5/4/2005
  Q: I want to find characters like â–ˆ, 《 etc. Few more are included here within the <utf> tag. ...
  A: Pradeep, If your goal is to find characters in a string that are always within the utf tag then I'd ...
populating dropdown lists5/4/2005
  Q: trying to make a quicksearch form which can query a database of cars and bring back info on the ...
  A: John, Why not force the visitor to click a submit button? Then populate everything according to the ...
Substitution5/4/2005
  Q: with all my thanks in advance i need to ask the following: In the first hand, I have an ...
  A: Memo, I would approach this by - making @kpi_values into a hash my %kpi_values,$kpi_count; ...
Searching Multiple byte characters....5/4/2005
  Q: I need to find the multiple byte characters(UTF-8 symbols). They are present in a file and i need to ...
  A: Pradeep, Could you please write back with an example of a little data and what the output should ...
Script updating5/3/2005
  Q: Okay, I have a sign up page, the page email the user to check there email address to see if it is ...
  A: Matt, Yes, at least on a Unix server. Unix has a job scheduler called cron, and with a shell ...
Problem with CGI5/3/2005
  Q: My survery is not accounting for all the age groups, only "Under 18," "18-24" and the "no answer" ...
  A: Krystal, I suggest you start by adding the new answers to the form. Then look in the script for ...
read to variable5/3/2005
  Q: I have the following kkkk.dat file with one word in each line: PTPSTATIN GTPSTATINBYTES MNHSTATOUT ...
  A: Memo, Find a way to load the words into an array, such as @words = split /\n/ Then you can put ...
birdcast.cgi refer a friend script4/25/2005
  Q: I am trying to run birdcast.cgi (script available on bignosebird.com)from my web site:slimmints.com ...
  A: Mike, First I'd recommend you check the server error log when submitting the form to see if ...
SQL query4/25/2005
  Q: need to do some sql query from my Perl script and don't know exactly how to write (select clause) ...
  A: Maz, DBI is the Perl package used to write database applications in Perl ...
CGi Scripting4/24/2005
  Q: I just installed a cgi script on my server (ipowerweb). I try to run it(Its a guestbook). Everything ...
  A: Tim, These sorts of problems can be tough without additional information. Is it possible for you to ...
perl script installation4/24/2005
  Q: I am new to perl cgi scripts. I like to know whether I can install perl cgi script for my linux ...
  A: John, First, please find out from your hosting provider if they support Perl & CGI. If yes, then ...
Using MS Access with PHP4/22/2005
  Q: How can I connect PHP with MS Access? Can I use PHP with PWS?
  A: I have not done either of these myself but here are some links that may be helpful: ...
survey.cgi script configuration4/22/2005
  Q: I am having trouble configuring the survey.cgi script. The url of the survey is at ...
  A: Lincoln, I can suggest that you read the documentation and experiment a bit with the settings. ...
CGI Script and possibly HTML4/22/2005
  Q: I have the CGI script bnbbook.cgi from bignosebird.com. If i run the cgi from the server it says ...
  A: Bryan, Are you sure the correct path is not /var/www/html/gbook.com instead of ...
mysql4/21/2005
  Q: how to connect my sql through perl and insert the data in flat file system, want a perl script to ...
  A: Raju, Try starting out by reading this article ...
How do I output TSM error information into an array?4/20/2005
  Q: Marty, Instead of writing to a file I just wanted to write to an array. Do you how I can accomplish ...
  A: Denesa, You need a way to read the TSM data which is why I suggested copying it to a file first. ...
Localhost Server4/10/2005
  Q: I want to install Localhost Server on my computer to test perl and php files. Can you recommend a ...
  A: Thomas, I do the same thing - develop web applications on a server locally and then port the ...
executable perl file4/10/2005
  Q: I uploaded a perl program. It doesn't run, it is just a text file. How to make it executable? Here ...
  A: Thomas, Perl is normally run as a script rather than executable. The difference is that an ...
File Attachment Upload/Submit4/9/2005
  Q: Just a quick question. Sorry can't provide URL at this time. I am trying to submit file attachments ...
  A: Tom, Sorry I don't know where to get an attachment processing formmail. I do offer an upgrade to my ...
How to write multiple delete using checkbox in perl4/6/2005
  Q: I'm new to perl and am now facing problem of how to do the multiple delete records using checkbox in ...
  A: Chin, It may be that the checkboxes in the HTML form could be coded in a way that is more helpful ...
I have an form that I need...4/5/2005
  Q: I have an form that I need to email to my email addy, on Windows 2003 server. Front Page Extension ...
  A: Dave, If you can write back with some details will do my best - what is the url of the form page ...
ipaid4clicks installation4/2/2005
  Q: first thank you for your time. I have installed the above mentioned script. My problem i believe ...
  A: Greg, The easiest way to approach a suspected permissions problem is to set maximum permissions for ...
Problem with CGI script from bignosebird.com3/31/2005
  Q: We recently switched to a new ISP and now every time we attempt to run our CGI script (which is not ...
  A: Derek, *** I am not sure that I can repeat the problem from the webpage you gave. Can you please ...
about starting perl3/29/2005
  Q: everything i run my perl program, it takes about 3 seconds to get start. is it normal? is there ...
  A: Roose, Yes this is normal, the same thing happens on my installations. Perl will by default start ...
calling Perl scripts3/29/2005
  Q: How can I call a Perl Script from a PL/SQL block?
  A: Anitha, I don't know that you can, it may be that you can only do things the other way meaning call ...
mouse over menu cgi script3/26/2005
  Q: Marty, Sounds good to me. Where can I get mouse-over Javascript? DennisWhere can I find a ...
  A: Dennis, Start here http://javascript.geniusbug.com/ and use google to find more if needed. ...
mouse over menu cgi script3/26/2005
  Q: Where can I find a horizantal mouse over menu to start playing with? URL is: ...
  A: Dennis, What you are looking for is I think going to be a Javascript rather than a CGI. Marty ...
HTML form script3/21/2005
  Q: I downloaded the following script: http://www.bignosebird.com/carchive/bnbform.shtml I read the ...
  A: Renee, You're kind of lucky to at least be getting the email from the form, but I understand how ...
BNB CGI Script3/20/2005
  Q: I installed the BNB CGI script located here http://www.bignosebird.com/carchive/bnbform.shtml. The ...
  A: Ken, I don't see the problem - unless you can set it up on your server and then pass me the url to ...
Form processing to HTML email?3/20/2005
  Q: I'm interested in learning how to do the following: process an HTML web form so that the data ...
  A: Aaron, I've got links to two products of mine at bottom which might help give you some ideas. One ...
BNB CGI Script3/19/2005
  Q: I just installed the BNB CGI script and noticed that the autorespond function is not working. Do ...
  A: Ken, Could you please write back with more information? What is the url of the page? What result do ...
What's a token? How do I write a script?3/17/2005
  Q: How do I achieve the below requirements on my web site? I only 'design' pages and know nothing ...
  A: Carol, I think you may consider hiring a consultant programmer (like me for instance). Think of how ...
extracting data from a word document3/17/2005
  Q: I am working on a project to populate a database. I want to be able to extract the cells of a table ...
  A: Serine, Check out the Perl packages on cpan.org. I know there are ways to read word docs and excel ...
Search and Replace program3/15/2005
  Q: I am currently working on a program that uses the 's' operator to substitute words within some ...
  A: Joe, You can use variables inside regex's, and also print your output to a file, then have a ...
Link Problem3/13/2005
  Q: I am trying to make a link work, when the link is an iframe content. e.g. <div align="right"><a ...
  A: Holly, Although I'm not familiar with iframes I am experienced with site memberships and custom ...
graphics alligning3/11/2005
  Q: I am trying to get graphics on my boyfriends homepage i created for him . I want to allign dollz in ...
  A: Michele, You don't need a script - just use an HTML table. ...
web site reports3/11/2005
  Q: i have recently set up a website selling nursing essays, and on the site we have several files for ...
  A: Jon, You are right that to display the number of downloads will require some programming. Have you ...
Forms3/11/2005
  Q: Followup To Question - Hi I am currently using a cgi script as a form handler to handle data ...
  A: Tim, I just sent you a msg using Mozilla Firefox 1.0 on Windows XP. Also at a glance your form ...
CGI script sends email but won't write to html file3/10/2005
  Q: I am using a guestbook cgi script downloaded from the web (bnbbook.cgi). I've modified it as ...
  A: Doug, From what you describe the next thing I would check is if the script is actually writing to ...
Forms3/10/2005
  Q: I am currently using a cgi script as a form handler to handle data entered on my web sites contact ...
  A: Tim, One option is to try my formmail which can be installed automatically from my website at ...
CGI script sends email but won't write to html file3/9/2005
  Q: I am using a guestbook cgi script downloaded from the web (bnbbook.cgi). I've modified it as ...
  A: Doug, Is it possible that you haven't used the right path to the html file? What error if any do ...
passing info between forms3/9/2005
  Q: I am calling various external subroutines using perl. These subroutines contain forms for collecting ...
  A: Colin, This is the way it works. Think about it, if I enter a close textarea tag and then you ...
passing info between forms3/9/2005
  Q: I am calling various external subroutines using perl. These subroutines contain forms for collecting ...
  A: Colin, Make sure you're setting this as a value e.g. input type="hidden" name="info1" ...
Hi.. cgi postcard system installation problem3/8/2005
  Q: how are you? my name is Rohan, I m trying to install a free postcard system found in bignosebird.com ...
  A: Rohan, Please follow the installation instructions, then write back with the specifics e.g. error ...
Executing a URL from a CGI script3/3/2005
  Q: Firstly the following test perl code does execute ok on the server. #!/usr/local/bin/perl print ...
  A: Peter, If your test script doesn't work there's little point in trying something more complicated. ...
Executing a URL from a CGI script3/3/2005
  Q: Operating System FreeBSD 4.10-SATA-RELEASE perl, v5.8.3 path to Perl /usr/bin/perl path to Perl ...
  A: Peter, There are examples in the LWP cookbook, see if that helps out or else write back. ...
help with script install on website3/3/2005
  Q: I wouldn't dare ask you to help me install a script for free, so I can pay someone a little bit to ...
  A: Katie, Actually I think you're in luck. Just go to my formmail installer page ...
Search and Replace content inside a file3/1/2005
  Q: does this that everytime I want to amend something inside the file, I have to open the file with ...
  A: Mark, You've basically got it, although if you were processing the file line by line then you would ...
Search and Replace content inside a file2/28/2005
  Q: I'd like to find the occurance of an Index number within a flat file. Once this is found, I'd like ...
  A: Mark, The '>>' is used to append to a file, which means that every print adds the data to the end ...
submit button2/26/2005
  Q: can you give me the code for this please right now no one can fill out a apppilcation for adoption ...
  A: Kim, It's your choice how to handle it. Go to http://face2interface.com/Products/Formal.shtml a ...
submit button2/25/2005
  Q: can you give me the code for this please right now no one can fill out a apppilcation for adoption ...
  A: Kim, Hope I can help, we're grateful to the animal adoption folks who got us our dog Zorro, turning ...
PERL POST request - issues with IE2/25/2005
  Q: When using a POST request to retrieve a document using PERL, IE browsers throw an error "Could not ...
  A: Gomathi, This is not a Perl issue but a browser compatibility issue with the HTML coding being ...
CPU utilization2/25/2005
  Q: But my parser is reading the code line by line, so how it will able to parser a block. Is block will ...
  A: Chatanya, My thought was that by using Perl's 'study' function on a large enough chunk of the file ...
CGI2/23/2005
  Q: How do I run a CGI script on my server? I just can't seem to do it. My server is fully set by by the ...
  A: Bobby, What have you tried and what happens? If you can see what shows up on the server error log ...
Multiple submit on a Cgi Script2/23/2005
  Q: I have been trawling the net to see if there is a solution to this problem, but after your very ...
  A: Duncan, Usually this is done by having a hidden form field in the form to control the action which ...
CPU utilization2/23/2005
  Q: I have done parsing of log file by Perl. Now it is utilizing more CPU(almost 100%). So i have to ...
  A: Chatanya, You might try something like this: my $log = '/var/log/access_log'; my($len,$bfr) = ...
Updating a CGI Script2/22/2005
  Q: I have created a script which is able to ping a range of ip addresses on submit, taking the start ...
  A: Duncan, If you code $|=1; this will set Perl's autoflush to on, and every print statement will get ...
Form to text file2/20/2005
  Q: How would I use a cgi script to store a form to a text file on my server?
  A: Tom, This consists of the HTML form page, which posts to a script. The script file, which is a ...
Forms using CGI2/20/2005
  Q: (the url that I'm referring to would be: http://www.tipsy-mcstaggers.com/CUBITT/cub-contact.html ...
  A: Bill, It's easy. If your server supports CGI, Perl, and sendmail or smtp mail through a CGI script ...
duplicate JS onSubmit() in PERL CGI2/17/2005
  Q: Marty, I am programming the cart but can't find anything in the PERL references on how to do it ...
  A: Rockey, If you're coding the cart then you can get some sample email sending code from my free ...
duplicate JS onSubmit() in PERL CGI2/17/2005
  Q: the cart is written in perl, how do I make it submit one form to httP...Paypal and one form to ...
  A: Rockey, What you're describing should be possible to do and requires programming the cart to do ...
duplicate JS onSubmit() in PERL CGI2/17/2005
  Q: I have a shopping cart script that is 3 step: 1) add/edit items 2) enter address - submit button ...
  A: Rockey, This can be done by Perl - I am not a javascript programmer so can only suggest you ...
new to perl2/17/2005
  Q: i am unfamiliar with perl and have script that is not too long but i need to understand the ...
  A: Cliona, To learn a programming language suggest starting with some Perl tutorials. There are quite ...
Perl Script problem.2/17/2005
  Q: Contacted JeanCarl Bisson about my problem two days ago. He asked me for further information by ...
  A: Richard, What happens when you submit the form? What is the output? Does it look appropriate? Does ...
perl cgi - passing variables from 1 cgi to another2/15/2005
  Q: I've got a question on perl cgi. I've got a form (form1.cgi) where the user keys in data to the ...
  A: Mark, There are several ways to pass data from one form to the next. The most common are hidden ...
cgi scripts2/13/2005
  Q: trying to get a form to work to send info back to me via email. Was chuffed to nuts when i got it ...
  A: Pak, I'm having trouble seeing your page on firefox/win xp. Would it be possible for you to write ...
CGI website question2/11/2005
  Q: I would like to create a webpage that will display a list of names and can be modified via the web. ...
  A: Mike, I think you have two options here. You can, since this sounds like a low volume maintenance ...
Password protecting a page2/8/2005
  Q: I would like to know how to use the cgi-bin to control a pasword and login page.I have down loaded a ...
  A: Ed, Most scripts include installation instructions; not knowing your script I can only guess. The ...
CGI scripts and databases2/8/2005
  Q: www.geocities.com/kay_dee03/form.html I am not sure if geocities allows shell access, if there is a ...
  A: Kyle, If you can write back with the info needed to ftp to the site then I'll take care of it ...
CGI scripts and databases2/6/2005
  Q: www.geocities.com/kay_dee03/form.html I am not sure if geocities allows shell access, if there is a ...
  A: Kyle, When I submit your form the data does get put on the email prepared on my computer, so not ...
Download Counter Script2/3/2005
  Q: I've tried so many of these, but cant get them to work properly!! I want a simple script that will ...
  A: Arvind, If you are providing the file for download using a script then a bit of code to update a ...
I need help with _replyTo in my form mail...2/1/2005
  Q: 1) The EXACT version of the program/software/hardware you're using Macromedia Dreamweaver MX 2) ...
  A: Angela, The security risk with an unvalidated email address which is then used to send an email ...
I need help with _replyTo in my form mail...1/31/2005
  Q: 1) The EXACT version of the program/software/hardware you're using Macromedia Dreamweaver MX 2) ...
  A: Angela, It is dangerous to send an email to an unvalidated email address. The reason for this is ...
calling a webpage in perl1/31/2005
  Q: i am writing this code to link to a webpage but i am getting it's eqivalent HTML code .But i want to ...
  A: Barun, It may be that if you run this from a web browser instead of from the command prompt you ...
Stop extra lines from printing1/29/2005
  Q: Cant figure out how to stop extra lines from printing when using the following script. For instance ...
  A: Duane, I worked with a MARC format years ago at the HW Wilson Co, you bring back memories. Sounds ...
How to install PPD's1/28/2005
  Q: I tried install Perl modules but gives the following error. What do i do? Error: no suitable ...
  A: Amit, What OS, which version Perl, and what software are you using to install? Is this a new ...
CGI support1/27/2005
  Q: Im trying to make a website but am having the hardest time figuring out what I need to have to run ...
  A: Adam, If you have a shell account you can type which perl to find out the path to perl. The most ...
read the size of an array after post1/27/2005
  Q: I have an array of text box in one form. example @arr; for($i =0;$i<10;$i++) { print "<input ...
  A: Yes, there is a way to get the size of an array. if @array = (10,11,12,13,14) then $#array will ...
Add redirect to Big nose bird Tell a Friend1/26/2005
  Q: Hey Marty, I would like to add a redirect to the big nose bird tell a friend script. I have the ...
  A: Nathan, You didn't say whether you wanted to make a meta-refresh type redirect, or header redirect. ...
virtualcard cgi script1/26/2005
  Q: http://www.vedadesign.com/card.html according to the host my path to perl and sendmail are correct ...
  A: Sorry, there's no additional information that I can see on the error log. If you can get shell ...
read the size of an array after post1/26/2005
  Q: I have an array of text box in one form. example @arr; for($i =0;$i<10;$i++) { print "<input ...
  A: Shyamal, Is it possible for you to pass the size of the array into the program as a hidden form ...
virtualcard cgi script1/26/2005
  Q: http//www.thebubbadog.com/ecard.html i am trying to configure the script and i get an Internal ...
  A: Aloha Veda, First, when I go to http://www.thebubbadog.com/ecard.html get a 404-page not found ...
running bnbform script1/25/2005
  Q: I am currently using a big nose bird form script on my site and it works perfectly ...
  A: Lisa, Second question first. I don't use layers, use tables instead so don't know how to do this ...
card.cgi1/22/2005
  Q: I have been trying to get the card.cgi to work that BNB offers. I have checked with my web hosting ...
  A: I just filled out the card form on your site. And haven't gotten a card, yet. It may come later, but ...
Form Action1/20/2005
  Q: First I am new to HTML & CGI. My HTML is for internal company use only. I have a form with option ...
  A: Larry, If you read the html as an input file, then replace the portion you wish, and finally print ...
Difference between Hash and Array?1/20/2005
  Q: What are the differences between Arrays and Hashes? Regards, Raj
  A: Raj, A list is the same as an array e.g. @list = ('Raj','Joe','Gary'); A hash is an associative ...
Grab a number from a string1/19/2005
  Q: got a question that need your advice: I am trying to grab a number from a string obtained from a ...
  A: Mark, Try this regex: /Query time: (\d+)/ After running that regular expression the number will ...
WEB-SERVER PLATFORM NOT SURE1/19/2005
  Q: I WANT TO START PROGRAMMING IN CGI. I HAVE WIN-2K SERVER INSTALLED ALONG WITH IIS SERVER. CAN I ...
  A: I run private Apache servers on both Windows and Unix OS' in my own office so am not experienced ...
Installing Guestbook In CGI-Bin1/15/2005
  Q: "I don't see how a file could disappear..." {Sorry, it was a figure of speech. The error message ...
  A: David, The error message you're getting could be caused by a Perl compile time error. I suggest you ...
Installing Guestbook In CGI-Bin1/14/2005
  Q: http://www.collegegrove.org - "shell access?" unknown - Control Panel = CPanel -Arkwebs - Linux ...
  A: David, I don't see how a file could disappear, unless your server was changed. You might check that ...
using CGI form on a website1/14/2005
  Q: Marty, Thank you for your thoughts and your prompt answer. My needs are quite basic but isn't ...
  A: Linux, Unix, FreeBSD, Debian, Knoppix - the list goes on and on. All variations of the same thing, ...
using CGI form on a website1/13/2005
  Q: I used a CGI form when I hosted my website on mindspring. Now I have transferred my web site to Go ...
  A: Arnie, CGI is just one way - the most popular way to run scripts or computer programs for a ...
Pearl, SMTP and bnbform.cgi1/13/2005
  Q: I can not seem to get the email to send from a Windows box. Do you know this script?
  A: Kent, If you go to my website, there's a page that allows you to have my free formmail ...
How do I use perl to compare...1/13/2005
  Q: How do I use perl to compare information in 2 databases and print out the difference.
  A: Gdenis, That's a unique one in my experience. Is this a homework problem, or something that's come ...
Form Processing1/11/2005
  Q: I'm trying to process a html form with a cgi script but I am having a heck of a time to get it to ...
  A: Allan, If you go to my website, there's a page that allows you to have my free formmail ...
script not working1/11/2005
  Q: i want to test the codes and it shows me error when i try it. ...
  A: Mike, When I go to your URL I get a 404-not found error. What is the script for? Marty Landman, ...
use trigger1/10/2005
  Q: how to use trigger in mysql database?Can only a trigger was created adter insert all data into a ...
  A: Cyrene, Mysql is supposed to support triggers beginning with release 5 which is currently available ...
Music on Website1/8/2005
  Q: I am trying to find out which language to use to place music for streaming and downloading into my ...
  A: Murel, My personal preference is Perl and downloading files from web forms is a pretty standard ...
perl+access windows file1/8/2005
  Q: Am running a perl script on a free BSD OS. i want to get a dirctory copied to a free BSD using perl ...
  A: Krishnan, You can do anything in Perl that you can do from the command line, iow from the shell. ...
attach file to bnbform1/6/2005
  Q: I have been using bnbform.cgi quite sucessfully, however I would like to add a new field that will ...
  A: Mario, Adding the file upload field to your form page just put the following: <input name="send5" ...
Can't locate Socket.pm in @INC1/3/2005
  Q: how can I change this from "use Socket;" I'm trying to install my first cgi which is "bnbform.cgi" ...
  A: John, Your best bet is to switch to another script which doesn't use Socket.pm, unless you're going ...
URL is stjamespres.org. I...1/1/2005
  Q: URL is stjamespres.org. I am trying to set up a page wherein Church Members can E-Mail key members ...
  A: Happy New Year Paul. The chmod command can be done with your ftp program. I don't use cuteftp but ...
cgi script problem12/27/2004
  Q: ..one thing though. How do I do this? Are there factory methods for this or is there some common ...
  A: If you're looking for help with a programming project you might want to contact me or others ...
cgi script problem12/27/2004
  Q: I am working with a script that performs a simple search and returns some results to the user (eg - ...
  A: Andrew, You can truncate the response to insert only the needed portion of the path onto the URL. ...
databases12/24/2004
  Q: how can see my query of the database to my form fields. with each field representing the same ...
  A: Usman, Could you please be more detailed? I don't understand the question you're asking. Marty ...
CGI12/23/2004
  Q: I have an ecommerce website where I would like to create my product pages dynamically pulling info ...
  A: Brian, It depends on your hosting and software. If you plan on buying a product or using free ...
Use of bnbfrom.cgi v4.112/23/2004
  Q: Using BNBform v4.1. I have set up a feedback form at http://www.mkcats.org.uk/bnbform.html . It ...
  A: Chris, If you're saying there is a file on the server which tracks page views on your site and ...
Resizing Form12/22/2004
  Q: I am calling one cgi script from another cgi script. It all works fine, but I want the displayed ...
  A: Sekhar, To the best of my knowledge this can only be done using javascript. Marty Landman, Face 2 ...
String character replacement12/21/2004
  Q: I'm reading a text file to create an insert mysql statement and I'm having a bit of a problem.. with ...
  A: Brian, There are a few options on how to handle this. You can use a different quote mark in Perl ...
could not create datafile12/21/2004
  Q: Configuration Error: could not create datafile please check path and permissions! All are 777 and I ...
  A: Helen, Are the directories at least 755 too? It's also possible that the problem is in the path ...
CGI script form mail12/16/2004
  Q: Is the form free or do I pay later? Also why do you need access to my website?www.majestink.com I ...
  A: yes it's 100% free. You must enter your site's website access info for the auto-installer to work, ...
CGI script form mail12/16/2004
  Q: www.majestink.com I have been using Matt's FormMail script V1.91 that was provided to me from my ...
  A: Ebony, Please write back with the url of your formmail webpage so I can have a look. Alternatively ...
cgi script12/15/2004
  Q: what program do i use or how do i remove the returns in an excel file field? for($field) { s/\n/ ...
  A: Marlena, It still sounds to me like you're importing line breaks from the client (browser) which ...
Display logic12/12/2004
  Q: I would like to bold the keyword in the search result.Lets say: the search keywords are "my ...
  A: Cyrene, The simplest way is to put the bold tag around the word e.g. s/$word/<b>$word<\/b>/gi ...
CGI-BIN12/12/2004
  Q: I have a Mediacom account, http://www.mymediacomonline.com and when I try to use a CGI-BIN script it ...
  A: Warner, There are some free hosting providers that do include a cgi-bin in their service. I ...
PERL & AT12/9/2004
  Q: How to write perl with at command ? Send me a web link Thanks
  A: Not sure what you mean. A web search turned up blank for me, could you be more specific please? ...
Image::Magick12/8/2004
  Q: The error premature end of script headers is taken right out of the error log. I use to debug my ...
  A: Marcus, If you have shell access then compile the script e.g. perl -wc ./myscript.cgi to get a ...
302 object moved error12/8/2004
  Q: If I use Get method it gives me the logon screen but with the post method it is giving me this ...
  A: Deepak, I'm not sure about the redirect part. Suggest you verify that your script is sending all ...
Image::Magick12/8/2004
  Q: I didn't know that, however that did not solve the problem, I still get premature end of scripts ...
  A: Marcus, Getting - premature end of script headers - really doesn't say much to explain the problem. ...
Image::Magick12/8/2004
  Q: I have been using Image::Magick in my perl/cgi script for a long time. Now I am about to transfer my ...
  A: Marcus, You tell Perl where to find a module with the use lib stmt, like so: use lib ...
Perl + IE + Cookies Problem12/6/2004
  Q: i'll try that. But i forgot to say that these are Third Party Cookies, CGI.pm works well with that? ...
  A: Angelo, I don't know that CGI.pm cares whether the cookie is from the originating site or not. If ...
web form to web page12/6/2004
  Q: what I am doing is more of an intranet main page is a login with a password that changes frequently ...
  A: Dylan, You might check out my free formmail which can be automatically installed from my website ...
Perl + IE + Cookies Problem12/6/2004
  Q: i'm writing an script that need to register three cookies at the same time from three differents ...
  A: Angelo, Try using CGI.pm to set the cookies and see if that helps. ...
cgi guestbook12/6/2004
  Q: how do I chmod 755 and chmod 644?
  A: Andy, If you are using an FTP program such as cuteftp or filezilla then there is a way to change ...
bnbform.cgi12/2/2004
  Q: I have a question regarding the bnbform.cgi. I am new with it. can you let me know how to get this ...
  A: Adi, You can go to bignosebird.com and download the script then follow the instructions. Or try ...
can't understand this script...can you help me?12/1/2004
  Q: do you think you can help me finding what this perl script does? ...
  A: Pete, LWP is a Perl package to read a webpage. The resulting reply from the site is sent to your ...
PERL & Databases11/29/2004
  Q: My hosting service uses PERL and MySQL databases. What I have is contact info (name, phone, add, ...
  A: Joe, I have to ask why you are looking at a software solution with only 20 users worth of contact ...
How to put video on my website11/28/2004
  Q: Please bare with me. This is new for me. I was hoping that you could give me a little advice on how ...
  A: Tony, If you want to set up streaming video then that requires specialized, and expensive hosting. ...
CGI Setup11/26/2004
  Q: The formpage is www.creativeparty.co.uk/about.html I do not have access to the server logHi I am ...
  A: Chris, You should be able to call tech support and find out what shows up on the error log when the ...
CGI Setup11/26/2004
  Q: I am trying to get the Form implemented into my about us @ www.creativeparty.co.uk so that people ...
  A: Chris, Please write back with specifics of your problem, including - the form page url - error ...
Form Mail11/25/2004
  Q: Hoping you can help re: recipient field I have recently changed all live email address in our ...
  A: Dave, I'm the author of a formmail. And can tell you that it is unsafe to list your email in any ...
mysql temporary tables11/23/2004
  Q: Marty, Of course I agree that this is not related to the temp tables, then! :-) And your ...
  A: Try in the calling code to say my $db = connect(); and have as the last stmt in sub connect $db ...
mysql temporary tables11/23/2004
  Q: I would rather suspect that there is problem with db connection handle passing. When I create this ...
  A: Tomek, I agree that if you can access the table within the sub you create it but not in another sub ...
mysql temporary tables11/23/2004
  Q: I have a problem with mysql temporary tables. I have two sub routines: sub crt_tbl(); and sub ...
  A: Tomek, Are you sure that the problem is with the subroutine? Could it be that the code you use ...
FMAIL.PL11/23/2004
  Q: I'M TRYING TO INSTALL SEVERAL SCRIPTS FOR MAILING FORMS OVER THE WEB SUCH US fmail.pl, etc. and I ...
  A: Yonatan, If you're the system administrator for the server then getting sendmail properly ...
Website payments11/22/2004
  Q: I am writing a website currently in frontpage, and my website will contain product ie: written music ...
  A: Gareth, You're welcome. IOW stands for in other words. Sorry about that. What I'm saying is to be ...
Website payments11/22/2004
  Q: I am writing a website currently in frontpage, and my website will contain product ie: written music ...
  A: Gareth, There are only two ways I know of to do this kind of thing. One is to personally send them ...
Downloading product after paying through paypal11/21/2004
  Q: I am writing a website currently in frontpage, and my website will contain product ie: written music ...
  A: Gareth, There are only two ways I know of to do this kind of thing. One is to personally send them ...
Use of CHOMP in PERL SCRIPT11/18/2004
  Q: I use the following multi-purpose form handling Perl script that creates a server-side data file, ...
  A: Ric, You can convert line breaks into blanks with the following regular expressions: tr/\n/ / ...
I have a form on our web site...11/18/2004
  Q: I have a form on our web site at http://www.dluhr.com/cnqiuzhi1.htm I downloaded the propgram ...
  A: Mike, We all start out as beginners, no worry there. The error message you got is generic and ...
Perl + regex + search same string 2x11/16/2004
  Q: still no luck. Seems like it ca'nt search beyond the 1st line. #!/usr/bin/perl $CDR = ...
  A: Oh, I see the problem Mark. Your regex is looking for 9 consecutive occurances of the string, like ...
Help with CGI11/16/2004
  Q: Its amazing how quickly you come to help:-) I use not the script of the internet provider and put a ...
  A: Sonja, Thanks for your kind words. First, your checkbox info will get sent to you for anything ...
cgi configuration11/15/2004
  Q: Followup To Question -hi! i am having a problem configuring my apache server to run cgi scripts or ...
  A: Joe, Try following my directions line by line. You are correct when you say that uncommenting a ...
Help with CGI11/15/2004
  Q: the permissions for the cgi-bin and FormMail.pl are now (I changed it to those values as there ...
  A: Sonja, You've set the permissions properly and can learn the details of what these mean by googling ...
Help with CGI11/14/2004
  Q: I build a Web Form that should be used on a friends website who has a small business. I downloaded ...
  A: Sonja, I get a 404 - not found error when submitting the form on this webpage. Check that the cgi ...
cgi configuration11/13/2004
  Q: Followup To Question - hi! i am having a problem configuring my apache server to run cgi scripts ...
  A: Joe, I see a few missing lines that you should look up to understand how they work, then add to ...
cgi configuration11/13/2004
  Q: i am having a problem configuring my apache server to run cgi scripts or better i am not sure if ...
  A: Joe, There's a manual that comes with your Apache installation; also a test.cgi script. Is Apache ...
Perl + regex + search same string 2x11/11/2004
  Q: I've printed $CDR and got what I expected: tcp 0 0 127.0.0.1:25 0.0.0.0:* ...
  A: Mark, Glad you're getting someplace here. Two things I notice from your regex /127.0.0.1{9}/s : ...
Perl + regex + search same string 2x11/9/2004
  Q: I'm trying to search for the occurance of a string (6 times) in a "netstat -ant" command but ca'nt ...
  A: Mark, Did you try to print the value of $CDR out to confirm it had what you expected? Your regex ...
form script11/9/2004
  Q: I'm currently studying Web Desing, but I don't want to wait till I reach the part of CGI scripts. ...
  A: Reniet, If your site supports CGI then the cgi-bin should be set up by the hosting provider. I ...
calling of page before body onload thru perl11/4/2004
  Q: i want to call example.pl which is on the leftframe with some parameter thru perl code. I am doing ...
  A: Shyamal, Put the javascript code in the head of the document. That should get executed before the ...
batch file running 60+ PERL scripts11/2/2004
  Q: im not sure if you would be able to help me on this subject but, for a perl database project im ...
  A: First I don't understand why you'd be using a Unix product, Fedora, to write scripts on a Windows ...
Perl11/2/2004
  Q: Haveing made some forms I can get them to email me the results as a text file. Unfortunatly I cant ...
  A: Matt, Check out my FormATable product, the link is at bottom. If that's the kind of thing you're ...
GET method works but not POST. Why?11/2/2004
  Q: Followup To Question - Hi! I am very new in the programming field so I guess my question is very ...
  A: Karin, I don't see why your program won't pick up POST data, but here are two other ways to try and ...
GET method works but not POST. Why?11/1/2004
  Q: I am very new in the programming field so I guess my question is very basic (but it is still very ...
  A: Karin, Can you please write back with - the URL of the webpage with the form - revised source code ...
checkbox in subroutine10/30/2004
  Q: The program can be run here: http://users.wmin.ac.uk/~w0208670/cgi-bin/attributes.html The keyword ...
  A: Milan, Here's a problem right in the source code (HTML) for the generated checkboxes; they look ...
checkbox in subroutine10/30/2004
  Q: Heres the file: http://havespirit.tripod.com/cgi-bin/viewlist.txt
  A: Milan, What I'm willing to do is have a look at how your program works. If you have it running and ...
checkbox in subroutine10/30/2004
  Q: I have written a program that reads a text file (of property house lists) and prints out these ...
  A: Milan, If you are coding the checkboxes with unique names as it looks like you do then only those ...
Counter10/29/2004
  Q: I am trying to get a counter to work on my web page. I uploaded the files into the bin location ...
  A: Lara, Do the following to start debugging your counter: - make sure the script and any files were ...
GET method works but not POST. Why?10/29/2004
  Q: I am very new in the programming field so I guess my question is very basic (but it is still very ...
  A: Karin, One thing you might do to debug this is print out the value of $query after assigning it to ...
matching an agrument to its number10/27/2004
  Q: I'm trying to make a perl program that will take the letters a-d however the user wants to type them ...
  A: Aron, I suggest you use the sort function on the list (array) that the data's been put into. ...
CGI Form10/25/2004
  Q: I have just uploaded a website (www.collazos.co.uk)and have a form on the contact page. My first ...
  A: Anthony, The error msg does indicate that your account is cgi enabled as you were told. However ...
big problem with this script10/23/2004
  Q: ok i am treing to make greeting card but is not working i add a folder in the CGI-BIN where i have ...
  A: Benjamin, This is a very general type of error. To find out more see if you can get a look at the ...
Dynamic pages & MySQL10/23/2004
  Q: I think I would like to use MamboSever ( http://www.mamboserver.com) But I am having some trouble ...
  A: You've installed Mysql but did you start it up and confirm the installation works properly? You can ...
CGI script10/23/2004
  Q: I'm hoping that you can point me in the direction of a simple script for an email form. I have a ...
  A: Greg, See the link below, it is for my freeware formmail product to do just what you ask and may be ...
open statement in perl cgi script10/22/2004
  Q: I have not had good luck downloading the LWP module. I used the perl install by CPAN and it did not ...
  A: Tom, I didn't realize you had your own server. Depending on what platform e.g. Activestate or not ...
Querying a mysql database10/22/2004
  Q: I have a form that requires the user to input his/her username (from a forum that uses a mysql ...
  A: Gene, If you're using Perl then read up on the DBI package and do a select after connecting to the ...
Unix prompt?10/21/2004
  Q: it really looks good! But how can I determine the proper path for Perl? Which perl or whereis perl ...
  A: Rolf, Glad that filezilla's working for you. However it is not going to help you determine the path ...
open statement in perl cgi script10/20/2004
  Q: I am running Tru64 Unix v5.1b with perl v 5.8.0 I have a CGI script with the following statement - ...
  A: Tom, Instead of piping try using LWP::Simple() and be sure that $|=1 in the script you're calling ...
Dynamic pages & MySQL10/20/2004
  Q: I want to create a site dynamically. I wanted to generate the pages on the fly. The idea I had was ...
  A: Since you're going to use an open source content mgmt solution I suggest you find that first. The ...
PHP on Apache web server10/19/2004
  Q: I need to know how to configure PHP to work with APACHE web server 2.0.52. I'm using a Windows 2003 ...
  A: Simon, When I installed Apache with PHP on my Win XP server I used this doc ...
cgi problem10/19/2004
  Q: I am struggling with the homepage i am trying to create, the problem is with cgi, where I use this ...
  A: Rolf, If you're not sure about your ftp program I suggest you use FileZilla which is free and very ...
perl form mail cgi error10/18/2004
  Q: I am looking to track a problem in a perl form mail cgi. This cgi is part of a package and has ...
  A: John, Is there anything in the server error log when the script fails? The error msg you give looks ...
CGI help (big-nosed bird)10/15/2004
  Q: Here is the line I believe you need from my error log: [Fri Oct 15 07:36:21 2004] [error] [client ...
  A: Larry, Are you confident this is the only info on the error log? Often there is another line coming ...
Hi Marty, thanks for your...10/15/2004
  Q: But how do I pass the validated answers from page 1 to page 2 and then to page 3 ? please can you ...
  A: Nice, The best way is by using hidden form fields which can be embedded in the page presented to ...
CGI help (big-nosed bird)10/14/2004
  Q: I have screwed up my perl script and don't know what I've done. I thought I had a backup, but NO. ...
  A: The error msg you got is generic. There is a more detailed error available on the server error log. ...
cookies10/13/2004
  Q: Okay, I will try again :) That script I posted was used in many scripts of mine before in which all ...
  A: Rick, One simple way to do this is to have your html form post to a little program that uses ...
Getting MAC adress10/13/2004
  Q: I am quite new to CGI. What I want to do is to make a simple perl-CGI-script that prints out the ...
  A: Esben, I just tried this from the shell, here's the way I did it: # perl -e 'print 'arp -a'; print ...
cookies10/13/2004
  Q: Right now, if you run that script all it will do is post a login form. If you login correctly, it'll ...
  A: Rick, This sounds rather confusing. And it makes me think that you may be bending over backwards to ...
adding an external sub10/13/2004
  Q: I did not say it wasn't working!!! I SAID- Where exactly should I put the flush call?I am using ...
  A: Andy, So you're using the flush call but the result isn't what you want? Is there any documentation ...
adding an external sub10/12/2004
  Q: I am using CGI for an 'Opionions' page....with entry via the attached form. I want to add the ...
  A: Andy, You say it isn't working right. Are you getting an error message or is the result just not ...
searching a directory for files10/11/2004
  Q: Wow, that works great! I know how to build my arrays/hashes from here with each group but I have ...
  A: Aaron, Try collecting this info using a shell command, for example 'ls -l $dir$_'; within the ...
BNBSURVEY Script 3.2.210/11/2004
  Q: I have a client that has website that is currently at an ISP that is running on Unix and uses a cgi ...
  A: Jeff, I've got experience with BNBSurvey v 3.2.2 on a Windows server. If you'd like me to help you ...
Hey10/7/2004
  Q: whats a preference? i dont have any personal domain name.. i use domaindlx.com =\ is it still ...
  A: Kenji, You can use flat files as long as there is not lots of traffic on the site and you don't ...
Did not produce a valid header9/29/2004
  Q: I am new to PERL Programming. I am supporting an application which has some perl code in it.The code ...
  A: Sarma, There are a variety of reasons this can happen. 1. has the path to perl changed on the ...
Perl coding9/27/2004
  Q: Is this possible in perl coding? "my_new_window","toolbar=yes, location=yes, directories=no, ...
  A: Emmett, That is Javascript code you've shown and must be part of valid HTML which would be output ...
Did I delete your reply?9/19/2004
  Q: If I am not mistaken, I posted a question to you about my problem with receiving comments to my ...
  A: It's all below: -------------------------------------- Name:Rolf Aalberg Subject: Homepage problem ...
Homepage problem9/18/2004
  Q: I tried a HTML expert, but it was outside her expertise. So I try again.....: I have created a ...
  A: Rolf, I don't think this approach will work, but then am not knowledgable of Frontpage. Normally a ...
Win32::ODBC with Chinese characters and MS Access9/15/2004
  Q: I am using Perl 5.6 to run a CGI script. I am trying to manipulate an MS Access Database through ...
  A: Rico, I don't see why this should be happening and would suggest you print the characters just ...
Perl homework9/15/2004
  Q: I can not get my program to run the way i want it. Can you please help me? Write a program that ...
  A: Mary, I don't /do/ homework assignments, sorry. However I will be glad to help you debug your perl ...
Hide Querystring In Address Bar9/14/2004
  Q: I'm writing some google adwords ads targeting various health conditions. Rather than create a ...
  A: Rob, So for example someone clicks a link on google for ...
Hide Querystring In Address Bar9/14/2004
  Q: I'm trying to populate a webpage with variables passed from a querystring, but I don't want the ...
  A: Rob, I have to wonder why you want to do this; that will make all the difference in how I answer. ...
CGI script hosting9/10/2004
  Q: I am in the middle of designing a website for my B&B in Slovakia. I have completed a web form page ...
  A: Tony, As it happens, I offer a free one month trial of my hosted formmail called FormalHost(tm) and ...
Help with perl formmail script9/9/2004
  Q: Im a complete novice when it comes to perl scripting and am helping a friend setup their website ...
  A: Aaron, The error message you got is general and simply says that something went wrong. Not too ...
redirect cgi script??9/9/2004
  Q: I was wondering if anyone knew or had a simple redirect script using htaccess. All I need it to do ...
  A: Aaron, I wrote a simple (one line) HTTP header redirect script at ...
cgi9/8/2004
  Q: i do not know if my host provides shell access for my account, but my url is ...
  A: David, I have a free formmail script you can install automatically from my site. If you ask for a ...
How to send information thru a form9/7/2004
  Q: I have a web address called http://www.hawaiiwin.com it has a form set up on my home page. My ...
  A: Mark, Your form is posting to a 'mailto' action which means it puts data from the form onto ...
Dynamic Directory Listing Apache2 Perl5.8.4 Windows XP8/25/2004
  Q: I have 2 files involved. ListFiles.pl and index.shtml. ListFiles.pl works fine in DOS(command ...
  A: Could it be that your SSI command never executes? What shows up in the Apache error log when you ...
Need a certain type of script8/25/2004
  Q: I have an auto-responder software program. What I wanted to know if there is a script that will ...
  A: James, If this is your own program or you don't mind hacking it a bit the ip of a visitor is in the ...
Write HTML form data to textfile8/24/2004
  Q: Can you show me a very basic Perl program that writes to a textfile? So far I have only been able to ...
  A: Nancy, Here's some code that will create a new file and write to it. No locking, nothing fancy. If ...
I got SQL Working8/24/2004
  Q: Hey Marty, I've fixed the problem, and now i have a problem configuring mySQL. when i go to ...
  A: Mysql is having trouble because Apache isn't running. Do you say "listen 80" in the apache ...
CGI email problem8/22/2004
  Q: I have a cgi script installed with a problem. When someone signs up to my site, the script sends ...
  A: Rich, It sounds like the email address is invalid. Have you checked that? Marty Landman, Face 2 ...
verifying not null fields/records in mysql8/21/2004
  Q: Marty, This is more of a mySQL question but you mention expertise with regard to databases. Is ...
  A: Perry, Why not filter the data before printing, e.g. $myrow['AtypicalReturnDate'] != '0000-00-00' ...
HTML from PHP from Perl8/21/2004
  Q: Okay, basically, I have this program that I wrote in Perl which runs in a command prompt. It ...
  A: Philippe, If I understand correctly, you are running from the shell: # perl -w myscript.pl ...
Perl: Replace in an array8/20/2004
  Q: Good evening/morning, I have an array @list of strings, and want replace some of the elements of ...
  A: Dan, Since you want to make several possible changes on all members of the array I'm going to ...
Query other websites8/19/2004
  Q: I would like to have a best price section on my website. To do this I would like to query many ...
  A: Andrew, I suggest you start by putting together a list of the larger vendors out there you'd ...
Perl8/19/2004
  Q: I WANNA BUILD A TREE STRUCTURE LIKE NAVAGATION MODULE IN PERL FOR MY WEBSITE. The directories ...
  A: Try using a "hash of hashes in perl". Do a web search for that phrase, including the quotes and look ...
perl8/18/2004
  Q: having a hell of a time setting this cgi form up at my domain theres a cgi_bin wheres perl at ie ...
  A: Geordie, Try my auto-installed formmail, link at the bottom. If it doesn't work the first time I'll ...
using perl to download8/15/2004
  Q: I am trying to write a perl script which will could download things from website or download things ...
  A: Yudan, There are different ways you can do something like this and tools to help. I recommend you ...
storing user input from a webpage to a database using perl/html8/13/2004
  Q: i want to get user input from my site, check if all fields are entered, and store all information ...
  A: Henry, The line that you say gives the error message has all hard coded values so I don't see why ...
Can I use MYSQL or something to get a list of files displayed as links on a web page ?8/10/2004
  Q: I'm currently learning to use various web technologies. One thing I want to try is to put a set of ...
  A: I don't see why you need more than one database here. Even if there's a need, I suggest starting ...
timed execution of stored procedure8/10/2004
  Q: I would like to do the following using PERL. Get value for time_out Execute a stored procedure If ...
  A: Venkat, Not sure about this but will take a stab at it. I don't know the details of your situation; ...
CommandTimeout8/10/2004
  Q: How should CommandTimeout attribute be set using DBI? Please guide me... Thanks Venkat
  A: Venkat, I looked at the DBI documentation from cpan.org - it's at ...
Perl Module8/9/2004
  Q: First of all, I would appriciate your effort to help people by your expertise. I got some ...
  A: Emran, It depends on the modules and their dependencies as well as what is currently on your ...
perl error from online form8/8/2004
  Q: I have been updating a site for a friend and have just finished it. When i fill in the online form ...
  A: Dean, I just filled out your form and got a response page that says ...
how to create a html table in perl8/4/2004
  Q: I already parsed the data using perl, but now since the list is long and I want to update it every ...
  A: Sam, You have many options here; this is a common web programming job. There are pre-built packages ...
Multi submit options?8/2/2004
  Q: I am using the BNB form handler. I have everything working properly, but the form will not allow my ...
  A: Mark, You mean in the dropdowns, e.g. if I select MF1, MF2, MF3 in the mixed flowers? Try changing ...
Multi submit options?8/2/2004
  Q: I am using the BNB form handler. I have everything working properly, but the form will not allow my ...
  A: Mark, Not sure what you mean. When I go to your contact page at ...
read all files in a dir and insert the selected data into mysql tables8/2/2004
  Q: I'm new to perl and Mysql and i need the following.if someone can give me the instructions i will go ...
  A: Rovan, To process directory entries use the Perl functions opendir readdir closedir Get blocks of ...
Form Submission8/1/2004
  Q: I Have a website for my small business. I want to start online ordering and I dont know how to use ...
  A: Paul, You're right to not send credit card info via email. It is insecure to transmit this kind of ...
CGI for windows7/31/2004
  Q: I d/l'd the version of guestboard known as gb but it has a link to the perl dirctory that looks like ...
  A: Mike, Sometimes this path will work on a Windows system. There is no one standard path to Perl, not ...
Would like mod for Bignosebird.com 's bnbform v4.07/30/2004
  Q: Ths for your response, Marty The thing is that I really, really, do want the an eMail msg with the ...
  A: Mike, Ok, now I get it. You're saying that if I go to your site, fill out and submit a form then ...
Would like mod for Bignosebird.com 's bnbform v4.07/30/2004
  Q: Followup To Question - ------------------------- Marty, thx for your volunteer response. I guess I ...
  A: Mike, First, I can't make out what you've put on your site. There are hardly any line breaks ...
apache log warning perl7/30/2004
  Q: I m getting apache log warning how to avoid this warning Use of uninitialized value in ...
  A: Shyamal, Apache is showing the error which the Perl script is getting. The error means that there ...
CGI-Forms7/29/2004
  Q: How would I generate the .txt file as a second output in the program? I tried changing the code in ...
  A: Amy, I suggest you go back to the program as originally working before making this change. Try a ...
How can I disable the 'success' page in Formmail script?7/29/2004
  Q: I'm using the NMS Formmail script in conjunction with a Flash site and I don't need the user to go ...
  A: Bob, I don't know that particular script. If you used my formmail script, available on my site at ...
CGI-Forms7/29/2004
  Q: Currently, I am using the BNBFORM.CGI: The All-In-One Forms Processor. How do I change the output ...
  A: Amy, Have you tried just renaming the .bout file to a .txt file and seeing that will import ...
Would like mod for Bignosebird.com 's bnbform v4.07/29/2004
  Q: code ref: http://bignosebird.com/carchive/bnbform.shtml (Need/want to replace my hacked up security ...
  A: Mike, Sounds like a better way might be to present a confirm screen to the submitter and have them ...
This is probably a really...7/29/2004
  Q: This is probably a really simple question, I am trying to use a cgi script for a form on my site to ...
  A: Dave, Sounds like you need to find a formmail that sends attachments. Do you want to allow visitors ...
require problem7/28/2004
  Q: i m using use Net::LDAP qw(:all); in other file example ldap.pl And when i am including it in my ...
  A: Shyamal, The require and use instructions work differently in Perl. To help you with the problem I ...
Query a text file created by Perl7/27/2004
  Q: I'm using the following code to save information entered in a form by my users into a txt file. The ...
  A: Angel, If you'd like some guidance from me on how to accomplish this would be happy to. If you're ...
quota.cgi7/27/2004
  Q: I want my bandwidth and webspace info to be displayed on my website and update automatically ...
  A: Arvind, Permissions are an important part of Unix OS work and I suggest that on the shell you do a ...
Search string question7/27/2004
  Q: Marty, Finally I solved the problem by changing the $separator, I saw that if it includes a few ...
  A: Dan, My previous answer had a problem because '*' is a regular expression meta character. Since ...
CGI Shell script7/26/2004
  Q: System info: Hardware: Sun Microsystem OS: SunOS release 5.6 Hi, I have to make a web site ...
  A: Gustavo, Sounds like the directory containing these scripts hasn't been enabled for running CGI's. ...
Search string question7/26/2004
  Q: After 3 hours research, I give up! Maybe you can help! I have a text file of data lines separated ...
  A: Dan, If the file is read into $input then saying my $sepr = '*****'; my $data = $1 if $input =~ ...
I'm trying to set up a form using BNBFORM7/25/2004
  Q: I am simply trying to have a simple form to accept credit card numbers on my secured server and to ...
  A: Armand, If BNB's program will do what you want then why not just disable the portion of the code ...
Form Automation and MySQL7/25/2004
  Q: A real beginner i am afraid! I have written the html for an online form, I now need the data in ...
  A: Tony, Check out my FormATable demo - link at bottom. Writing something like this is definitely ...
please help..7/21/2004
  Q: I have a website that provide form and products to sell. User will enter all their data and the ...
  A: Bagus, As long as you don't collect credit card info you can use a simple formmail script to send ...
Upload Form Script7/20/2004
  Q: I am trying to develop a very simple "upload your file" form using a text box and Browse button. I ...
  A: Kevin, There are two ways I can suggest you consider creating this feature. First, anonymous ftp ...
utf8 in perl and cgi7/19/2004
  Q: I want to use Farsi (Persian) language (Farsi is a right-to-left language) in my CGI script (I write ...
  A: Rouhollah, I may know less about this than you do, but will try to help if possible. According to ...
perl to cgi7/13/2004
  Q: I have made the form and a template of what the results html page should look like. They are ...
  A: Christopher, I suggest after you parse a word into say $word you bump a hash value e.g. ...
perl to cgi7/12/2004
  Q: I have a perl script which is a simple word frequency counter (displays words from an input file ...
  A: Christopher, Start by writing an HTML template for your output page. This should be a static html ...
HTTP 500 Error, after change over7/11/2004
  Q: I just recently changed hosting companies, and as a result, my forms that were working fine before ...
  A: Jason, I'm not sure why you're getting a server error. Is it possible for you to find out what ...
Form processing7/9/2004
  Q: Marty! It's working great. However, I have some required fields, can you help me with that? Thanks ...
  A: Mary, Can you please write back with the url and give me an idea of the fields that are required? ...
Form processing7/9/2004
  Q: I have created an html form, and have some VERY basic knowlege of Perl and CGI. I need my users to ...
  A: Mary, There are two links at the bottom. One is to an automatic installer for my free formmail ...
BNBFORM - data output file7/9/2004
  Q: I have no idea if shell access is provided on my account (www.ncpmi.org). I'm using BNBFORM at ...
  A: John, I offer a free formmail of my own, which you can either download or use the auto-installer on ...
Ive got a question about fill-in form with POST7/7/2004
  Q: Sorry , i think i've got a very simple question for you , but iam busy now for 2 weeks and i can get ...
  A: Joey, Please write back with the URL for the form page. Also you might try my formmail which has an ...
Calls to a Java program from a CGI script (via Apache)7/6/2004
  Q: I'm attempting to run a Java program via a Perl CGI script system call. While I've got the script ...
  A: Jon, I run apache 1.3 under RH9 but have never attempted running Java or X windows. I recommend you ...
cgi form attach file to email7/6/2004
  Q: I would like me existing form(s) to be able to process file attachments into the emails, but i do ...
  A: Quoc, If your server is sendmail then start by looking at the sendmail documentation available from ...
gobal variables7/4/2004
  Q: How do you make a variable you create inside a block global? my $needed = 4; my @array ...
  A: Aaron, Instead of creating scalars inside the for loop why not declare a hash outside and create ...
Text Processing + HTML Emailing support requested7/3/2004
  Q: "Hi Ms Marty, Greetings and Regards to you from Muscat, Oman. I asked you for help in 2002 and I am ...
  A: Sunish, Hello from Woodstock New York, USA. Nice to hear from you. I'm wondering what you are ...
form/cgi script question7/1/2004
  Q: I'm a 12th grade English teacher attempting to set up a website for my class which would enable them ...
  A: Eric, If you're looking for a free script to do this I suggest you start at sourceforge.net. There ...
producing readable form data and email it7/1/2004
  Q: OK. My problem is modifying the cgi script to send e-mail. How would I do that?How can you use a ...
  A: Anthony, If you're asking me to teach you programming - sorry that is more than I can do. If you ...
Embedding cgi files7/1/2004
  Q: Can I embed one cgi file inside another cgi file? I use Xitami to preview my site offline. I have a ...
  A: Chris, You can embed one perl script inside another, the require command will do this. require ...
cgi bin not working for guestbook7/1/2004
  Q: Apache 2.049 conf file portions: LoadModule access_module modules/mod_access.so LoadModule ...
  A: Jerry, Apache doesn't know that a '.pl' file is supposed to run as a CGI. Alter your AddHandler ...
Configuring the Perl6/30/2004
  Q: I am a newbie to the perl.I downloaded the Activeperl but how shall I configure it.If I type perl at ...
  A: Blazix, Start by reading Activestate's documentation. You should find this under start > programs ...
producing readable form data and email it6/30/2004
  Q: How can you use a form and cgi together to produce either a more readable text without the form code ...
  A: Anthony, The problem with formatting email is that the interpretation or rendering varies among ...
form mailer6/29/2004
  Q: I am trying to run a form mailer program on my site. The script appears to run fine but no emails ...
  A: Kristy, First, when I go to http://www.pupomio.pwp.blueyonder.co.uk/filminfo.html the response ...
script6/29/2004
  Q: I want a daily count to appear (ie. Today is day 162 tomorrow is day 163 etc.) automatically. Can ...
  A: Cathi, Does your site support SSI? Perl? Can you get a shell account and use the crontab? Is the ...
check if user exists ?6/24/2004
  Q: I need some help with my script. I must add an option to check if an given username allready exist ...
  A: Henk, While I can give some general advice and even code fragments to help you out sorry I don't ...
form mail cgi script6/24/2004
  Q: I downloaded a free cgi script from bignosebird.com called "bnbform.cgi" and configured it ...
  A: Joseph, The problem might be that you need to include in the form a hidden form field called ...
crontab replacement6/21/2004
  Q: Can you explain to me how this code works? What is fork? When will $pid be fork? How frequently does ...
  A: I will only try to answer things that I am sure of. It is clear that the code you gave is not ...
php/mysql6/21/2004
  Q: while going through some tutorials on forms and php/mysql, i came across a problem. Basically, I ...
  A: Perry, First verify that the values are there before doing the insert. You can do this by printing ...
Flat Text Files6/19/2004
  Q: I generally use php and know very little about asp or perl, but I need to find a script(s) that I ...
  A: Steve, Check out my FormATable product and demo on my site. The password if only for one or a few ...
Simple Survey - Data Files Missing6/16/2004
  Q: I am experimenting with a simple survey from Bignosebird.com and I can get it to run because I can ...
  A: Jeannie, You've got the $DATA_PATH coded to be "home/cgi-bin/survey/" I'd have to actually look ...
cgi user authentication6/15/2004
  Q: I'm relatively new to perl and cgi. I'm creating a cgi object. There is one cgi, and it loads the ...
  A: Jallenchi, Are you saying, for example that the home page may offer choices e.g. - buy a house - ...
Simple Survey - Data Files Missing6/15/2004
  Q: I am experimenting with a simple survey from Bignosebird.com and I can get it to run because I can ...
  A: Jeannie, Shell access generally isn't available on Windows servers. You're right that the program ...
hiding password6/15/2004
  Q: how do you hide the passwords in Perl.I tried term::readkey which just doesn't work. Is there any ...
  A: Sorry but I have not dealt with this issue. My Perl apps are for the web and when collecting a ...
testing Perl6/15/2004
  Q: I'm trying to learn Perl CGI for the purpose of making a webpage, but how do I test the Perl scripts ...
  A: Greg, Perl on the web requires two software development tools. The Perl interpretor, and a web ...
script problems6/14/2004
  Q: I'm trying to run a cgi script downloaded from bignosebird.com it is a virtual card program. it ...
  A: Kristy, First, I get lots of email including spam so don't take my word for it, verify that when ...
script problems6/14/2004
  Q: I'm trying to run a cgi script downloaded from bignosebird.com it is a virtual card program. it ...
  A: Kristy, I've just run your card program and it seemed to work fine. Except that the email ...
im new, setting up perl on iis6/13/2004
  Q: Im new to perl, i run iis 6 on xp pro. Ive tried for hours, but whenever i run a script, .pl, or ...
  A: Jessica, If you were installing Perl on a server running Apache I'd know just where you should ...
Using PPM to install Perl modules on a Web server6/11/2004
  Q: I have a Web site on a shared Windows server, which means I must ask my Web host to install any Perl ...
  A: Tim, I've used Activestate's PPM to upgrade my own Perl installations on Windows boxes running ...
HTTP_REFERRER and Image6/10/2004
  Q: Ive been trying to figure it out all day today and yesterday. I am trying to create a script that ...
  A: Joseph, I didn't realize that the HTTP_REFERER would work that way. If you'd write back with the ...
ASN.1 Decoder6/10/2004
  Q: I'm looking for a ASN.1 decoder under redhat 9 or any other unix based OS.i have downloaded a ...
  A: Rovan, I don't know. :) However bet if you ask on the Red Hat mailing list you'll get some useful ...
need to get forms working6/8/2004
  Q: Your question was I went with your advice and tryed to install the formal installer,but I had ...
  A: Jerrale, Try as I might, some websites will not work with my formmail. Besides that though I've ...
simple regex6/6/2004
  Q: I tried the non-regex version because it look so simple but it's running into a problem. It only ...
  A: Aaron, Sorry, these can be a little tricky sometimes. Here's one that works: ================ ...
simple regex6/6/2004
  Q: I have a textfile that looks like: bdroom || bedroom clst || closet this string || bowl of || plate ...
  A: Aaron, The reason a line with no second field value gets the first found value pushed onto the ...
GuestBook Script Release 1.0 BigNoseBird6/5/2004
  Q: i forgot to tell you where it is: www.egy-expo.com/gbook.html thank you
  A: I just tried filling out your guestbook, thanks for sending the link. The response was that the ...
bnbguestbook cgi script6/5/2004
  Q: i am trying to run bnbbook.cgi GuestBook Script Release 1.0 . intially my problem was the ...
  A: Maria, You say there are no errors, and that the email part of the script does not work. Does every ...
please help me get my form working6/3/2004
  Q: I just finished my html Web page design class. I was in the distance learning program, and the class ...
  A: Jerrale, The method you are using relies on the visitor having an email program such as Outlook or ...
need help6/3/2004
  Q: I'm a student from France in Informatic nd Network. I work with a ISA server and must to change an ...
  A: Bohly, First, your English is fine. I understand you and hope you'll be able to understand me too. ...
CGI-BIN Form Mail6/3/2004
  Q: I have created a website in Dreamweaver and would like to add a basic form on the contact us page ...
  A: Anthony, As you can see from my signature I provide a free self-installing formmail script on my ...
cookies and field checking6/2/2004
  Q: I've been using BNBSURVEY Script for a couple of years to do surveys and it works fine for doing ...
  A: Martin, It sounds like you're looking for either somebody to write customized modifications to this ...
Password Protection in CGI6/2/2004
  Q: Sir, I am learning CGI/Perl gradually. I am using Redhat 9, Perl 5.8.0 My problem is that I want to ...
  A: Amit, The type of password protection you're wanting to do means first that all the content must be ...
Perl Installation Issue6/1/2004
  Q: Still receiving the same error even after using the expanded reference in the 'shebang' line: ...
  A: Ian, I think the problem may be that you've got the ScriptAlias stmt commented out. Let me know if ...
Perl Installation Issue6/1/2004
  Q: This is my first time using this service, so here I go! I have posted this same problem on a couple ...
  A: Ian, First thing, try changing the shebang line (first line of script) to say ...
Two questions5/29/2004
  Q: I hope you dont mind a I have two questions for you. QUESTION ONE: Im trying to build my own ...
  A: Sebastian, Looking at E-Blah! it appears you've already solved the problem, unless you've made ...
PUtting data into a .txt file5/28/2004
  Q: I have a file being passed to my server and I need a cgi program to take the data and put it into a ...
  A: Dan, I offer a product that will allow input from a screen such as is used with a contact form and ...
Adding points to a site when someone replies5/20/2004
  Q: ok I dont know anything about this stuff but I want to do something that I saw another site do I ...
  A: Bethany, There are a great many free programs out there for webmasters. I recommend you look for ...
cgi-script not working properly5/19/2004
  Q: Followup To Question -Followup To Question -Hello, I have enclosed my script to have a look at. I ...
  A: Bill, Could you review the hidden form fields (near the bottom of your form)? I think there must be ...
cgi-script not working properly5/18/2004
  Q: I have enclosed my script to have a look at. I don't know whats happening all I get in my email box ...
  A: Bill, I've just filled out and submitted your form. The response from the program looks correct ...
cgi-script not working properly5/18/2004
  Q: I have enclosed my script to have a look at. I don't know whats happening all I get in my email box ...
  A: Bill, Not sure I know what's wrong. If you're getting a thank you I assume that means the email is ...
.txt database search5/17/2004
  Q: Sorry, I left that part out of my example. Here's what I have input: open (DATAFILE, "< ...
  A: Marj, I don't understand why you coded s/\MONTH://; What is the backslash in front of MONTH: for? ...
.txt database search5/17/2004
  Q: I'm working on a .cgi (written in Perl) that will search through a flat text database file for a ...
  A: Marj, I don't see where you're reading from the file. Opening the file makes it available for input ...
HTML in perl.5/17/2004
  Q: I need to print to a html file and then open it in a browser. How do I do it? The perl ...
  A: If you have the following print "Content-type:text/html\n\n"; and then the lines you've shown me, ...
getting code from variables5/16/2004
  Q: Is it possible in Perl to get a piece of code from a variable? Lets say I want users to be able to ...
  A: Paul, Check out the eval function. That will do just what you want. However please proceed ...
Perl script not working5/14/2004
  Q: My website: http://www.nbafunding.com My forms are not working. I have laid out the forms using ...
  A: Mike, If you enter your site's info on my site at http://face2interface.com/formINSTal/ then ...
chat marquee5/14/2004
  Q: http://listgame.com/forum.asp We are starting our own forum and would like a chat ticker bar like ...
  A: It sounds like you have a good set of features with your hosting plan. Now the trick is to find the ...
How to stop or prevent double entry of a same Name5/13/2004
  Q: i need to create a coding to stop or prevent double entry on the same name relating to NAME of ...
  A: I think that you might do a check before adding a new entry to the database. So if I enter ABC PTE ...
getting tell a friend script working5/12/2004
  Q: ------------------------- Dear Marty here is a copy of the error script. Content-type: text/html ...
  A: Elizabeth, I tried the page out and it seemed to work, because I got this in my email a little ...
getting tell a friend script working5/12/2004
  Q: I downloaded a free script and tweaked it a bit and put it on my site. It is part working - you can ...
  A: Elizabeth, Could you please tell me what the error message is that you see i.e. why you say "The ...
e-mail -> javascript -> upload5/11/2004
  Q: I hope you can help me. What I want is the following: I want to update javascript files in my ...
  A: Wim, My product either comes with my hosting plan or costs $10/mo to use from other, suitable ...
Cgi script and Godaddy.com5/10/2004
  Q: Yes, my site is DaltonGA.com LarryI tried 6 times to set up your installer... but it kept writing ...
  A: Hey Larry, Ok, I see you in my log for today. Will get to this in the next day or so and write you ...
Cgi script and Godaddy.com5/10/2004
  Q: My script won't run from http://www.daltonga.com/cgi/bnbform.cgi so I can't do that... I found ...
  A: Larry, The sbox error shows you have the right url but sbox won't allow you to run the program. ...
Cgi script and Godaddy.com5/10/2004
  Q: I know my case is getting old, Marty, but please... do you get anything from my sbox error message: ...
  A: Larry, If it claims that the file doesn't exist, try posting to the fully qualified url. And before ...
Cgi script and Godaddy.com5/10/2004
  Q: COMMENTING the sendmail line (disabling it) had no effect. The problem seems to be in mail delivery ...
  A: Larry, This sounds like an error that you could try guessing at a fix at for days. Your tech ...
Cgi script and Godaddy.com5/9/2004
  Q: Don't forget I've pasted the first part of my script below... go to ...
  A: Larry, Try putting the following test script on your site #!/usr/bin/perl print STDOUT ...
Cgi script and Godaddy.com5/9/2004
  Q: www.daltonga.com I found somebody who had trouble with a "server running Sbox" who was using ...
  A: Larry, I went to your site but don't see where the contact page using the formmail is at. Could you ...
Cgi script and Godaddy.com5/8/2004
  Q: sbox error showed up when I changed from usr/bin/perl to usr/local/bin/perl in the opening line. ...
  A: Larry, I don't know what an sbox error is so don't know how to answer. You really should be able to ...
bnbform.cgi - Premature end of script headers5/7/2004
  Q: I'm looking for a pointer as to where to look in order to fix the following error, everytime I run ...
  A: Geoff, I just went to your link and after submitting got the message NO data_order list SPECIFIED! ...
forms and cgi5/7/2004
  Q: I downloaded the cgi script for forms from BigNoseBird and attempted to run it according to the ...
  A: Hugo, I usually suggest to folks having problems installing formmail that they use my automatic ...
SSI problem5/6/2004
  Q: I've got a news posting CGI script set up on my Unix server, one that I've set up many times without ...
  A: Andy, I don't think the chmod is relevant, although it does sound like more than is needed. Tell ...
Perl & HTML (easy stuff)5/5/2004
  Q: I have a perl script working fine. It updates a database etc. But when I submit an HTML form I want ...
  A: John, First, could you please write back with the link to the page(s) in question so I can see just ...
Fform _follow up question5/4/2004
  Q: Marty! The company that host my site offers the easy install CGI script. I have tried their easy ...
  A: Marv, This form would be no problem for my formmail or most any other. If you try my installer, ...
Automation and Scripts5/4/2004
  Q: I run two sites on the Internet that are developed in FrontPage. ( www.PitBullRegistry.com and ...
  A: Lewis, You say you wish to work with a script writer, i.e. a programmer. Are you looking for free ...
Feedback form5/4/2004
  Q: Marty! The company that host my site offers the easy install CGI script. I have tried their easy ...
  A: Maria, I offer a free formmail myself, and it can even be automatically installed on many types of ...
CGI Scripting Syntax Error5/3/2004
  Q: http://unixgen.muohio.edu/~sahlanlt I am using notepad windows xp version; Everytime I run the cgi ...
  A: Laura, When I go to the link you provided I get a server error message. If you copy this file over ...
CGI Scripting Syntax Error5/3/2004
  Q: http://unixgen.muohio.edu/~sahlanlt I am using notepad windows xp version; Everytime I run the cgi ...
  A: Laura, Could you please, on telnet, type in perl -wc ...
grt form output to a different layout5/2/2004
  Q: I am trying to get the output from these lines to print out with one line per set of variables: ...
  A: Kevin, I've written an application for the web called FormATable at ...
Perl and CGI5/2/2004
  Q: I have a perl script created and I am trying to show a graphic but the graphic will not show. I am ...
  A: Lelemd, Could you please write back with a link to the URL for the page calling the program, and ...
email list CGI script from BNB.com4/29/2004
  Q: I added what you suggested to the subscribe.cgi script and after trying it out, was sent to a server ...
  A: William, 1. by pre-creating the file, I mean make a file by that name on your computer - it can be ...
survey in php pr perl4/27/2004
  Q: ..i really need this...i need a survey made in php or perl...plz if u could do it thanx
  A: Sukriti, This isn't very detailed of a question. Is this for your website? Are you looking for free ...
email list CGI script from BNB.com4/27/2004
  Q: I attempted to add the email list CGI script (free) located at BNB.com to my website here... ...
  A: William, Could you please find the section of code that prints this error message and add the ...
CGI, Apache, FTP4/27/2004
  Q: Marty, You were correct. I figured it out only minutes after I sent this out. I am using VSFTP on ...
  A: Robert, Glad it worked out. FWIW I've been using Filezilla - from sourceforge.net and am very happy ...
CGI, Apache, FTP4/27/2004
  Q: I am having a problem where when I upload a file called gbook.html via ftp to the server the ...
  A: Robert, My guess is that you're uploading in binary from a Windows workstation. If so, try ...
Regex and Perl4/25/2004
  Q: I've got a variable stored in $hostname that either be "apple1", "apple2" ..... "apple16" and ...
  A: HK, If $name = letters followed by digits then you can extract the numeric portion with the ...
virtual card script on BBB4/24/2004
  Q: I have installed the Virtual E-card script (from BigNoseBird.com) and the order form plus the card ...
  A: Aliyah, I got as far as seeming to send out the card. In fact you can see the preview version here: ...
Invision Power Board4/24/2004
  Q: I am going to refer to the Invision Power Board (as seen at http://www.brainboard3.com/bb3/) clone ...
  A: Pedro, I have to say have been a professional programmer since 1980 and disagree with the premises ...
virtual card script on BBB4/23/2004
  Q: I have installed the Virtual E-card script (from BigNoseBird.com) and the order form plus the card ...
  A: Aliyah, The problem is that you've only allowed the script to be run from ...
Redirection Script4/23/2004
  Q: Can you give me an estimate on a script I need written? here is the scenario: I sent out a flyer ...
  A: Bryan, This is going to be a very simple thing to do. Can you please write me back privately at ...
How to install a modules4/23/2004
  Q: I am trying to install an "DBI" modules. I have download the zip file but i don't know how to ...
  A: Enoch, I have Activestate Perl installed on my Windows XP server and for that use the PPM module to ...
Search Pattern4/23/2004
  Q: I am new in perl and have some experince in PHP. I am trying to do some search operstions. And able ...
  A: Anurag, Regular expressions or regex's are a complex part of Perl and a great time saver. They are ...
Images in an e-card sender4/20/2004
  Q: No base URL was supplied. I have tried editing but nothing seems to work. The card sender was from ...
  A: Gordon, I didn't explain my question properly, sorry. What I meant was the URL for your website ...
Images in an e-card sender4/20/2004
  Q: I have been trying to put an ecard sender on my site. I cannot get the site to show the pictures. I ...
  A: Gordon, Could you please provide the URL of the site and be as specific as possible about the ...
HTML table to text file using HTML::TreeBuilder module4/19/2004
  Q: I would like to extract the data from an HTML table located on the webpage ...
  A: Roman, I am not familiar with the HTML::TreeBuilder package, when I need to do this kind of thing I ...
form to E-mail4/19/2004
  Q: I'm using the BNBform to submit e-mail. I have set this up to send mail to a address with the same ...
  A: Mr/Ms Wheldon, To learn what's behind the error you would need to troubleshoot by either seeing ...
CGI formmail script4/19/2004
  Q: I am attempting to implement a formmail script at aceluxurycarservice.com/reservations.htm . the ...
  A: Alex, Internal server errors are very generic. To learn what's behind the error you would need to ...
Perl and audio streaming server4/18/2004
  Q: I'm making a streaming audio server using perl and MP3::Icecast that will be on-demand. I'm using ...
  A: Brad, Have you tried piping the command to the audio server, in the same way as you might pipe the ...
Set-Cookie Header4/18/2004
  Q: I would like to set my cookies so it will expires after 24 hours, how could I do that since the ...
  A: Rando, My recommendation is that you use CGI.pm for cookies. If you set the time to +1 that will ...
CGI error message when running BNB Survey Script4/15/2004
  Q: When I try to run the BNB Survey Script (http://bignosebird.com/carchive/survey.shtml) from the ...
  A: Scott, Unfortunately this is a very generic message. CGI programs must output standard http headers ...
redirect field in cgi script4/15/2004
  Q: Hey Marty, I found you through http://bignosebird.com/carchive/birdcast.shtml. I'm using ...
  A: John, I'm unfamiliar with their script. I do offer a free formmailer of my own but it doesn't do a ...
Simple form script4/14/2004
  Q: . I downloaded the "formal" from http://face2interface.com/Products/Formal.shtml but there is one ...
  A: Christopher, Write your domain name in the allowed and your email program path in the $Mail line. ...
Simple form script4/14/2004
  Q: I am just a person trying to make a simple web site to be used by me and my friends. It's just a ...
  A: Christopher, I offer a free formmailer, and also a product called FormATable - you can see both of ...
Perl & CGI4/10/2004
  Q: Apparently the "CGI wizard" my hosting company had was banned because of spammers. I was given an ...
  A: Todd, I offer a self-installing formmailer; tbh it's new and the installer doesn't always work, ...
sendmail path4/9/2004
  Q: don't know how. can u help me? mikhail Answer - Mikhail, If you know the path to perl then you ...
  A: Mik, If you have a shell account you can try the which command, e.g. which sendmail But the ...
sendmail path4/9/2004
  Q: don't know how. can u help me? mikhail
  A: Mikhail, If you know the path to perl then you can run this simple program: #!/usr/bin/perl print ...
cgi script4/9/2004
  Q: Im trying to get a form to work, the form works but does not send the email to me, so this is what ...
  A: Greg, I offer a formmailer which has an auto-installer. If you try to do the auto-install and it ...
Complex sorting4/9/2004
  Q: I've got a complex string that looks like: *.starhub.net 1134 1.72 8M 2.57 21.34 ...
  A: Neo, I'm assuming that you aren't ready to store the text file in a DB such as MySQL or Berkeley ...
PERL URL ENCODING4/9/2004
  Q: but I am afraid that by the time I test it (I am away for Easter) this link might be dead. Please ...
  A: Joe, I'm sorry you don't have time to work on this; what I've sent you is likely to do the trick or ...
PERL URL ENCODING4/8/2004
  Q: I have determined the %3D is what i need for an equal sign. My real question is that my html code is ...
  A: Joe, I think the decoding isn't taking because regular expressions are by default case sensitive. ...
PERL URL ENCODING4/8/2004
  Q: www.pucksetc.com shell access? I do not know :( my pucksetc.com website has a problem with url ...
  A: Joe, If you're presenting url's with unusual characters such as blanks then encoding is the right ...
BNB Fom Trouble4/7/2004
  Q: Followup To Question -Followup To Question -I downloaded bnb form, I followed all the ...
  A: Milos, We've been going at this for so long, would you consider giving me temporary access to your ...
cookies4/7/2004
  Q: can you tell me how to retrieve cookie.I want all the retrieved information to store in hash so that ...
  A: Manglesh, I suggest you look at http://stein.cshl.org/WWW/software/CGI/#cookies which contains ...
BNB Fom Trouble4/6/2004
  Q: Followup To Question -Followup To Question - I downloaded bnb form, I followed all the ...
  A: Milos, Your server doesn't have to have sendmail installed, but it is the most common unix program ...
cookies4/6/2004
  Q: can you tell me how to retrieve cookie.I want all the retrieved information to store in hash so that ...
  A: Manglesh, I recommend you use Perl's CGI.pm package for this. Here's some sample code to do what ...
Building a Web Spider in PERL4/5/2004
  Q: I am planning to create a Web crawler/spider in PERL sometime in the future. Instead of indexing ...
  A: Danny, Personally my first experience with writing search engines and spiders comes from this great ...
BNB Fom Trouble4/5/2004
  Q: Followup To Question -I downloaded bnb form, I followed all the instructions, but something is not ...
  A: Milos, If you can't find sendmail on your server then the script won't work. But if you don't have ...
Writing to a text file?4/4/2004
  Q: I am writing a perl program that write a variable to a text file. The problem I have is that when I ...
  A: Jon, It looked good to me so I ran it as a shell script on one of my linux boxes and it worked. ...
BNB Fom Trouble4/2/2004
  Q: Followup To Question - I downloaded bnb form, I followed all the instructions, but something is ...
  A: Milos, Sorry I didn't see your previous response about my formmailer. You can have it automatically ...
BNB Fom Trouble4/2/2004
  Q: I downloaded bnb form, I followed all the instructions, but something is not working. Can you please ...
  A: Milos, The msg you show means the program ended abruptly which doesn't say a lot because there are ...
BNB Fom Trouble4/2/2004
  Q: I downloaded bnb form, I followed all the instructions, but something is not working. Can you please ...
  A: Milos, When I submit your form the response is "500 - Internal Server Error" which is a general ...
basic perl syntax question4/1/2004
  Q: I am trying to understand the code of debmirror. Very near the end, there is this fragment: # Make ...
  A: John, To the best of my knowledge the extra braces will have no effect. But I might be wrong, and ...
telnet problem in perl4/1/2004
  Q: use Net::telnet ; $telnet = new net::telnet ( Timeout=>10, ...
  A: Darpan, Perl is case sensitive and you have a couple of typos which have caused the problem. Please ...
Sessions in CGI4/1/2004
  Q: How can I use session in CGI. I have tried CGI::Session module but it is not working properly. It ...
  A: Yogesh, I always create my own session software when this is needed. I propogate the session id ...
formmail errors3/31/2004
  Q: I'm new to the formmail program and I'm having a problem that I think is related to the valid_ENV ...
  A: Glenn, Your form seemed to work fine just now when I tried it. Have you solved the problem? ...
Hello Marty! I am trying...3/31/2004
  Q: I am trying to download a ".shtml web page" into an Excel worbook table using the Microsoft web ...
  A: Patrick, I'm half guessing here because I have never used MS web queries. However if you can ...
remove empty elements of an array.3/30/2004
  Q: Marty, Thanks for your reply. What I am really doing is that I am going through each element of some ...
  A: Y'know that looks pretty good to me, though I'd rather say !~ /\S/ myself. But yours looks good ...
remove empty elements of an array.3/30/2004
  Q: I am trying to remove empty elements of an array. This array contains strings and empty spaces ...
  A: fenisol3, Assuming the array is called @info and you want to remove anything that only contains ...
File Access3/29/2004
  Q: I recently submited a question to you, and I got an AWESOME response, THANK YOU! But, I just ...
  A: Aaron, DBI is part of Perl and stands for database interface. So if you have hosting with perl and ...
Perl CGI3/29/2004
  Q: I want to collect a vote using a radio box form from a html page. I then want a perl script to save ...
  A: Aneurin, You might look on sourceforge.net for starters for free programs in perl to do what you ...
installing auction script3/29/2004
  Q: I am trying to instal every auction 1.51 -- provided by eversoft. It requires that I need to point ...
  A: Kathy, If you know that perl is located at /usr/bin/perl -- that first slash is very important btw ...
"Premature end of script headers" CGI Script3/28/2004
  Q: I am getting this error when I try to execute a CGI Form script. I just want to gather information ...
  A: Alan, From what I could see the formmail is working now, is that right? If not, please let me know ...
Databases/Permissions3/28/2004
  Q: sorry to bother you, i'm setting up a web page and I needed some help. I just had (2) questions... ...
  A: Aaron, For the first, say your user file looks like marty|swordfish nancy|marlin aaron|flounder ...
cgi script not working3/27/2004
  Q: I am trying to get a script going, and have progress from "internal server error" to "404 File not ...
  A: Stacy, I offer a free formmailer on my site which can be automatically installed on your site by ...
sending information through post without using a form3/26/2004
  Q: I first want to say that my english isn't good: I'm belgian and fifteen years old TheI am making a ...
  A: Jasper, You can post to a form using LWP::UserAgent, but I'm not clear about why this is necessary ...
Question regarding Perl/CGI/DBD-Oracle3/25/2004
  Q: I have a Perl script that takes form input data from my website and it parse out only the data I ...
  A: Hung, Let's say your Oracle DB contains a table named Payroll containing the fields name, ssno, ...
Perl-DBI-MSAccess3/25/2004
  Q: I'm not very sure whether I'd be putting this question to you. If you don't answer such questions ...
  A: Rajeev, There are lots of examples on the web of how to use DBI with Perl, including code snippets ...
Unrecognised Character Problem3/24/2004
  Q: I'm trying to spot if a site contains a flash file - when an address is entered into a form and ...
  A: Chris, It compiled fine for me although I had to add a right curly bracket at the end for the ...
Accessing WEB page HTML variables with Perl3/22/2004
  Q: I'm new to the perl scripting and need some quick help. I'm using Windows XP, Internet Explorer 6.0, ...
  A: Jeff, Perl is a server side technology, so knowing if the page has finished may be difficult. To my ...
umm... inputting form info ino database?3/22/2004
  Q: i've used big-nose-bird's bnbform to allow user's to input data from some questions we've asked. ...
  A: Ian, This can be a bit of a trick question, because changing program written data to something easy ...
Use of uninitialized value at (eval 7) line 3 !3/22/2004
  Q: Howdy! I try to execute the below script in UNIX and it throws out the compilation error message: ...
  A: Sekhar, Is it possible that the script is running but also giving you the messages shown as a ...
How to limit the number of entries allowed in a text file3/22/2004
  Q: As the subject states how do you limit the number of entries allowed in a textfile using perl.
  A: Gavin, A text file is just data, so to limit it requires rules enforced by the program or programs ...
CGI3/21/2004
  Q: so then i would need my link to display this page like <a href=$cgi?=members>main</a>here is the top ...
  A: Sabir, I suggest you proceed slowly with your project so you can understand completely from one ...
CGI3/21/2004
  Q: here is the top part of the code you can see where i put what you sent. and one more thing is there ...
  A: Sabir, Try something like this: #!/usr/bin/perl print "Content-type: text/html\n\n"; %data = ...
CGI3/21/2004
  Q: I tried this but got nothing <a href=$members = get 'http://ust-gaming.com/members.shtml'; see my ...
  A: Sabir, Try the syntax exactly as I gave it. If you write back, please include an extract of the ...
CGI3/21/2004
  Q: i have a cgi script and its all on one page, i want to add a link and inside the script but ...
  A: Sabir, Look into Perl's LWP::get method. e.g. use LWP::Simple; my $members = get ...
CGI-SCRIPT3/20/2004
  Q: I run a website for my local organization. I am trying to include a CGI calendar - and it's free ...
  A: Neal, The answer is "it depends". I've done things like this many times and in some way it can ...
sendmail3/19/2004
  Q: ------------------------- Hello, Thank you for your quick response. My server has sendmail. I use ...
  A: Marie, If you have sendmail working for one program it should be able to work for another. Nothing ...
installing cgi scripts3/17/2004
  Q: I can't get the scripts to run on the server, don't know what i'm doing wrong Windows server
  A: Willie, Can you please write back with more specific information? Marty Landman Face 2 Interface ...
Dynamic generation of HTML Form3/17/2004
  Q: I need to create a dynamic HTML form retrieving values from the database. Here is what I need to do. ...
  A: Sowmya, There is no specific question here. Perhaps if you were to read up on HTML::Mason or ...
"Premature end of script headers" and internal server errors3/17/2004
  Q: I'm trying to set up a form (http://www.houstoncommerce.com/subscribe.html) using Matt Wright's ...
  A: Megan, The message is generic. Before printing a web page, a CGI program must print HTTP headers. ...
CGI script process cannot die3/17/2004
  Q: I've got a question. I have a CGI script that executes a program and then displays the result to ...
  A: Mark, So you are using Perl's open function to run a shell script? Why the pipe at the end? If I ...
Can't Seem To Get My Form To Work3/16/2004
  Q: http://www.essexwaterfest.ca I am designing the site in Flash. I decided not to use a Flash & php ...
  A: Laura, According to their instructions at the url given you'd need to post to the program with ...
PERL/CGI interacting with Web page3/15/2004
  Q: I am a biochemistry student and am taking a module in computer programming. I am trying to set up a ...
  A: Conor, On the biology side of course I don't know the first thing about how this is done, on the ...
Simple form set-up3/15/2004
  Q: The cgi-bin program I believe is from "Matts Script Archive". The forms don't seem to work no matter ...
  A: Matt, I offer a free formmailer which is self installing. You can get to it by clicking this page ...
running cgi scripts on windows server 20033/14/2004
  Q: I had a cgi poll running fine with a linux op cobalt box,now I just switched to a windows server ...
  A: Jim, When I view the source for info.htm which has the java applet on it I see ...
running cgi scripts on windows server 20033/14/2004
  Q: I had a cgi poll running fine with a linux op cobalt box,now I just switched to a windows server ...
  A: Jim, I run apache2 on my windows xp workstation and have not noticed any problems, and I use the ...
Question about the BNB Form script3/14/2004
  Q: I'm using the bnbform v4.0 and I find it very very nice to use. However, I've noticed that when it ...
  A: Dominic, If you'd like to try your hand at changing their script and then ask me questions about ...
cgi scripts3/13/2004
  Q: I want to learn cgi perl. from simple to reading and writing to files from my server. can you tell ...
  A: Joe, Perhaps this is immodest but I can suggest as a start you avail yourself of my free formmailer ...
making correct guestbook script updates3/12/2004
  Q: I thought I followed the instructions in the readme.txt file but this old man missed something ...
  A: Bill, You may have to provide an absolute path. Or a relative path. Does the documentation explain ...
sendmail3/12/2004
  Q: in one of the scripts i found on BNB, i have to declare where sendmail is located on the providers ...
  A: Geert, Windows does things differently and free scripts like BNB's and my own as well tend to be ...
Your bnbbook Guest Book3/11/2004
  Q: For some reson and I don't klnow why. I tryed your cgi scripts for the first time. I didn't beleave ...
  A: Joe, I am sorry but personally am not experienced with BNB's applications but I'll be glad to try ...
How to append a file to another3/11/2004
  Q: ------------------------- Followup To I figured out a way to do this, however I have went down a ...
  A: Donny, Thanks for writing back and teaching me the right way to do this. Write me anytime at ...
Calling java using perlscript3/11/2004
  Q: I'm on linux. Have Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_04-b01) Java ...
  A: Rickard, It sounds like when running from the cmd line you specify that the command to run against ...
How to append a file to another3/10/2004
  Q: I have a script here and basically what it does is get the disk space from the servers and emails me ...
  A: Donny, I'm much newer to Unix system administration than to Perl so the command line side of this ...
insert html site3/5/2004
  Q: the front page from the ads script shows categories from &require_supporting_libraries (__FILE__, ...
  A: Jung, Please look into the require perl function. It will read and execute the file you name after ...
Holiday Calander3/5/2004
  Q: I am working on a tool which allows users to book holidays and view holiday status using ...
  A: Rabindra, How about something like this? print "ID $booking{id}\n Name ...
CGI formmail email results - formatting?3/5/2004
  Q: I'm running a formail CGI script from http://www.scriptarchive.com/ , now everything is set up ...
  A: Jason, This is a problematic issue because there is no way to guarantee how people receive their ...
CGI3/3/2004
  Q: I always get this message when I am using the bnbbform.cgi from bignosebird.com, what can i do about ...
  A: Glenn, This is a very internal error; it's saying that something is missing in the Perl ...
perl lwp path3/3/2004
  Q: i have hosted my website in netfirms.com unfortunatly it does not support for lwp module how can i ...
  A: Steve, I thought I had already answered you on this 4 days ago. If you didn't get that answer, here ...
Feedback Form3/3/2004
  Q: The only thing is i'm a complete novice when it comes to doing this and wondered if you could point ...
  A: Stuart, I offer a free formmail program on my website that you can download and install on your ...
Interview Questions3/3/2004
  Q: For the last three months I am working on PHP, Perl, MySQL, Linux, Apache. Before that I have ...
  A: Anurag, Each of these technologies has their own mailing list for public questions and answers by ...
Deleting a record in a flat file3/3/2004
  Q: Good morning/evening, I have a flat file containing records, as record1 record2 record3 ... ...
  A: Joel, Unless you switch to a database such as MySQL the fact is you will either have to read the ...
I need Informatin...3/2/2004
  Q: I got a perl scripts that automize a search procces. this search is done to only one site for ...
  A: Ahmad, This depends on the scripts and 1. if they're even capable of this 2. if so, how to ...
How do I put in an SSI for a textclock?3/2/2004
  Q: I took the script off the main index page. I had inserted it above the table on top. I know that ...
  A: Bob, I thought you were looking for a clock counter but now you mentioned a form mailer. You can ...
How do I put in an SSI for a textclock?3/1/2004
  Q: I have tried everything. I think. I am running Matt's formpage setup for form based emails. I just ...
  A: Bob, I don't see where on your site you tried to put the clock on. Could you please reply with the ...
Creating a custom command shell using perl3/1/2004
  Q: however I am throughly stumped on where to begin. I would like to encorporate some basic bash ...
  A: Justin, I've not done this myself but sounds like something you could easily find on a google, it ...
retrieving form name3/1/2004
  Q: I have a form in a page, call it x.cgi the form in x.cgi takes it to another page y.cgi In y.cgi, I ...
  A: Pedro, Every time you go to another web page it's a fresh start. So if you're going to pass info ...
help with cgi2/29/2004
  Q: I dont know if my host allows shell hosting or not, the url to the site that i am having problems ...
  A: Phillip, I offer a formmailer on my website, the link is at the bottom of my reply. However ...
perl- lwp path2/29/2004
  Q: i got domain from netfirms.com and it is seemed to not supporting the lwp::simple module what can i ...
  A: Steve, If they are not willing to upgrade Perl on their server then you may have to do this ...
html forms2/28/2004
  Q: I am trying to learn how to use HTML forms. I have created an html form (which looks OK), and am ...
  A: Mike, The path to Perl can be found by typing 'which perl' w/o the single quotes on the shell. If ...
Form Mail2/28/2004
  Q: http://www.scriptarchive.com/ FormMail I down loaded this script and tried to follow the ...
  A: DD, We all started out as beginners so don't worry about that. Asking the questions is the first ...
Form Mail2/27/2004
  Q: http://www.scriptarchive.com/ FormMail I down loaded this script and tried to follow the ...
  A: DD, I provide a free formmailer script on my site at ...
Custom Form Mailer - PERL/CGI2/27/2004
  Q: . I would like to write a simple cgi.pm to process a form that will include the initial question ...
  A: Curdiss, I provide a free formmailer script on my site at ...
cgi/perl and getting a form to work2/27/2004
  Q: A bit of background so you are better able to phrase your answers I am no novice to computers. I ...
  A: Greg, I provide just such a script for free usage from my site at ...
Counter Setup =(2/26/2004
  Q: URL: www.robinmcleod.com Shell Access: Yes I am trying to install a simple text-based counter on my ...
  A: Robin, The path to cgi might just be /. Can you write back with the link to the script you execute? ...
hraccess2/26/2004
  Q: I am trying to password a sub-directory on a Dell supported web server/ They say they are using ...
  A: Bill, I'm not familiar with Zues although I've got my own stories to tell about Dell tech support ...
Can you please have a look at this2/26/2004
  Q: I'm trying to install a script called SITESEED and I do not know how to set up the install.pl I ...
  A: Tony, Please either try installing yourself and writing back if any specific problems come up, or ...
redirect.cgi help!2/25/2004
  Q: Marty - You helped me with my redirect.cgi script a couple days ago. So, I made the couple ...
  A: Bill, The piece of info missing here is the system message that occurs at the time of the error, ...
$BASEDIR= for BigNoseBird Virtual Ecards2/25/2004
  Q: Ok, My quesetion is, what am I supposed to put in the cgi as my $BASEDIR... The url to where I am ...
  A: Amanda, My expertise is in CGI programming but I don't know BNB's applications by heart, so if you ...
how to put music to my website2/24/2004
  Q: please tell me how to put music playin to my website when a visitor go's there? in html code please ...
  A: Buusaman, There are three commonly supported formats for web music: 1. midi - this is the oldest ...
CGI Redirect2/23/2004
  Q: One quick followup on syntax...is this all I need to do: For each new URL I want someone redirected ...
  A: Bill, You got it, that's all there is to it. And you're right that with .htaccess id/pw's set up ...
CGI Redirect2/23/2004
  Q: Marty - I'm very new at scripts, but have one running fine that is a simple redirect script that ...
  A: Bill, The easiest way is to tack a query string onto the link and then make your determination ...
search engine2/22/2004
  Q: i have craeated a website and i want put a search engine that i want it to search google, yahoo and ...
  A: Steve, You can look for free software to put on your site at sourceforge.net, tucows.com and ...
I need help with html form2/21/2004
  Q: I have a simple html form that I have "converted" to perl that I am having problems with. The html ...
  A: Kevin, First, this page on one of my sites shows you just how easily you can redirect a browser to ...
Apache configuration of Perl on Windows 2000 machine2/20/2004
  Q: I would like to begin writing some basic scripts in Perl. To practice, I've installed the Apache ...
  A: Sheree, Hard to say offhand. Would it be possible for you to put your httpd.conf file online or ...
I need help with html form2/20/2004
  Q: ------------------------- Hi, I have a simple html form that I have "converted" to perl that I am ...
  A: Kevin, I think the problem may be that $PPdata isn't properly encoded. Do this, modify the html ...
Online Directory2/19/2004
  Q: Is the guestbook searchable & sortable? Can the information be arranged in column, like name, email ...
  A: Michael, For these features you are talking about I would not call that a guestbook but rather a ...
I need help with html form "conversion" to perl LWP HTTP POST.2/19/2004
  Q: I have a simple html form that I have "converted" to perl that I am having problems with. The html ...
  A: Kevin, You can indeed use Perl's LWP package to post to a form. Here's some sample code to do that: ...
CGI forms2/19/2004
  Q: Hey I have a question with forms... first of all i dont know anything about cgi but all i need it ...
  A: Kyle, There's a free form mail program on my website at ...
Background working in CGI2/18/2004
  Q: My name is Rickard and i have a problem concerning fast response on a webpage. I'm using perl v5.8. ...
  A: Rickard, Ok, but since the fork approach isn't behaving well why not try to accomplish the same ...
ndbm2/18/2004
  Q: Sorry, I'm not very good at explaining things! I have included a bit of code to try and show you ...
  A: Ed, Sorry still don't understand the question. What I see is pseudocode for what you're wanting to ...
Background working in CGI2/18/2004
  Q: My name is Rickard and i have a problem concerning fast response on a webpage. I'm using perl v5.8. ...
  A: Rickard, What is the advantage of forking? is it just so you can write the redirect page while the ...
Online Directory2/18/2004
  Q: I'd like to have the ability to have visitors add there contact information to my website and have ...
  A: Michael, A guestbook application will do this for you. To be done nicely I'd suggest one that ...
cgi-bin error2/17/2004
  Q: My website URL is www.keyinsurancepensacola.com. I don't know if my host provider allows shell ...
  A: Jenny, Try changing the line that says <input TYPE="HIDDEN" NAME="data_order" ...
ndbm2/17/2004
  Q: I have a directory with currently about 1000 ndbm files in, but this may increase as high as 5000. ...
  A: I don't get what the question is. What you say makes sense, are you having difficulty getting ...
IF2/14/2004
  Q: I have been trying to figure out how to do the following.. I have a current webpage witha cgi script ...
  A: G, I don't quite understand the problem. Would it be possible for you to write back with a link to ...
Problems installing quiz script2/13/2004
  Q: I'm looking into finding the error logs. I couldn't find your quiz on the site though. Can you ...
  A: Claire, Please let me know what the error log says; and be sure to inquire about a shell account, ...
Problems installing quiz script2/13/2004
  Q: I have found a perl quiz script at http://www.firststep.com.au/software/quizz.html and installed it ...
  A: Claire, Funny you should write as I offer a quiz application myself; for a modest charge though. ...
MailForm CGI Script2/12/2004
  Q: Sure, the url is http://www.mcgdirect.net/contact_test.htmMarty: I downloaded your script and am ...
  A: Marc, The error msg I see - 500 internal server error - is a generic one. The most common cause of ...
MailForm CGI Script2/12/2004
  Q: Marty: I downloaded your script and am pretty sure I have everything configured correctly, but when ...
  A: Marc, When I click on the link you gave I'm sent directly to http://partner47.firehunt.com/. Could ...
MailForm CGI Script2/10/2004
  Q: Marty: I'm trying to build a mailform into a website. When the user fills out the form, they should ...
  A: Marc, You might download my free formmail script from ...
Learning Perl Quickly !2/10/2004
  Q: Hope you are doing well. I want to learn perl quickly, basically to perform operations like file ...
  A: Sekhar, I think your extensive background gives you an excellent start! Please keep reading and ...
CGI2/7/2004
  Q: yes, sure. below is what i got for now. www.geocities.com/gracekwan402 thanks for answering all my ...
  A: Grace, This looks like it's coded correctly, assuming your email address is gk402@yahoo.com. So the ...
form to selected recipient2/7/2004
  Q: I'm using bnbform (unix) on my website to create forms. I want to set up one standard form that a ...
  A: Stuart, I would put a dropdown on the form and give that the name of the hidden form field that BNB ...
Selling CGI Scripts2/7/2004
  Q: I have created some CGI/ASP scripts and I would like to charge a nominal fee of $5 for them on my ...
  A: Rob, You might download my free formmail script from ...

All Questions in This Category

Email this page
     
User Agreement | Privacy Policy | Kids' Privacy Policy | Help
Copyright  © 2006 About, Inc. AllExperts, AllExperts.com, and About.com are registered trademarks of About, Inc. All rights reserved.