Page 1 of 2
Opening .exe in a browser (I Will pay for this code!)
Posted: Sun Jan 18, 2004 7:41 pm
by Z3r0Eff3ct
Hi,
When I try to open a .exe in a browser like IE or NS it displays a dialog box if I want to download it or not. What I would want is for the .exe file to open without displaying any dialog boxes, so the visitor never knows about this. If somebody makes this simple code for me I will pay.
My AIM: Z3r0 Eff3ct
My email:
Z3r0Eff3ct@aol.com
Thnx
Posted: Sun Jan 18, 2004 7:44 pm
by Gen-ik
I don't think it can (and it shouldn't) be done for security reasons.
If browsers could automatically open exe files and run them without the users knowledge then we would all be in trouble from the amount of damage that would be possible.
Posted: Sun Jan 18, 2004 7:45 pm
by qads

and...what do you plan to install with such code? O_o..spyware? a virus?
Posted: Sun Jan 18, 2004 7:50 pm
by dethron
I don't feel good things about this post either.
Especially, someone wants to pay for this.
......Linux RULES......
Posted: Sun Jan 18, 2004 8:00 pm
by lazy_yogi
LOL .... interesting name :
Z3r0Eff3ct
No effect == pointless ?
Maybe u can change ur name to
p01n713ss
Couldn't help myself

Posted: Mon Jan 19, 2004 12:54 am
by basdog22
I only saw this once. An exe to count visitors but it was somehow called from cgi. An example can be found with an OmniHTTPd installation

Posted: Mon Jan 19, 2004 8:02 am
by Gen-ik
Counting visitors == PHP
Counting visitors != exe
Posted: Mon Jan 19, 2004 8:37 am
by twigletmac
Normally the rationalisation for things like this is 'I need it for an intranet', 'My clients are too stupid to do things the way everyone else does'. They never think 'Geez, that would be a stupid security hole, anyone could install anything on my PC, I wouldn't like that'. Bah, I rank this up with the, 'I want to print something via a webpage but I don't want the user to have to authorise it, I want it to happen automatically'.
Mac
Posted: Mon Jan 19, 2004 8:59 am
by Straterra
Mac, you forgot about that post about the guy wanting us to tell him how to get into a Linux host..LoL..It ranks right up there with that post!
viewtopic.php?t=16255&highlight=linux+host
Posted: Mon Jan 19, 2004 2:33 pm
by basdog22
Counting visitors == PHP
Counting visitors != exe
Gen-ik
I am sure i saw it. I cheked it today.
Grab yourself an OmniHTTPd copy and install it. You will see on the test page an exe that counts visitors.
I neither understood the idea but... it is there

??
Posted: Mon Jan 19, 2004 2:43 pm
by ol4pr0
Hmm.. exe in browser.. interesting question..
however it can be done.. just not with php code. you are looking in the wrong forum for youre answers.
Second of all i think you are to angious to have such a code.
Posted: Mon Jan 19, 2004 2:57 pm
by kettle_drum
Opening an .exe in a browser would run the program on the users computer - pretty pointless if your trying to count the number of hits your site gets.
If you ignore the huge security risks then you are still left with the fact that .exe 's will only run on Windows machines and not linux/unix/mac - so it would also be an inaccurate way to measure page hits.
Posted: Mon Jan 19, 2004 3:04 pm
by Straterra
Kettle, It could would..A program that uses sockets to send data, and the data is then counted on the server.
Posted: Mon Jan 19, 2004 3:08 pm
by basdog22
something to make clear here:
I never used this code .Never will
I just said it can be done and mentioned where i saw it

Posted: Mon Jan 19, 2004 3:12 pm
by ol4pr0
Dont think that the exe youre referring 2 is a exe that needs to be installed on the client side.. do you?!
Cause i agree with all of ya that it would be a hazard for all i-net users to have such a program run behind webpages. ( even for linux )