If I take an internal hard drive from my old pc and use it as an external drive on my new pc, will I still be able to use all the programs on the external drive. Word, Excel, etc. My old pc died and I'd like to use the drive from it on a new pc. Do I have to reinstall programs, etc on the new...
I have a web page I created using Dreamweaver. It has a table, with table cells, etc. Is there some way I can convert this to CSS without having to rewrite the whole thing? In other words, strip the tags out and put them into an external style sheet without having to go through an entire...
I have an html form that uses post
<form name="formname" method="post" action="cgi-bin/feedback.pl">
Here's the perl script:
#!/usr/bin/perl
use warnings;
use CGI;
use CGI::Carp qw(fatalsToBrowser);
use Mail::SendEasy;
print "Content-type:text/html\n\n";
my $FormData = "";
# Read the...
When I submit an HTML form I'm not getting a content length environment variable. Here's my HTML: <form name="feedback" method="post" action="cgi-bin/feedback.pl">
The feedback.pl is a perl script that looks at the environment variables. I'm not getting the content length. Any ideas?
Thanks.
I have a perl script that process an form created in html. I'd like to email the actual form, with the fields filled in. I've figured out how to email the html form, but the fields aren't filled in. Is there a way to do this? I've tried saving the html file to another html file, but that still...
I've tried using ppm to install Mail-SendEasy but I get the message "no suitable installation target found for package Mail-SendEasy." I'm using ActivePerl 5.8.7.813.
I'd like to add an attachment to an email I'm sending from a perl script using sendmail. Here's my code:
#!/usr/bin/perl
use warnings;
use CGI;
use Mail::Sendmail;
$file = "testdoc.txt";
unshift @{$Mail::Sendmail::mailcfg{'smtp'}} , 'AB-MAIL4';
%mail = ( To => 'wsexton@anywhere.net'...
I'm trying to remove a comma from a negative number:
First I use substr to get the number:
$number = substr($line, 1, 10);
Now $number has -1,125.50
I do this: $number =~ s/\,//g;
This works for a positive number, but not negative.
Any ideas?
I'm trying to send email from a perl script to MS Outlook.
Here's my code:
use lib qw(lib);
use Mail::Outlook;
my $mail = new Mail::Outlook();
die "Cannot create mail object\n" unless $mail;
my $message = $mail->create();
die "Cannot create message object\n" unless $message...
I'm trying to get the autonumber of a record I just inserted into an Access database. Here's the code I'm using. I don't seem to be getting anything back and it doesn't seem to return an error, either.
my $sth1 = $dbh->prepare("select max(REQUESTNUMBER) from request_data");
$sth1->execute...
I'm using perl to insert data from a file into an MS Access database. I'd like to use the autonumber feature in Access. I can change the autonumber field to a number field and insert a number I create. How do I insert a record and allow Access to assign an autonumber?
Here's my current code...
When I run that I get a file download message box. I select open, a command box flashes, then it doesn't do anything. I'm running this on my PC using XP. I have IIS installed and I believe I've correctly set up CGI. I also have perl installed and I've set up IIS to use perl to execute both .cgi...
I certainly appreciate your help.
I'm still getting an error message: DBD::ODBC::db prepare failed: [Microsoft][ODBC Microsoft Access Driver] Syntax e
rror in INSERT INTO statement. (SQL-42000)(DBD: st_prepare/SQLPrepare err=-1) at
datarequest.pl line 60.
I don't have much experience with...
Thanks for spotting the missing variable. I corrected that, and I've tried using \' for the single quotes and I still get a syntax error. I just can't see what's causing the problem.
I keep getting a syntax error message when I try to execute this sql statement. I know it's a long one. Can anyone spot the problem?
$sqlstmt = $dbh->prepare("INSERT INTO request_data (requestnumber, date, requestor, duedate, reoccuring, frequency, purposeandscope, question, utilization...
I'd like to run a sql statement after a user enters info in a form field. This is what I have so far:
Private Sub Reporting_Unit_AfterUpdate()
Dim sql As String
Dim Provider_Code As String
Dim Legal_Entity As String
sql = "SELECT dbo_PROVIDER_MASTER.CDS_PROVIDER_CODE as PROVIDER_CODE...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.