jantech / phpdesktop Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/phpdesktop
Automatically exported from code.google.com/p/phpdesktop
What steps will reproduce the problem?
1.Running a while statement every 3 minutes
2.Executing a system command
3.
What is the expected output? What do you see instead?
It continues to running until I close the app. That is the expected outcome.
But instead i get 404 and i can only run for 2 hours php-cgi.exe doesn't
function.
What version of the product are you using? On what operating system?
Windows server 2008
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 26 Feb 2013 at 6:39
I had create a version of PHPDesktop using Chromium (with the -app option,
which give us a SSB mode of the Chromium Browser).
It's a different solution and it's not the way you are doing, but I ask you to
take a look, if you have time. It's very nice solution and working.
Only bad thing is the size, 29.1 MB, because of the ChromiumPortable, that is
installed in the PHPDesktop folder.
Download, extract and run Launcher.exe to take a look.
A possible solution too may be find the chrome.exe of the Chrome installation
in the host computer, but it's not trust that the chrome will be always
installed in the host computer, so I used the ChromiumPortable version.
You can download it from here:
http://www.mediafire.com/?fwjmm6vphrs3t2e
Original issue reported on code.google.com by [email protected]
on 1 Mar 2013 at 9:37
When developing a desktop application there might be the need to run
a PHP script that does some heavy lifting, thus executes for a
significant amount of time, for that we need to embed a multi-threaded
web server (Issue 14) in the first place.
One way for such an API would be to run php scripts asynchronously
in the background using for example CURL library. It would be nice
if such API provided a way to provide callbacks, so that you can be notified
when the background job finished executing, such callback
might be an URL to a php script or a Javascript function that will
get called in the browser, though javascript callback might be hard
to implement and it is probably only possible if we go with direct
PHP API calls (Issue 3).
Another approach is to create a javascript API for executing php jobs
in background using XMLHttpRequest, this way browser gets notified when
a job has finished and it will play nicely with an embedded web-server.
Original issue reported on code.google.com by [email protected]
on 15 Jan 2013 at 7:09
When there is an external link on a page we should not load it
in our application's browser control, it should load in system's
default browser.
In our application's web-browser control we should allow loading only
urls starting with http://127.0.0.1:54007/.
Maybe we should allow to customize this behavior, a list of urls
that should be allowed to load in web-browser control and all
others should be run in system's default browser.
Original issue reported on code.google.com by [email protected]
on 13 Jan 2013 at 3:04
Mongoose options:
https://github.com/valenok/mongoose/wiki/Manual
We might consider adding these to settings.json:
access_log_file
enable_directory_listing
error_log_file
extra_mime_types
num_threads
url_rewrite_patterns
Original issue reported on code.google.com by [email protected]
on 19 Jan 2013 at 4:03
Seems like the PHP built-in webserver is not multi-threaded, it
can handle only one request at the same time, this can be a problem
when executing scripts that take a significant amount of time. Take
for example this scenario:
test1.php
---------
{{{
<?php
sleep(5);
print("test1 finished.");
?>
}}}
test2.php
---------
{{{
<?php
print("test2 finished.");
?>
}}}
Run test1.php & test2.php, you will see that you have to wait five
seconds before test2.php is executed, as test1.php has made the
web-server busy.
The same problem exists when using direct PHP API calls, see Issue 3.
Original issue reported on code.google.com by [email protected]
on 15 Jan 2013 at 5:26
We definitely need chrome's engine in next version.
Original issue reported on code.google.com by [email protected]
on 18 Jun 2012 at 6:02
Allow renaming php.exe file so that in Task Manager processes
it can be identified with the application.
Original issue reported on code.google.com by [email protected]
on 13 Jan 2013 at 1:22
it wants to write to C:\Windows
Original issue reported on code.google.com by [email protected]
on 5 Mar 2013 at 6:55
Popup windows have not yet been tested, we should support
creation of popup windows through "window.open()" in javascript.
Original issue reported on code.google.com by [email protected]
on 14 Jan 2013 at 9:37
A www/ directory could be archived as a zip file and embedded
in the exe as a resource. Create a tool for such embedding of
zip files in an exe and a way to execute php scripts from this
zip file.
This is not a high priority as protection of sources is already
possible with ionCube, ZendGuard, SourceGuardian, Nu-Coder, as
you can load custom php extensions that act as decoders.
Original issue reported on code.google.com by [email protected]
on 13 Jan 2013 at 4:39
In settings file we could have options for customizing application's window,
some of the options might allow setting:
* default window size
* minimum/maximum window size when resizing
* disable maximize button
* center the window on the screen
Original issue reported on code.google.com by [email protected]
on 13 Jan 2013 at 1:19
There is a freezing problem in Mongoose 3.6 & 3.7 versions,
this bug seems to be related only to Internet Explorer browser,
Google Chrome works fine with Mongoose. More detailed explanation
of the problem can be read on the mongoose-users forum:
https://groups.google.com/d/topic/mongoose-users/9h9470U9jXY/discussion
In the meantime I will make a PHP Desktop MSIE release with
PHP built-in web server.
Original issue reported on code.google.com by [email protected]
on 8 Feb 2013 at 8:50
We should provide a tool for embedding custom icon in the exe file, the
instructions on the main page to use Resource Hacker and edit icon group
manually is not acceptable.
Application should load the icon dynamically by reading "icon.ico" file in
current directory or we should include a tool to easily embed an icon in just
one click.
Original issue reported on code.google.com by [email protected]
on 13 Jan 2013 at 2:55
When Mongoose web-server gets implemented (Issue 14), we will be able
to embed any scripting language that provides a CGI executable. To do
this you would need to make only a single change to the settings.json
file by changing "cgi_executable" path. We might as well provide binary
examples of such embedding on the main page.
Original issue reported on code.google.com by [email protected]
on 17 Jan 2013 at 7:32
Delete key does not work in Input and Textarea controls
in the Internet Explorer engine, on the other hand Backspace
key seems to be working fine, how is that?
Original issue reported on code.google.com by [email protected]
on 13 Jan 2013 at 7:10
Currently we are running php web-server at http://127.0.0.1:54007/, the
downside of it is that it can cause some troubles with firewalls, when running
application they they may ask user whether this application is allowed to
listen at 127.0.0.1 on port 54007.
We should make this an option whether we want to act as a web-server or execute
scripts directly by running command "php.exe -f myscript.php".
The possible advantage of running as a webserver might be a better performance,
but there is only one user connecting to that web-server in our case, so the
gain is dubious.
Original issue reported on code.google.com by [email protected]
on 13 Jan 2013 at 1:15
When there is a navigation error you will see a page with
standard Internet Explorer message explaining that it failed
to load the page and suggests some solutions. Application
should display its own custom html page in such circumstances,
or allow for a redirect to some php script.
Original issue reported on code.google.com by [email protected]
on 14 Jan 2013 at 7:51
We need a way to protect the www/ directory, using php encoder
is an option, but it won't protect other files in the www
directory.
Before we start work on thiss issue we need to implement Chrome
engine (Issue 1) and PHP API calls (Issue 3).
If the www directory is embedded in zip file, we should not extract
it anywhere to the file system, the best way is to extract it to
memory, so that it's really hidden. But doing it this way won't
work with web-server (unless we modify web-server to work with our
virtual in-memory filesystem). In Chrome web-server is not needed,
as there Scheme handler that acts similarly to a web-server.
For keeping www directory in memory we will probably need some kind
of Virtual File System.
To execute PHP scripts that aren't accessible through local file
system we would have to hook up to the PHP API (Issue 3).
The www directory can be encrypted in a zip file using AES encryption,
we could use this simple C++ library:
http://www.lomont.org/Software/Misc/AES/AES.php
We will also need some zip library.
An option for the zip file to reside along with the exe file (
data.zip or data.dat - the zip filename could be customized through
settings.json file).
The best option would be to embed that zip file in exe file as
a resource.
Some tool for automating the process of encrypting zip file and
embedding it in exe file would be useful.
Original issue reported on code.google.com by [email protected]
on 2 Feb 2013 at 3:13
Currently you can run multiple instances of an application, but
there might be a need to allow only for a single instance of an
application, we should add such option to "settings.ini" file.
Original issue reported on code.google.com by [email protected]
on 13 Jan 2013 at 5:25
The default port for running php web-server is 54007, but
this port might already be occupied by another application
or by our application when running multiple instances.
Therefore we should check if this port is free and if not
then generate a random port in the range 49152โ65535, try
drawing for at least 100 tries until you find a free port.
How to check if port is free? Need to google it.
Original issue reported on code.google.com by [email protected]
on 13 Jan 2013 at 5:13
See this post:
https://groups.google.com/d/msg/mongoose-users/9h9470U9jXY/mWEuITubAvIJ
Original issue reported on code.google.com by [email protected]
on 16 Feb 2013 at 4:57
Using Chrome's engine instead of IE engine
Original issue reported on code.google.com by [email protected]
on 4 May 2012 at 9:34
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.