Page 1 of 1

Odd question about PHP w/out a server

Posted: Thu Apr 07, 2005 11:53 am
by Chris Corbyn
Does this work?

At work they have locked the PC's down so I cant install apache or PHP.

I get a lot of spare time (most days :? ) so I write code a bit. Generally I'm just working from a USB flash drive so can't run PHP on the local machine since apache or PHP isn't installed.

If I copied my PHP installation from my home pc to the USB drive, is there anyway I can call the interpreter (yes I know it's not ideal) directly from the address bar and pass the php file through it (and yes i'd have to point it to php.ini somewhere else unless I wanted it to use defaults like it does in the CLI)? Therefore taking out the requirement for the webserver. If anybody knows any other ways I can do this locally from a USB drive without physically installing anything please advise. :D

Posted: Thu Apr 07, 2005 12:26 pm
by Chris Corbyn
My sources say its not possible... it wont pipe the output to IE.

Never mind. Just a thought.

Posted: Thu Apr 07, 2005 2:51 pm
by timvw