Greetings all! I have data that is output from a form. How do I take this data, save
it as a .txt file, and place this .txt file in another location (a different folder,
not cgi-bin) on my server? Also, each time a .txt file is created, it should
"overwrite" the previous file ( I assume this is
Greetings! I have HTML pages with tables containing numerical data. I also have a CSV
file with rows of this numerical data that correspond to each of the HTML pages. Each
HTML table uses one unique row of data and another row used on multiple pages. Instead
of coding the number data into each H
Try this site for additional information
http://httpd.apache.org/docs/howto/cgi.html#environmentvariables
Mike Ni <[EMAIL PROTECTED]> wrote:
Thanks for the resoponse,
It was written by a person who left already.
Now, I need to find out how his code work.
Do you happen to know where I can find
I have a custom 404 error page that uses that shows the URL of the page that couldn't
be found using var="REDIRECT_URL". Is there a way to take this variable, such as
"/folder/wrong.html", strip out everything except "folder", match "folder" and
redirect (launch the web page) to "folder/index.ht
Greetings all,
Instead of joining my scalars with ',' I'd like each to appear on a newline. Replacing
',' with '\n' doesn't work. Suggestions? Thanks!
my $cfor_edu = join (',',$bs_alma,$bs,$ms_alma,$ms);
-
Do you Yahoo!?
Get better spam protection with Yahoo! M
Thanks to all who helped - please give me the beginners cgi listserv email
Thanks,
Gregg
-
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online
bug;
my %record;
my $entry;
my $i = 1; # First index
while ($line) {
if ($line =~
s {
^\"
((?:[^\"]|\"\")*)
\"
(?:,|$)
ght need a little code if we're going to help. As far as I know there are no
CSV-HTML gotchas that would do this, so it's probably your algorithm. Are you doing
something like this?
if($my_var){
print $my_var;
}
that would print nothing if the value was a zero, because zero evaluates to F
I have a script that reads a CSV file into an HTML template. The template reads the
CSV data accurately unless the field shows zero, in which case the HTML page displays
a blank space. Any suggesstions? Thanks!
-
Do you Yahoo!?
Yahoo! Finance: Get your refund fas
I'm using MIME::Lite to send a wide email, which is formatted as HTML (could be
formatted as text if needed, or as an attachment). How do I control the printing to
orient the email to an 11 X 8 1/2 (landscape/horizontal) style instead of 8 1/2 X 11
(portrait/vertical)?
Check out MIME::Lite (easy to install and use).
http://search.cpan.org/search?query=MIME%3A%3ALite&mode=all
"Gazi, Nasser" <[EMAIL PROTECTED]> wrote:
I am writing a Perl script for Solaris box. The script needs to send email.
The company uses Microsoft Exchange Server, and the Solaris box Sendmai
I have a form that needs to send it's data to multiple recipients (35 in all); is
there an easier way to do this?
# Region office email addresss
my @offices = ('[EMAIL PROTECTED]', '[EMAIL PROTECTED]', '[EMAIL PROTECTED]');
my $email_all = @offices;
Thanks
-
e; however, I haven't been able to get a page to pull that CSV file
for web page display.
Any guidance or resources would be appreciated.
Gregg O'Donnell
Webmaster
Virginia Department of Forestry
Charlottesville, Virginia
Phone: (434) 977-1375 ext. 3398
I have a web-based manual that includes calculators and other .cgi scripts. I need to
make this manual available to some users who have no Internet access; that is, turn a
web app into desktop app. Would appreciate any help or guidance to resources to do
this. Thanks, Gregg
---
Hi. When a user hits "submit" many times after completeing a form, I get multiple
(duplicate) entries in my spreadsheet. I've read that I can add a hidden field with a
unique identifier to "lock the file" so this won't happen. I don't know how to do this
- can anyone explain/direct me to a good
I have a Publication Order Form, with checkboxes beside each title. The list needs to
be emailed to ONLY the department that carries the publication ordered (not all
departments).
I think I should I grab the form data, use CHOMP to get only "fire" from "fire-01" but
then how do I get it into {
Everything you asked about is answered here:
http://www.webreference.com/programming/ssi/intro/index.html
Gregg O'Donnell
Webmaster
Virginia Department of Forestry
www.dof.state.va.us
Ramón Chávez <[EMAIL PROTECTED]> wrote:I'm trying to use a Script for showing who's
onlin
Hey - I'm receciving syntax and global package errors in lines 540-550 of this script, which is running on WinNT. One error I receive is for not defining my hash "%counties" which is, in fact, defined. So, I'm baffled and stuck. Any insight is greatly appreciated!!
GreggDo You Yahoo!?
Yahoo! Financ
unty')}->{County} || '';
> And how do I wrap this so the user will select a county
I'm not sure I understand this one. Can you explain what you mean?
Rob
-Original Message-
From: Gregg O'Donnell [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 14, 2002 2:4
I'm writing a script to send emails to different locations. Some will receive one
email, others 3 or 4. Should each county have all the categories, even if some have an
empty value, or only the categories for which they have a value. And how do I wrap
this so the user will select a county
my
I'm looking for the simplest way to use the date and time in the format of MMDDYYHHmm
(no spaces), which is used later in the program.
Here's what I've come up with; comments or suggestions are appreciated.
#Insert Date and Time
my $month = $mon00 #Two digit month
my $day = $mday00 #Two
Hey - I'm trying to put this together from studying the perldoc. Do I need to define
"my $table =" and if so, to the csv file? Also, the number of scalars should equal the
number of question marks?
use DBI;
my $dbh = DBI->connect(qq{DBI:CSV:csv_sep_char=\\;});
my $dbh->{'csv_tables'}->{'logge
22 matches
Mail list logo