473,320 Members | 2,112 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Running PHP scripts from browser without a webserver on MS

Hi all,

I am looking for a way to run PHP scripts without using a webserver
(from a MS Windows machine). While there are shareware solutions for
doing this, it strikse me that it might be possible to use HTA (http://
http://www.microsoft.com/technet/scr...hubs/htas.mspx) to achieve my
result, however all the documentation just describes doing this with
VBScript.

So far I've not found anything relevant in Google.

I'd prefer not to have to re-write the code to work with GTK

Anybody had any experiences in this area they would like to share?
Links?

TIA

C.
Jun 2 '08 #1
8 1536
On 17 Apr, 12:41, "C. (http://symcbean.blogspot.com/)"
<colin.mckin...@gmail.comwrote:
Hi all,

I am looking for a way to run PHP scripts without using a webserver
(from a MS Windows machine). While there are shareware solutions for
doing this, it strikse me that it might be possible to use HTA (http://www.microsoft.com/technet/scr...hubs/htas.mspx) to achieve my
result, however all the documentation just describes doing this with
VBScript.

So far I've not found anything relevant in Google.

I'd prefer not to have to re-write the code to work with GTK

Anybody had any experiences in this area they would like to share?
Links?

TIA

C.
If you want to run php scripts without a webserver, why not just use
the command line version. What do you need the browser for?
Jun 2 '08 #2
On 17 Apr, 12:50, Captain Paralytic <paul_laut...@yahoo.comwrote:
On 17 Apr, 12:41, "C. (http://symcbean.blogspot.com/)"

<colin.mckin...@gmail.comwrote:
Hi all,
I am looking for a way to run PHP scripts without using a webserver
(from a MS Windows machine). While there are shareware solutions for
doing this, it strikse me that it might be possible to use HTA (http://www.microsoft.com/technet/scr...hubs/htas.mspx) to achieve my
result, however all the documentation just describes doing this with
VBScript.
So far I've not found anything relevant in Google.
I'd prefer not to have to re-write the code to work with GTK
Anybody had any experiences in this area they would like to share?
Links?
TIA
C.

If you want to run php scripts without a webserver, why not just use
the command line version. What do you need the browser for?
Interface sugar really. The target users are not the most
sophisticated.

C.
Jun 2 '08 #3
On 17 Apr, 13:34, "C. (http://symcbean.blogspot.com/)"
<colin.mckin...@gmail.comwrote:
On 17 Apr, 12:50, Captain Paralytic <paul_laut...@yahoo.comwrote:
On 17 Apr, 12:41, "C. (http://symcbean.blogspot.com/)"
<colin.mckin...@gmail.comwrote:
Hi all,
I am looking for a way to run PHP scripts without using a webserver
(from a MS Windows machine). While there are shareware solutions for
doing this, it strikse me that it might be possible to use HTA (http://www.microsoft.com/technet/scr...hubs/htas.mspx) to achieve my
result, however all the documentation just describes doing this with
VBScript.
So far I've not found anything relevant in Google.
I'd prefer not to have to re-write the code to work with GTK
Anybody had any experiences in this area they would like to share?
Links?
TIA
C.
If you want to run php scripts without a webserver, why not just use
the command line version. What do you need the browser for?

Interface sugar really. The target users are not the most
sophisticated.

C.
If that's the case, why not install a local web server and then it
will look just like any other web page.
Jun 2 '08 #4
On Thu, 17 Apr 2008 05:34:46 -0700 (PDT), C.
(http://symcbean.blogspot.com/) wrote:
On 17 Apr, 12:50, Captain Paralytic <paul_laut...@yahoo.comwrote:
>On 17 Apr, 12:41, "C. (http://symcbean.blogspot.com/)"

<colin.mckin...@gmail.comwrote:
Hi all,
I am looking for a way to run PHP scripts without using a webserver
(from a MS Windows machine). While there are shareware solutions
for doing this, it strikse me that it might be possible to use HTA
(http://www.microsoft.com/technet/scr...hubs/htas.mspx) to
achieve my result, however all the documentation just describes
doing this with VBScript.
There's probably ways to hook in via C as well, that makes for writing
your own php extension, which is a non-trivial task to do well.
So far I've not found anything relevant in Google.
I'd prefer not to have to re-write the code to work with GTK
Anybody had any experiences in this area they would like to share ?
Links ?
TIA
C.

If you want to run php scripts without a webserver, why not just use
the command line version. What do you need the browser for?

Interface sugar really. The target users are not the most
sophisticated.
Webserver/browser combination or Gtk or ncurses, etc., *are* your
interface sugar basically. If you want them, you have to use them or
write your own. (And if you're thinking about writing your own, think
really, really hard. It'll be a bigger task that all of the rest of your
project combined.)

--
Graham's First Rule of Internet Retailing:
If your 'shopping cart' site requires anything more complex than
HTML, SSL and a session cookie, at least one of your competitors
will run a site which does not. Your competitor will get the sale.
Jun 2 '08 #5
Captain Paralytic escribió:
>>If you want to run php scripts without a webserver, why not just use
the command line version. What do you need the browser for?
Interface sugar really. The target users are not the most
sophisticated.
If that's the case, why not install a local web server and then it
will look just like any other web page.
I've seen several programs that do so, including Google Desktop. It's
definitively the best solution unless you want to write your own GUI
using php-gtk [1] or WinBinder [2].

[1] http://gtk.php.net/
[2] http://winbinder.org/
--
-- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web: http://bits.demogracia.com
-- Mi web de humor al baño María: http://www.demogracia.com
--
Jun 2 '08 #6
On 17 Apr, 16:16, "Álvaro G. Vicario"
<alvaroNOSPAMTHA...@demogracia.comwrote:
Captain Paralytic escribió:
>If you want to run php scripts without a webserver, why not just use
the command line version. What do you need the browser for?
Interface sugar really. The target users are not the most
sophisticated.
If that's the case, why not install a local web server and then it
will look just like any other web page.

I've seen several programs that do so, including Google Desktop. It's
definitively the best solution unless you want to write your own GUI
using php-gtk [1] or WinBinder [2].
I don't want any of this, I was just responding to the OP.

Jun 2 '08 #7
Greetings, C. (http://symcbean.blogspot.com/).
In reply to Your message dated Thursday, April 17, 2008, 16:34:46,
I am looking for a way to run PHP scripts without using a webserver
(from a MS Windows machine). While there are shareware solutions for
doing this, it strikse me that it might be possible to use HTA
(http://www.microsoft.com/technet/scr...hubs/htas.mspx) to achieve my
result, however all the documentation just describes doing this with
VBScript.
You can install PHP as ActiveScript language (I suppose, that VBscript is not
only one possible language in there).
--
Sincerely Yours, AnrDaemon <an*******@freemail.ru>

Jun 27 '08 #8
NC
On Apr 17, 4:41*am, "C. (http://symcbean.blogspot.com/)"
<colin.mckin...@gmail.comwrote:
>
I am looking for a way to run PHP scripts without using a webserver
(from a MS Windows machine).
Take a look at phpDock:

http://www.nusphere.com/products/phpdock.htm
While there are shareware solutions for doing this, it strikse me
that it might be possible to use HTA
Yes. Look into ActiveScript installation:

http://www.php.net/manual/en/install...tivescript.php

Cheers,
NC
Jun 27 '08 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Rolfe | last post by:
Hi, I struggled, and got mod_python running on Apache/Win2k. Follow these instructions verbatim and you shouldn't have any trouble. These instructions are based on...
3
by: sinister | last post by:
I have a site hosted by a commercial webhosting service. As such, I don't have any real control over the webserver (in this case, Apache). What are the most basic, essential elements of security...
4
by: Dr. StrangeDub | last post by:
I am part of a group that has developed an ASP.Net web application. I am looking for a way to determine whether or not the browser is actually running on the web server. For this case (when...
1
by: Tobias Nilsson | last post by:
I have almost exactly the same problem as the guy below. Is it NOT possible running .NET code locally in Internet Explorer WITHOUT a webserver???? I've done some C# code and compiled to a .dll...
3
by: Bob | last post by:
I have created some WSH scripts on my Webserver that are executed by the Windows Task Scheduler. I want to be able to execute some of these scripts using a web interface and don't want to duplicate...
5
by: jeremy | last post by:
I have an ASP.Net 2.0 application running on Windows Server 2003. The application displays properly in Internet Explorer, however, when I use a browser control embedded in a .net form, I get an...
4
by: David | last post by:
Is the Development Server part of the .net 2x runtime package or installed with one installs VS 2005? I wish to run a small web app on a machine, with the runtime installed, and need to know if I...
1
by: mpc | last post by:
hello, how does one run a PHP page with a python webserver? Lets say i have a simple python web server running /path/webserver.py #!/usr/bin/env python from BaseHTTPServer import HTTPServer...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.