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.
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,
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...
"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...
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...
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
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...
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: "Use of uninitialized value in pattern match (m//) at URL_Finder.pl line 18, <FILE> line...
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 "Home Directory/Configuration". So unless there is an association with .cgi listed, they wont work regardless of weather or not the shebang...
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/ "C:/Program Files/Apache
# Group/Apache/cgi-bin/"
ScriptAlias /cgi-bin/...
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 "You don't have permission to access /siteFiles/cgi-bin/test.cgi
I can...
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="/cgi-bin/time.cgi"-->
generates the error: "Failed to execute script...
Maybe I missed something here?
You should be able to access your site/pages via your web browser by navigating to "localhost/page".
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...
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...
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 "magical", easier to impress...
::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 = $_...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.