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

  1. diodotus

    SAMBA, all *was* fine, now what? 0x0000232B RCODE_NAME_ERROR

    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...
  2. diodotus

    SAMBA, all *was* fine, now what? 0x0000232B RCODE_NAME_ERROR

    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...
  3. diodotus

    Need some suggestions...

    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...
  4. diodotus

    Shopping Cart Processing

    The command you want is system(): $result = system($program, @arguments); -- Scott David Gray reply-to: sgray@sudval.org http://www.unseelie.org
  5. diodotus

    Shopping Cart Processing

    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...
  6. diodotus

    CGI Registration Form

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

    Shopping Cart Processing

    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...
  8. diodotus

    Netscape and Opera just show text were there should be 'html'

    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 &quot;Content-type: text/html\nPragma...
  9. diodotus

    automatic download

    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=&quot;refresh&quot; CONTENT=&quot;3;URL=$url&quot;> -- Scott David...
  10. diodotus

    Ethics and Websites like this one ( Are they bad for programmers?)

    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...
  11. diodotus

    Ethics and Websites like this one ( Are they bad for programmers?)

    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...
  12. diodotus

    Ethics and Websites like this one ( Are they bad for programmers?)

    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...
  13. diodotus

    Form results

    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...
  14. diodotus

    send email

    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...
  15. diodotus

    How can I locate URIs and prepend specific text all URIs on a page?

    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...
  16. diodotus

    Form results

    As I wrote in my last message: &quot;Of course, it will be very important to stupidity-check the user input, to be certain that a nefarious mean-spirited user doesn't try to create files (or overwrite system files!) outside of the directory.&quot; PERL fortunately caught this security problem...
  17. diodotus

    Form results

    Oh, NOW I get what you want! Sorry! Of course, it will be VERY important to stupidity-check the user input, to be certain that a nefarious mean-spirited user doesn't try to create files (or overwrite system files!) outside of the directory. Here's a quick scrawl: Try something like...
  18. diodotus

    Form results

    If I understand what you're asking, yes it is possible -- and in fact easy. I haven't tried this script, so I may have made some boneheaded mistake with regards to syntax or whatnot, but this SHOULD work, as long as whichever user the program runs as has permission to modify the users_name.txt...
  19. diodotus

    mailing my form reslults

    The program Uses the CGI library. And it requires that the server have some sort of program (like sendmail or qmail) on the server, which the CGI script will have the permissions to access.
  20. diodotus

    How can I locate URIs and prepend specific text all URIs on a page?

    This works beautifully on absolute URLs once hacked up a bit! Thanks! Now, I have to figure out how to find all relative URLs into absolute URLs. But I have some ideas where to check for that. :-)

Part and Inventory Search

Back
Top