Nurlman
03-12-2000, 10:49 PM
I admit it. I'm don't know any computer language more practical than BASIC and some rudimentary HTML. I'm pathetic and should go back to flipping switches on an Altair.
Ok, having gotten that out the way, I've grabbed a CGI script to count hits on my website, and I can't get the damned thing to work. My tag in the website for it is:
<img src="/cgi-bin/counter.exe? font=../images/gifs/&inc=count&show=count">
(Gratuitous space after question mark added solely for purposes of this post to let it wrap if necessary.)
This produces a broken image link when the page is loaded. Right clicking on View Image yields a 400 (Bad Request) error. Fair enough.
But then if I highlight the URL in the location bar and hit enter (or type in my website URL plus the exact same arugment used in the image tag, it brings up the counter, properly incremented, right font, and everything. Weird.
Obviously, the script works, and the problem is how I've coded the tag. (There is an existing "count.txt" file in my cgi-bin directory, so I don't think that's the problem.) But I can't figure out what's wrong with it. God, I'm ready to just do a PEEK for the damn thing.
I'll petition the deity of your choice for blessings on you if you can explain what I'm doing wrong.
Ok, having gotten that out the way, I've grabbed a CGI script to count hits on my website, and I can't get the damned thing to work. My tag in the website for it is:
<img src="/cgi-bin/counter.exe? font=../images/gifs/&inc=count&show=count">
(Gratuitous space after question mark added solely for purposes of this post to let it wrap if necessary.)
This produces a broken image link when the page is loaded. Right clicking on View Image yields a 400 (Bad Request) error. Fair enough.
But then if I highlight the URL in the location bar and hit enter (or type in my website URL plus the exact same arugment used in the image tag, it brings up the counter, properly incremented, right font, and everything. Weird.
Obviously, the script works, and the problem is how I've coded the tag. (There is an existing "count.txt" file in my cgi-bin directory, so I don't think that's the problem.) But I can't figure out what's wrong with it. God, I'm ready to just do a PEEK for the damn thing.
I'll petition the deity of your choice for blessings on you if you can explain what I'm doing wrong.