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. latigerlilly

    Convert consecutive line breaks into a single space

    Why ask why? Just use the following code to get rid of the extra line breaks: chomp($sector); If you really need to ask why, without looking at the rest of your code, a good guess would be that a visitor to your website would have to type enter or return to have the program accept the input...
  2. latigerlilly

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

    Use a cookie to save a time stamp. If they try to re-submit the form, you'll know and can prevent re-submission. Time stamp: ($Second,$Minute,$Hour,$Day,$Month,$Year,$WeekDay,$DayOfYear,$IsDST) = localtime(time); Cookie: print "Set-Cookie:tstamp=$Second$Minute$Hour$Day$Month$Year...
  3. latigerlilly

    Sending e-mail with html file as body

    Hi, Use something like this to send the email: open(MAIL, "|/usr/sbin/sendmail -t")||&ErrorMessage; print MAIL"To: $sendmail1\@$sendmail2 \nFrom: support\@mywebsite.com\nSubject: mywebsite.com private message sent\nYour private message to $recipient has been sent\n\n$pm \n"; close(MAIL); Be...
  4. latigerlilly

    url from online form written to file gives percent F not forward slash

    In my Perl book, it says to use the forward slash, but when I tried it with pipes, it still worked. Whatever. As long as it works....
  5. latigerlilly

    url from online form written to file gives percent F not forward slash

    Thanks duncdude! You set me on the right track!!! I thought that it was a hexadecimal conversion to ascii thing, doh!!! The URLs used sometimes has many forward slashes in it, so that snippet of code didn't work, BUT you set me on the right track (thanks!!!) so I was able to do the following...
  6. latigerlilly

    url from online form written to file gives percent F not forward slash

    Hi, I have a cgi program written in PERL that takes a URL from an online form and then it writes the URL to a file. However, the colon and two forward slashes get turned into percent 3A percent 2F percent 2F. How do I fix it so I just get a normal URL? Thank you for your help. Below is the...

Part and Inventory Search

Back
Top