Questions tagged [phpdesktop]

PHP Desktop is an open source project providing a way for developing native desktop GUI applications using web technologies such as PHP, HTML5, JavaScript and SQLite. It is written in C++.

Phpdesktop acts as a PHP to EXE compiler. Embedded into a single application it delivers the following components:

  • a web browser (Google Chrome or Internet Explorer)
  • a multithreaded web server (Mongoose)
  • a PHP interpreter

The final single application comes with no external dependencies. Everything is included in the produced binary and ready to work out of the box.

Resources

62 questions
1
vote
0 answers

Laravel Authentication doesnt work after converting my project to desktop app using php desktop chrome

So I have a working Laravel project uploaded on an online domain name. I need to convert this into an offline desktop application. I have made the research and found php desktop chrome: the project converted successfully but on a successful login,…
Eng was
  • 11
  • 1
1
vote
0 answers

(PHPDesktop) How to get Full path of uploaded file on a controlled Chrome browser?

I am developing application with PHPDesktop, one of the features involves uploading file to the app. The drag and drop function is easy to implement, however I need to get the uploaded file full path in order to load other files in the same folder.…
1
vote
1 answer

how to use .htaccess with PHPDesktop?

I'm trying to get my .htaccess file to work with PHPDesktop, but .htaccess doesn't seem to work. I saw that it's possible to hide specific files in the settings.json file, but it seems pretty limited. Is there a way to use my .htaccess file instead…
noClue
  • 958
  • 1
  • 13
  • 34
1
vote
0 answers

How to connect to sql server from php desktop

My application run smoothly on wamp but when I tried to convert it to desktop application using phpdesktop, this error was displayed on the screen could not find driver I have already done this in ini.php in phpdesktop…
fagbemi ayodele
  • 481
  • 1
  • 5
  • 11
1
vote
1 answer

C++ PHP Desktop and CEF crash LoadUrl()

I added a menu bar to PHP desktop that has links in my script like this In c++ code I use WindowProc case IDM_ACCOUNT: CefWindowInfo windowInfo; CefBrowserSettings browser_settings; CefRefPtr cefBrowser; …
user3564579
  • 13
  • 1
  • 3
1
vote
0 answers

Send and read serial data from a PHP Desktop app using Node.js or PHP

As written in the title I made a stand alone web app using PHP Desktop, and now i want it to send and read data from a serial port. I tried first to use this PHP Serial class (https://github.com/rubberneck/php-serial), but i had some problems,…
Trip
  • 13
  • 6
1
vote
1 answer

How to get the same URL every time?

I recently found out about PHP Desktop and I want to use it for one of my future apps. However, something I need to make sure is that the URL is always the same when the program runs. Sometimes it's 127.0.0.1:56162, sometimes it's 127.0.0.1:62425 or…
noClue
  • 958
  • 1
  • 13
  • 34
1
vote
0 answers

Mail sending from phpdesktop application in windows I have to refer this Project website: http://github.com/cztomczak/phpdesktop

Mail sending from phpdesktop application in windows I have to refer this Project website: http://github.com/cztomczak/phpdesktop. I used the package name Phpdesktop-chrome-57.0-RC-PHP-7.1.3 Here no mail config file in php.ini so how to send mail…
1
vote
1 answer

Forcing PHP Desktop to stream php responses

The issue I am having I am am needing to steam output when I echo something in a loop. Now typically I would put something such as ini_set('output_buffering', 'off'); ini_set('zlib.output_compression', false); ob_end_flush(); while…
Micha
  • 383
  • 3
  • 14
1
vote
2 answers

Using php exec() on windows networked drive with no wait or timeout

I have searched extensively to solve the issue of opening an external program in phpdesktop without PHP waiting ultimately making PHP timeout. I need to be able to launch the program with exec() and have the rest of the PHP code execute without…
Micha
  • 383
  • 3
  • 14
1
vote
1 answer

how to display same serial no on two input fields simaltaneously from database

i have two html forms on same page and on top of each form there is an input field that is intended to give each form a serial no. i am using phpdesktop chrome with html5, php, and sqlite3 to show a 6 digit no from orders.db database in an input…
Aqeel Arcade
  • 47
  • 1
  • 7
1
vote
1 answer

How to read data from Excel files and insert into a Sqlite Database using PHP

I have a sqlite database named: db with table named student, columns: name and email. Similarly I have excel file studentdb.xlsx having the similar column name with thousand of rows. I want to read the excel file and import the data into sqlite…
user7602783
1
vote
0 answers

Access to distant PHP files with local PHP/JS files and keeping session alive

For the purpose of a game, I have a server containing the database and PHP files handling requests which make changes to the database, and send through a pusher API (Pubnub) message to clients detailing the new state of the game (they receive it…
Keyle
  • 58
  • 9
1
vote
3 answers

Compile Error: The process cannot access the file because it is being used by another process

I want to create an php site into exe file. so thatI am using Innoscript software to create exe files.. while compiling the inno script error will be occurred Compile Error: The process cannot access the file because it is being used by another…
Kalaivani M
  • 1,250
  • 15
  • 29
1
vote
1 answer

laravel 5.1 + phpdesktop gives fatal error: Call to undefined function mb_internal_encoding()

I am trying to use Laravel 5.1 with phpdesktop (https://github.com/cztomczak/phpdesktop). I configured everything according to instructions but I get a fatal error for the first page itself. Fatal error: Call to undefined function…
Vivek Padhye
  • 731
  • 3
  • 13
  • 26