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

  • Users: MMage
  • Order by date
  1. MMage

    Login scripts: How to serve information based on user?

    Thank You very much. This is exactly what I was looking for. You guys are awesome. I try not to ask a question here unless I'm at wits end, but ever time I do you always help me out. ^^ One day I'll know this stuff as well as you guys do ^^
  2. MMage

    Login scripts: How to serve information based on user?

    I could use some guidance with login scripts. I know what I'm trying to do is straight forward but I've been having trouble finding example code or guides to work off of. What I'm trying to do is have a login for my site so that once someone is logged in they can only retreive their own...
  3. MMage

    Forcing properties to be passed by referece?

    Thank you. Passing the object itself worked and will allow me to reuse this code for the other int feilds in the form. I wish I could have come up with this on my own and not have to bother you guys. I guess you learn these things as you go... again thank you very much for your help.
  4. MMage

    Forcing properties to be passed by referece?

    I'm working on a verification program for a form, I have the code for how to verify each value completed but I'm trying to put the code into a function to make it reusable. The way I have the code written right now if the user enters a value that is not suitable it changes the visibility of a...
  5. MMage

    Only allow a script to run if called from a specific location?

    I'm writting a Database interface script that, for security reasons, I only want to run if called from a specific page for instance: http://127.0.0.1/lookuppage.html I've looked around and haven't been able to find anything on how I would do something like that. Does perl have this capability...
  6. MMage

    IE asks to save .pl files. mime type issue?

    I was able to solve my own problem thank heavens. Active state perl 5 when it is installed with the option to create a file extension causes IE to do that... I don't have the specifics on the behavior but for anyone else who runs into this issue and has active state perl 5 try reinstalling it...
  7. MMage

    IE asks to save .pl files. mime type issue?

    Hello, I'm having a bit of trouble with my .pl files in my CGI-bin. I am running w2k, apache 2, and active state perl 5. In IE when I try to run the printenv.pl script it asks me to save it to disk, if I change the extension to .cgi or even .txt apache will run it as a perl script like it is...
  8. MMage

    MSIE mime type problem

    The .cgi trick worked. Thanx. I think; however, I'm going to ask microsoft if there is a way to disable this behavior. If I make any progress I'll post a tip to this forum, because I know I'm not the only one who has had this problem.
  9. MMage

    MSIE mime type problem

    Yes, I have it set as text/plain. It's actually the printenv.pl file that comes with apache. It works fine in Netscape, but not in MSIE. What I'm really asking is is their anyway besides defining your own mime type to make MSIE handle the output correctly? For instance a text file that has html...
  10. MMage

    MSIE mime type problem

    Hi, I have I problem that I've quickly found out is anything but unique to me. I have have a CGI program written in Perl. It executes fine in netscape but not in IE. Though I know IE tries to save it instead of displaying because of the way it handles mime types, I haven't found an explaination...
  11. MMage

    "Unable to open include file ' istream'". Beginner in C++

    I actually had this problem a short time ago, after reading the documentation I discovered you had to use the -I and -L options. I did this by using a .cfg file. Here is an excert from the readme that explains how to do it: From the bin directory of your installation: a. Add...
  12. MMage

    images as buttons

    You can unsquish your image by replacing the width and height attribute values in the image tag with the height and width values of your image. If you are only using one image you should be able to get rid of the onMouseDown, onMouseUp, and onMouseOut handlers, they are used to replace the...
  13. MMage

    cgi script execution - registry problem?

    Sorry, its a no go. I reinstalled both apache and perl, changed the same things and it gives me the same output as before. I just need a server that will allow me to process cgi files. Is there a server that is compatible with windows 98 that will allow me to specify my document root and...
  14. MMage

    cgi script execution - registry problem?

    I tried starting over and wen to the original configuration. I first enable the addhander for cgi: Add handler cgi-bin .cgi .pl That got rid of the 500 server error. To keep it from giving me a 404 I made a relative path from the file(test.html), located in my document root, like this...
  15. MMage

    cgi script execution - registry problem?

    I have been trying to get my cgi programs to work in apache for a few weeks now and I have come up against problem after problem. Yesterday I unccommented the ScriptInterpreterSource registry and it stopped giving me the 500 internal server error: unable to spawn child proccess. Now however...

Part and Inventory Search

Back
Top