Opening .exe in a browser (I Will pay for this code!)

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Z3r0Eff3ct
Forum Newbie
Posts: 1
Joined: Sun Jan 18, 2004 7:41 pm

Opening .exe in a browser (I Will pay for this code!)

Post 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
Gen-ik
DevNet Resident
Posts: 1059
Joined: Mon Aug 12, 2002 7:08 pm
Location: London. UK.

Post 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.
qads
DevNet Resident
Posts: 1199
Joined: Tue Apr 23, 2002 10:02 am
Location: Brisbane

Post by qads »

8O and...what do you plan to install with such code? O_o..spyware? a virus?
User avatar
dethron
Forum Contributor
Posts: 370
Joined: Sat Apr 27, 2002 11:39 am
Location: Istanbul

Post by dethron »

I don't feel good things about this post either.
Especially, someone wants to pay for this. :)

......Linux RULES......
User avatar
lazy_yogi
Forum Contributor
Posts: 243
Joined: Fri Jan 24, 2003 3:27 am

Post by lazy_yogi »

LOL .... interesting name : Z3r0Eff3ct
No effect == pointless ?

Maybe u can change ur name to p01n713ss

Couldn't help myself 8O
basdog22
Forum Contributor
Posts: 158
Joined: Sun Nov 30, 2003 3:03 pm
Location: Greece

Post 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 :wink:
Gen-ik
DevNet Resident
Posts: 1059
Joined: Mon Aug 12, 2002 7:08 pm
Location: London. UK.

Post by Gen-ik »

Counting visitors == PHP
Counting visitors != exe
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post 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
Straterra
Forum Regular
Posts: 527
Joined: Mon Nov 24, 2003 8:46 am
Location: Indianapolis, Indiana
Contact:

Post 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
basdog22
Forum Contributor
Posts: 158
Joined: Sun Nov 30, 2003 3:03 pm
Location: Greece

Post by basdog22 »

Counting visitors == PHP
Counting visitors != exe
Gen-ik :D

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 8O 8O 8O 8O
User avatar
ol4pr0
Forum Regular
Posts: 926
Joined: Thu Jan 08, 2004 11:22 am
Location: ecuador

??

Post 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.
kettle_drum
DevNet Resident
Posts: 1150
Joined: Sun Jul 20, 2003 9:25 pm
Location: West Yorkshire, England

Post 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.
Straterra
Forum Regular
Posts: 527
Joined: Mon Nov 24, 2003 8:46 am
Location: Indianapolis, Indiana
Contact:

Post by Straterra »

Kettle, It could would..A program that uses sockets to send data, and the data is then counted on the server.
basdog22
Forum Contributor
Posts: 158
Joined: Sun Nov 30, 2003 3:03 pm
Location: Greece

Post 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 :P :P :P :P
User avatar
ol4pr0
Forum Regular
Posts: 926
Joined: Thu Jan 08, 2004 11:22 am
Location: ecuador

Post 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 )
Post Reply