Using PHP directly from internet explorer and from pages

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
swiftoid
Forum Newbie
Posts: 2
Joined: Thu Oct 19, 2006 4:05 pm

Using PHP directly from internet explorer and from pages

Post by swiftoid »

Can it be done? I have tried a number of diferent kind of calls but none seem to work. The kind of think I am after is to be able to call php via an internet browser ie. IE. A call like this would be great:
_______________________________________________________________
address: | file://c:/php/php.exe?index.php | GO |
-----------------------------------------------------------------------------------------------------

If this is not possible then calling it from a html page would also work. e.g.:

<script src="file://c:/php/php.exe?index.php"></script>


If I could do this then I could make simple user interactive programs to do tasks for me without having to have a webserver to call php. I know this might seem a little stupid becuase I could just write the program in VB or C++ but this option has it's uses for what I'm after.

Can anyone help me?
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

php can be installed as IE-pluging to act like javascript or vbscript.
see http://de2.php.net/manual/en/install.wi ... script.php
You might also find http://gtk.php.net/ to be of interest.
swiftoid
Forum Newbie
Posts: 2
Joined: Thu Oct 19, 2006 4:05 pm

Thanks

Post by swiftoid »

Hey thanks for that, but unfortunately that's not what I'm after. I am looking to be able to say give someone a file with a couple of php scripts and php it'self in it and for them to be able to open a link to internet explorer which then displays the PHPed output as visible html. This seems labourius but let me explain. I have written a large program to run over a network in php but I am now looking to allow it to run on individual machines without having to install a web server like apache which needs a lot of configuration. Any help would be very useful.
Post Reply