Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    Regular Coder
    Join Date
    Jan 2005
    Posts
    145
    Thanks
    0
    Thanked 0 Times in 0 Posts

    all program on my website

    how do i add a program on my website that people and use on it i have this password genarator and i want to put it on my site so people can acualy use it without downloading it

  • #2
    raf
    raf is offline
    Master Coder
    Join Date
    Jul 2002
    Posts
    6,589
    Thanks
    0
    Thanked 0 Times in 0 Posts
    i don't think you're adequately explaining what you want to get a meaningfull reply from anyone...
    Posting guidelines I use to see if I will spend time to answer your question : http://www.catb.org/~esr/faqs/smart-questions.html

  • #3
    New to the CF scene
    Join Date
    Sep 2005
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts
    What language is it written in?

  • #4
    Regular Coder
    Join Date
    Jan 2005
    Posts
    145
    Thanks
    0
    Thanked 0 Times in 0 Posts
    the program? its a .exe program

  • #5
    Senior Coder missing-score's Avatar
    Join Date
    Jan 2003
    Location
    UK
    Posts
    2,194
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Im guessing then that you want to somehow allow people to submit data via a web form, pass it to your .exe file, and then pass the result back.

    Take a look at shell_exec()...

    http://www.php.net/shell-exec

  • #6
    Regular Coder
    Join Date
    Jan 2005
    Posts
    145
    Thanks
    0
    Thanked 0 Times in 0 Posts
    ok thx

  • #7
    Regular Coder
    Join Date
    Jan 2005
    Posts
    145
    Thanks
    0
    Thanked 0 Times in 0 Posts
    i dont quite get it can you tell me any clearer? when i tryed it it opens the program i just want the program to be on the site
    Last edited by armyman; 09-12-2005 at 08:49 PM.

  • #8
    Senior Coder missing-score's Avatar
    Join Date
    Jan 2003
    Location
    UK
    Posts
    2,194
    Thanks
    0
    Thanked 0 Times in 0 Posts
    If you mean you want to just let people run the program on your web page I dont think you can do this... Most web browsers wont allow you to run an EXE file, the possible dangers of this are immense...

    If you want the user to be able to submit a password via form and then have PHP run the program, then send back the output, shell_exec() will do what you need.

  • #9
    Regular Coder
    Join Date
    Jan 2005
    Posts
    145
    Thanks
    0
    Thanked 0 Times in 0 Posts
    i have this random password maker adn i want to have it like people cose how long thet want it then the click make advance or make basic and it gives them a random on thats what the passmaker dose and i want it on the site in a form form so once they choose how lone they want it they click

  • #10
    Regular Coder
    Join Date
    Jan 2005
    Posts
    145
    Thanks
    0
    Thanked 0 Times in 0 Posts
    bump

  • #11
    raf
    raf is offline
    Master Coder
    Join Date
    Jul 2002
    Posts
    6,589
    Thanks
    0
    Thanked 0 Times in 0 Posts
    did you try missing-scores suggestion? should work...
    Posting guidelines I use to see if I will spend time to answer your question : http://www.catb.org/~esr/faqs/smart-questions.html

  • #12
    Senior Coder missing-score's Avatar
    Join Date
    Jan 2003
    Location
    UK
    Posts
    2,194
    Thanks
    0
    Thanked 0 Times in 0 Posts
    1. We dont really go much on bumping posts on this forum.

    2. I think I have answered this, but without knowing how your program works exactly (eg: command line arguments) then i cant give you a code to use, But im assuming if you want to run your program through a web page then you would know what command line arguments to use in either case.

    Or are you asking how you can find out what the user entered into the form to be able to run your program and pass them back the encrypted data?

    3. Do you HAVE to run your program like this, I mean, the possible security risks are endless, and besides, there are several different encryption types available already, all of them being very secure (eg: MD5, SHA1 and PHP's crypt() functions).

  • #13
    Regular Coder
    Join Date
    Jan 2005
    Posts
    145
    Thanks
    0
    Thanked 0 Times in 0 Posts
    where is this?

  • #14
    Senior Coder missing-score's Avatar
    Join Date
    Jan 2003
    Location
    UK
    Posts
    2,194
    Thanks
    0
    Thanked 0 Times in 0 Posts


    If you look on this page for posts by missing-score (me), then you can see my suggestions and questions.

  • #15
    Regular Coder
    Join Date
    Jan 2005
    Posts
    145
    Thanks
    0
    Thanked 0 Times in 0 Posts
    o ok well thanks i dident think i would need all that! lol thanks any way ill figur something else out and i dont want to have risks so thanks anyway


  •  
    Page 1 of 2 12 LastLast

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •