User Profile
Collapse
-
Why do you need to use an array of filehandles? If you use a lexical filehandle when it goes out of scope you don't have to worry about the things you listed. -
A few things I would check.
1. See it the file was sent as an attachment.
2. Make sure the images are not being blocked
3. Make sure you have the proper MIME types for the files you are sending.
MIME::Lite
MIME::Lite::TT: :HTML
Article about MIME::Lite::TT: :HTMLLeave a comment:
-
Please show us what you have tried. No need to show you the same as you have already tried.
--KevinLeave a comment:
-
Ron,
I have seen you on many other forums, therefore, I knew your FishMonger name. I do like the assistance you offer to the OP's. I just wish I was as good as you :)
--KevinLeave a comment:
-
-
This LINK should help you get started. If you are still having issues, then please post your code. Good luck!Leave a comment:
-
I like working with the DBI. If you need any help and the Fishmonger *cough* *cough*, I mean if RonB is not around I will be glad to offer my assistance.
--KevinLeave a comment:
-
Here is an sample of a db statement that I would use.
[CODE=perl]my $insert_stateme nt = $dbh->prepare('INSER T INTO table_name(colu mn1, column2) VALUES(?,?)');
$insert_stateme nt->execute($value 1, $value2);
$insert_stateme nt->finish(); [/CODE]
--KevinLeave a comment:
-
I am hoping that you at least tried to complete this task yourself first. So, if you post your code we might be able to help further.
Some stuff to read about in the meantime that might help you as well.
Make use of these two pragmas.
strict
warnings
Open the file for reading.
open
...Code:open (my $file_handle. '<', $file_to_read) || die "Can't open file: $file_to_read, $!\n"
Leave a comment:
-
Add this line of code to your script and see what it tells you. Also, the cgi-lib.pl has been depreciated for a long time. CGI.pm is a better choice.
Code:use CGI::Carp qw/fatalsToBrowser/;
Leave a comment:
-
Leave a comment:
-
Where is your code showing us what you tried? Please use the [code] tags.Leave a comment:
-
-
-
-
If you don't know any perl I would start with a good perl book. Before others offer much assistance you will need to try and write the code yourself, or hire a programmer.
If you have a problem with your code please post it back and we will see what can be done to help.
--KevinLeave a comment:
-
-
Yes. Simply use my example from above and replace the text and variables with those from your code.
--KevinLeave a comment:
-
Sevla,
I had added code tags for you several times of the past couple of days. You need to include these at the time you make your post.
Here is an example of how to use the code tags.
[CODE]Perl code here[/CODE]
--KevinLeave a comment:
-
If you want the quotes to print just escape them. Or you can do the following.
--KevinCode:my $word = 'perl'; print qq{The word you searched was "$word"};Leave a comment:
No activity results to display
Show More
Leave a comment: