Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. rpack78

    Auto-saving a PDF to a network location

    Ok, so I think I got the PDF::API2 part down. I'll need to create a new PDF using the posted data and place the signature image in, then use the saveas method. But I'm not finding any way to use GD to create the signature image. Can it take a "screen shot" of sorts and create the image that way?
  2. rpack78

    Auto-saving a PDF to a network location

    Thanks, I'll look at those modules and give it a shot. I really appreciate it.
  3. rpack78

    Auto-saving a PDF to a network location

    I have been working on a way to capture a signature on a PDF using a Topaz signature pad and automatically saving the PDF to a network location when a submit button is clicked. The PDF is opening in a browser so clicking "Save" brings up a dialog box to ask where I want to save it and under...
  4. rpack78

    Posting Form Data

    Is there a way to keep a user from re-posting form data if they hit the back button or refresh? What is the best way to deal with this besides using javascript disabling the back button? Can I somehow clear out all form data in a browswer after a form is posted? Thanks. Ryan
  5. rpack78

    Posting Form Data

    Is there a way to keep a user from re-posting form data if they hit the back button or refresh? What is the best way to deal with this besides disabling the back button? Can I use javascript to clear out all form data from previous pages? Thanks. Ryan
  6. rpack78

    Error handling question

    Perfect, thanks!
  7. rpack78

    Error handling question

    Thanks Tony, that is what I was looking for. But now I have a new problem. I was doing this: perlscript.pl >logfile because I am logging everything that is printed in the script. If I do this: perlscript.pl 2>logfile I no longer log that stuff but I do trap the errors. Is there a way to...
  8. rpack78

    Error handling question

    How do I log perl errors to a file of my choice when my perl script dies. For example, I am passing a date to the DateCalc method in Date::Manip. If I pass an invalid date, the script dies. If I run it on the command line, I see the error: ERROR: Invalid year (928) at...
  9. rpack78

    Windows or Linux?

    Great, thanks!
  10. rpack78

    Windows or Linux?

    Can someone tell me a good way for my perl script to know if it is running on a Windows box or a Linux box? I want to do different commands if it is running on Windows. Thanks. Ryan
  11. rpack78

    Using only parts of CGI and DBI

    Thanks Steve, I will do that right now. I did reduce the file size of my CGI script from 50k to 20k by moving a bunch of subroutines to another file. That seemed to help quite a bit but the server is still choking.
  12. rpack78

    Using only parts of CGI and DBI

    Ok, I sorted by CPU and mysqld-nt.exe is taking up to 95% of the processing power. The perl.exe instances dissapear after about 3 seconds. I am doing anywhere from 10 to 20 queries on the main page which automatically refreshes every 10 seconds. The queries are written as efficiently as...
  13. rpack78

    Using only parts of CGI and DBI

    Cool thanks I'll give it a shot, but I agree with you. I don't think this is the problem. The server has more than enough horsepower to handle this many page requests. When I look in the task manager under processes, there's like 30 perl.exe's in there. If I restart the mysql service or...
  14. rpack78

    Using only parts of CGI and DBI

    I have an application that uses CGI and DBI. It is very robust and performs a lot of queries and has a lot of traffic. I'm having problems with the CPU of the server staying at 100%. I read online that to speed up my pages I can use parts of CGI and DBI instead of using the whole thing. How...
  15. rpack78

    Show progress of a separate perl script

    I have a CGI web page that has a button on it. When you click it, I want to fire off a perl script that updates a bunch of databases. The perl script takes about 4 minutes to run. Currently I am using the system() command to run the script. Doing it this way causes the page to hang while the...
  16. rpack78

    Parsing XML

    Perfect! Thank you very much. Ryan
  17. rpack78

    Parsing XML

    Thanks for the response, guys. It makes sense what you are saying. I tried the code you suggested and it entered the "if" part but printed nothing. Here is what the XML looks like up to the node in question. <LoanApps> <LoanUniversal> <Loan Counter="275317" RecordCounter="1042222">...
  18. rpack78

    Parsing XML

    I am trying to parse an XML file using XML::Simple. Everything is working fine except when the node has no value. When I do this: print my $car_vin = $record->{LoanUniversal}->[$i]->{Loan}->{LoanInformation}->{CollateralID}; I get "HASH(0xa1fc9d8)". How can I test if $car_vin has this...
  19. rpack78

    Access a COM / ActiveX control with Perl

    Does anyone know how to access a COM / ActiveX control with Perl? Do I need anything special? Does anyone have an example of this? Thanks for your help... Ryan
  20. rpack78

    Reindex Foxpro Tables from Web

    Cool, this looks like what I want to do. I will have to figure out how to access a COM control with Perl, but it shouldn't be too hard. Don't you just have to put the code in with the HTML like JavaScript? I guess I don't quite understand how it works. Does the browser call the COM object or...

Part and Inventory Search

Back
Top