Nice guess. But, sadly, that isn't the explanation. I upgraded nothing. It's the exact same kernel, exact same programs, exact same configuration files.
We are temporarily back to the original four hard drives in the RAID controller, and all is good. I have been occasionally loading the new...
Hi,
We've had our business server functioning dandy for a long time, with SAMBA acting as a domain controller for our clients. No issues. All was lovely.
Now, it was time to upgrade hard drives in the RAID controller, to create a 200 gb container (rather than the 100 gb container we had). So...
There are a number of ways to do this.
I'll suggest a cheap and easy version:
Use a _single_ frame, and load each page into that single frame. If they bookmark it, they'll bookmark the first page they found on your site, because they will still be at that same URL. Just be sure to include...
Write a (non-cgi) script that handles all of the processing you need, using data submitted to it at the command line. Place it outside of your cgi-bin directory. But make sure that your cgi program will have the appropriate permissions to run the script.
Have your CGI script call that script...
Yeah, here's a script to do just that, using the CGI library, and using sendmail, qmail or some similar program on the server:
http://www.unseelie.org/cgi-src/mailing.txt
The full distribution is at
ftp://unseelie.org/users/sgray/cgi
I hope that this helps!
-- Scott David Gray
reply-to...
I'll tell you how I approached this problem...
I wrote a separate script to handle all aspects of credit card checking and order delivery, and then I simply had the CGI script run that program and react to the information sent back to it from that program (e.g. "bad credit card order not...
Yes, you need to tell the client that the stuff coming it's way should be treated as html, rather than plain text that just happens to have characters like <, >, and / all over the place.
Try this before you send any of your html:
print "Content-type: text/html\nPragma...
You can do this pretty easily. Assuming for the moment that the cgi program knows the proper URL for the file that is requested, have the program display a page according to your specs and include a meta tag:
<meta HTTP-EQUIV="refresh" CONTENT="3;URL=$url">
-- Scott David...
I have volunteered to dig ditches in the past. I recall several professors and archaeologists who were paid a good bit of money to dig ditches in order to uncover artifacts from the Hyksos period in an area near the current-day Lebanese-Israeli border. They were paid to dig ditches -- and I...
CajunCenturion writes:
Are you sure, what is the ditch being used for? Without knowing the why, I cannot in good consicious state that it would ethical for me to dig it form him. As a case in point (although rather extreme), what if the ditch is being used to bury stolen property? Now is it...
Is it unethical for a lazy ditch-digger to ask another man to do his work for him?
I think not. It would be unethical if the ditch-digger expects another to do his work for him, or gets angry if nobody else does his work for him. But asking never hurts.
Is it unethical for a person who...
No, It's easier to create the file with the name you want. Otherwise, you're just adding steps, and possibly having two users accessing the program at the same time interfering with one another.
As far as code to rename the file, there are a couple options:
1: Load the original file, write it...
Here's a perl script to check forms, and send an email in whatever format makes sense. Nice, simple PERL program for processing forms however you want to process them, easy to install.
Download from ftp://ftp.sudval.org/users/sgray/cgi/mailing-cgi-v1.0.tgz -- info from the Linux Software Map...
BTW, thanks for your assistance.
After hacking away, and getting this script doing most of what I wanted, I found another script out there which already does everything on my TODO list and would be easier for people to place on their web servers plug-and-play! So now, instead of continuing to...
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.