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 Mike Lewis 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: *

  • Users: cgimonk
  • Order by date
  1. cgimonk

    writing a client to access a https site.

    I looked back at what it was, it requires OpenSSL to be running in order to attach yourself to an HTTPS site. cgimonk
  2. cgimonk

    Can't get script to work?????

    print MAIL "Subject: Form Data\n"; Should have two /n/n; print MAIL "Subject: Form Data\n\n";
  3. cgimonk

    writing a client to access a https site.

    You cannot access HTTPS sites with just LWP alone, you need a module. I cannot remember the name off the top of my head but you can NOT install it on Windows. I ran into this problem 2 months and gave up. cgimonk
  4. cgimonk

    Retrieving the source of a webpage

    Yes, you were totally right. That is very odd, it comes with all Packages from 5.6+ (and further back then that I believe). So I have no idea why it's not there. cgimonk
  5. cgimonk

    Retrieving the source of a webpage

    Before you give up, can you put this near the top of your script and let us know if it gives you an error? use CGI::Carp 'fatalsToBrowser'; cgimonk
  6. cgimonk

    Retrieving the source of a webpage

    That's really intersting because LWP comes with Perl, I don't see why they wouldn't allow it. If they didn't have LWP and you tried to use it, you WOULD get an error saying the module cannot be located or found, not just a 500 ISE error. Check your error logs and switch on warnings if they...
  7. cgimonk

    Retrieving the source of a webpage

    Duncan is partly right-- if it's Google you'll have a hard tiem parsing their pages. Actually, without setting up an API account with Google, there's no way you'll trick the browser into giving you the source code. No matter how many times you try, it's not going to work and eventually you'll...
  8. cgimonk

    How does one find the total (sum) of an array?

    Oh, I understand the syntax completely. I write code how I like to see it and what is faster for me. Typing the extra characters is faster for me to type and faster for me to read and know exactly what it's doing.
  9. cgimonk

    How does one find the total (sum) of an array?

    This isn't the easiest way but I find this an interesting question, so here's what I'd do.. my $total = 0; foreach(@numbers) { $total = $total + $_; }
  10. cgimonk

    Maddening CSS issue

    Netscape in itself is very poor at supporting CSS stylesheets. Go into most message boards on CSS or read books teaching CSS and you'll see this little factoid. That in itself makes me really sway away from it as much as I can. Only limited to 7 font sizes? Is that a limit or should that be...
  11. cgimonk

    Maddening CSS issue

    I disagree 100% about not using <font> tags anymore. I've been a developer/markerter in Web Design for the past 8 years and I always use them. I refrain from CSS if I have to for browser compatibility issues and because I feel it's pretty useless and a great page can be created without it...
  12. cgimonk

    problem writing variables to a file

    A few things that I notice.. 1) Your file handles should be in all UPPERCASE. It makes it easier to find and you have less of a chance of making a typo. So change open (FILE, ">$upname" || die "Error opening file $upname"); 2)Your OR DIE should be outside the paranthesis, so change it to...
  13. cgimonk

    first character

    if (/^\d/) { .... } Will work I /think/. I could be wrong.
  14. cgimonk

    Checking Image Dimensions With Perl

    This is not a difficult task, this is actually quite simple. Search cpan for Image::Info. It calculates the dimensions of your images for you, it's very swift and easy to use. Hope this helps.
  15. cgimonk

    Sendmail seems unrealiable, any idea why?

    The problem you are describing has nothing to do with Sendmail itself. I'm willing to bet more people use Sendmail than any other mailing module in Perl. Infact I have never used anything but this to do my emailing and I've created a number of mailing lists for clients. If it is taking a...
  16. cgimonk

    What does &quot;$|=1&quot; actually mean/do?

    Forgive me if I'm not 100% true but it's how you remove the buffer in Perl. Adding this line will make nearly all things print to the screen as they happen rather than witing for the buffer to receive XX amount of information before it'll display it back to you.
  17. cgimonk

    Howto: Parse HTML tags to get content in between

    I am NOT good at regexes, but I'll throw on at you. No guarantee that more than 1% of it will be correct though :) /<special>(.*)<\/special>/gi; I was told the .* is picky, which may be the case but I tried. If any one else in here has a nice place to go for regex explanations, feel free...
  18. cgimonk

    cgi/img prob

    Just a general "DID YOU KNOW" reply. Some servers don't allow images to be accessed inside the cgi-bin, if the images and script reside in this directory or any directories below this, some servers will refuse you to load them in the browser.

Part and Inventory Search

Back
Top