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 SkipVought 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. lchenard

    Any idea why this basic perl script isn't working on my site?

    #!/usr/local/bin/perl use strict; use CGI ':standard'; my $c = new CGI; my $theme = $c->param('choice'); print "Content-type: text/html\n\n"; print <<"EOL"; <body> </body> EOL exit;
  2. lchenard

    is it possible to get info from previous page form, without submitting

    From what I know, there are 4 ways you can pass data between pages. 1. GET 2. POST 3. COOKIES 4. SERVER SIDE DATA STORAGE From what I know, there is no way to hide values in a GET and any values you 'hide' in html and pass with a POST can easily been seen by simply viewing source. COOKIES...
  3. lchenard

    Auto-saving a PDF to a network location

    I'll take a shot here and give you a few simply steps that you could try. 1 --> Use Perl GD Module to save the signature as in image 2 --> Use PDF::API2 to generate a pdf document. $pdf->saveas ( "/var/www/html/images/temp/mypdf.pdf" ); $pdf->end(); Clearly there is a lot of code missing...
  4. lchenard

    undefined symbol: gdImageCreateFromGif

    Ive installed GD on several machines. I specifically use GD to generate .gif bar graph images from a database for survey results. See if there is anything here that help you. (Output is to HTML) use GD::Graph::bars; my @data = ( ["A", "B", "C", "D", "E"], [ $tally_A, $tally_B, $tally_C...
  5. lchenard

    Send E-Mail with Mime::Lite &amp; NET::SMTP.

    Here is a snipped of code that I use to send attachments to an array of email addresses. Perhaps there is something in here that will help. ####################################################################### ####################################################################### # #...
  6. lchenard

    Redirecting STDOUT

    Here is an example of how I handle such things ... $ROOT and $FILE_CLASSES are defined in my lib.pm file. All of my recordsets are "|" deliminated $FILE_NAME = $FILE_CLASSES; open (DATABASE, "<$root/$FILE_NAME") or die("MESSAGE 100:<br>Unable to find [$FILE_NAME] Data File."); flock (DATABASE...
  7. lchenard

    RegEx - extracting data

    Couldn't you also take your variable and switch the "/" with a "comma" and then pop off the last field? if element_name is /opt/asdfgwdq/dasdasd/Data_to_be_extracted_is here then ... @data = split /\//, $element_name; $Data_to_be_extracted = pop @data; Just a thot.
  8. lchenard

    Trying to write a CSV file with commas

    For those of you who do not know about or do not want to use additional modules you could also go thru the horrible steps of switching out the embedded comma for another symbol in each of your fields for each record :) I've chosen to deliminate my records with the "|" symbol because of the...
  9. lchenard

    FTP-Script *almost* running

    if (-e <<filename>>) { unlink <<filename>> }

Part and Inventory Search

Back
Top