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

    Executing CGI on a timer.

    The ghetto way .. and it wouldn't have happened (probably:) You should have heard first runner up.. where every "once in awhile" the receptionist was supposed to click the refresh button.
  2. ZsN1Gman

    Executing CGI on a timer.

    I think that bit of information just made my day! You should hear some of the solutions people are spitting out around here. But you know what they say about groups. I think now I have to take the rest of the week off. Thanks,
  3. ZsN1Gman

    Executing CGI on a timer.

    I have a few CGI programs that I need to run at certain intervals. These scripts will look at various pages and database files and make decisions based on the content. This seems like such a trivial question, I see things like this done all the time. Someone noted that I could simply use...
  4. ZsN1Gman

    Capturing email or Sending email to CGI script.

    "how? by what means?" That's exactly what I'm asking Pete. That email is a stream of data being directed to someone’s email address. How could someone divert that data to a script instead? It may very well not be practical or possible, like I said I've never seen it done. If not maybe...
  5. ZsN1Gman

    Capturing email or Sending email to CGI script.

    I help run a small online store that uses a third party processing service for credit card orders. They would like to list the quantity remaining and out of stock status on their product pages. The store uses a simple text based database setup, and the only service they get from the credit...
  6. ZsN1Gman

    Can anyone figure out this warning!!

    You were right about the warning occuring because of a failed match, and $2 not being set. That makes perfect sense. And your solution works great. I appreciate the help, Thanks! Jim
  7. ZsN1Gman

    Can anyone figure out this warning!!

    I appreciate the attempt, but that isn't doin it. I can't say that I've ever pre-declared a built-in before! I find it interesting that the warning displays 75 times, yet around 300 iterations occur resulting in 200+ matches. And the reference to <FILE> line 315? 315 is the last line in the...
  8. ZsN1Gman

    Can anyone figure out this warning!!

    Here's a simple one!! But I don't get it? I'm using the loop below to pull info from url's http://www.<X.com>. Anyhow, this works fine. But with warnings on I'm getting about 75 copies of the warning: &quot;Use of uninitialized value in pattern match (m//) at URL_Finder.pl line 18, <FILE> line...
  9. ZsN1Gman

    On WINDOWS NT, I can run a .pl script, but not a .cgi? HELP?

    From my experience IIS doesn't need the shebang line at all (#!). IIS knows where the interpreter is only after you add it to your site properties &quot;Home Directory/Configuration&quot;. So unless there is an association with .cgi listed, they wont work regardless of weather or not the shebang...
  10. ZsN1Gman

    CGI execute problem. Win XP, don't have permission

    It's been awhile since I had this problem.. But I think the portion(s) listed below fixed it. If this doesn't help I can send you my file for comparison. ... # OLD ScriptAlias /cgi-bin/ &quot;C:/Program Files/Apache # Group/Apache/cgi-bin/&quot; ScriptAlias /cgi-bin/...
  11. ZsN1Gman

    CGI execute problem. Win XP, don't have permission

    Hello, I can't for the life of me get CGI scripts to run. I have my sites all listed in c:\web\siteFiles When trying to run a script like http://localhost/siteFiles/cgi-bin/test.cgi I get an error message: Forbidden &quot;You don't have permission to access /siteFiles/cgi-bin/test.cgi I can...
  12. ZsN1Gman

    SSI error- CGI will not execute

    Hello, I am attempting to add the server time to my default page and although it works fine when run on the server, an error is generated on my workstations virtual server. <!--#exec cgi=&quot;/cgi-bin/time.cgi&quot;--> generates the error: &quot;Failed to execute script...
  13. ZsN1Gman

    beginner

    Maybe I missed something here? You should be able to access your site/pages via your web browser by navigating to &quot;localhost/page&quot;. i.e http://localhost/hello.asp If you name your page default.asp then you can access it by simply http://localhost You would normally name your home...
  14. ZsN1Gman

    While loop deleting first line in file?

    You are absolutely right, not that I doubted you. while(<PAGE>) { @contents = (<PAGE>); } I tried it, this iterated once, not that I doubted you :) I had assumed that <PAGE> contained the contents of page forever, but now I see I'm wrong. It appears that after each line in page is...
  15. ZsN1Gman

    While loop deleting first line in file?

    Brilliant!! And I'm speaking to both of you. @contents = <PAGE>; # <- could this be any more logical?? Basically my original code was good, I just screwed it up by throwing it in the loop. Though in a sense my solution was better in that it appears more &quot;magical&quot;, easier to impress...
  16. ZsN1Gman

    While loop deleting first line in file?

    ::POP:: as I firmly yank the pacifier from my mouth.. I appreciate the redirect.. I can't say his situation was fully comparable with mine, but useful at any rate. I simply changed: while(<PAGE>) { @contents = (<PAGE>); } To read: while(<PAGE>) { $line = $_...
  17. ZsN1Gman

    While loop deleting first line in file?

    I wrote this script in order to change multiple instances of text, for instance to change the location of images in a HTML doc. However, when the file is being read in and assigned to the array, it is removing the first line in the file? I'm sure it's a simple solution, I'm just not experienced...

Part and Inventory Search

Back
Top