Nice concept to create a Desktop Application using PHP. But after installation all the php file is visible in www folder in installed drive. And may problem of privacy (for both php code and remote DB access). Please suggest the best way to encrypt those code or way to hide from general user and experts.
Please complete your project using laravel artisan development environment and then convert it to deployment version. I think it should work. I will try it today and reply you soon
Thanks for your Amazing explantion , although My application not able to login in the same time on Localhost is working fine but in the Phpdisktop not login?
When the window opens, I get the following error: Error 500: Internal Server Error CGI program sent malformed or too big (>16384 bytes) HTTP headers: [] Please help me and thanks
I have created base path. ./billing is folder name. I have create base path like $base_path="local host:80/billing/". PHPdesktop does not run on port 80 that's why I have get it from $_SERVER. YOu need to do this if your CSS/JS is not working.
You can add css and javascipt similar as normal web application, If your CSS and JS is not loading then you can right click on PHP desktop application window , use open in browser and then inspect. PHP desktop application does not run on default port 80 so u can also try giving path with using PHP $_SERVER variable
@@hemangichandgude4532 Let's assume you want to link css file which is located at localhost/your-project/css/style.css and you want to link. Using PHP server variable you have to create base path similar like $_SERVER['SERVER_NAME']:$_SERVER['SERVER_PORT']/your-project/css/style.css or you can try giving path using relative location.
@@hemangichandgude4532 Please create CSS file inside www/css/ folder and give link as . Its working for me. Please check this link for code screenshot snipboard.io/yuzDYV.jpg
It's fully support sessions. Please check that you have started session using session_start(); and try to set simple $_SESSION['username']='john'; on one page and try to print session variable on another page. Ex. session_start(); echo $_SESSION['username'];
@@yadhunadhchemmarassery2235 Yes, If you have made changes in PHP desktop settings then you need to send new exe file otherwise u can follow The logic something like this, Create 1 file which will check for update on remote. If there are updates It will download zip file from remote and unlink all file from www folder. and extract downloaded zip. If there updates in table structures in database then u also need to change everything using PHP. Please refer version update logic first on google.
Sir is there any way to update the php version to the latest of this.I tried updating php by replacing that folder with the latest version of php and mysql doesnt support with that.Please reply me sir, have a great day
Can I use xampp instead of SQLite if i want to make an offline app? And can it be compiled with innosetup so that when installed it will not install xampp anymore?
@@johnpaulpallasigui5516 PHP desktop doesn't comes with MySql Server. If you want to use MySql to store data then you can host your database at any online database server. You will get it free if you search. If you want to create portable offline application then you have to use Sqlite which is almost similar to MySQL.
Someone help me guys:: I had website in php html JavaScript and css which works well on xampp server but while converting it to desktop app the JavaScript is not functioning
Hello, I have tried to do it with codeigniter and I have not been successful, can you help me to do it with codeigniter? the error is Message: session_start(): Failed to initialize storage module: user (path: )
Hello sir, it is very good experience with localhost but when i try to connect my online remote server i faced a technical issue which is :- mysqli_connect(): (HY000/2002): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond .... Please help me and advice how to solve it. thanks
Please make sure that you have enabled remote mysql in Cpanel. If enabled use IP address of your online server as hostname. You can get IP address of your website using site www.site24x7.com/find-ip-address-of-web-site.html
@@SulochanaTutorials i am connecting with my sub domain. and i entered correct ip address but i am facing same technical error. is it possible with multiple databases bcoz i have multiple databases in my host cpanel.??
Thank you so much for this video, it's really amazing. However, I would like to ask a question: can that setup (the setup created) be installed on another computer without any problem ?
Httrack is ultimate. Please go to settings while creating project and change browser id to Linux. It will definitely work for you. You can search for mirror empty problem in TH-cam.
You give without a vest & You give it a lot.
Nice concept to create a Desktop Application using PHP.
But after installation all the php file is visible in www folder in installed drive. And may problem of privacy (for both php code and remote DB access). Please suggest the best way to encrypt those code or way to hide from general user and experts.
Please ask or search question on official PHPdesktop git repository
It is possible to use the framework with laravel project, I m trying i get error page not found etc
Please complete your project using laravel artisan development environment and then convert it to deployment version. I think it should work. I will try it today and reply you soon
@@SulochanaTutorials and what did you get?
i am not understand which database credentials you import in that ..is it localhost credentials or server credentials
how can we do it for local server using mysql
I'm new. Will the desktop application need internet to run/connect to database?
how to disable or hide minimize button? also hiding maximize button?
Great job...
Header function is not working to me ..please help
PHP DESKTOP Fully support header function. Please check same coding working in XAMPP browser. Try to use ob_start() function
Thanks for your Amazing explantion , although My application not able to login in the same time on Localhost is working fine but in the Phpdisktop not login?
sir, I am struggling with webcam.js javascript which is not supported by PHP desktop (error when using a webcam)
please me sir
Hello, Is it possible to change the app blue icon into my app icon?
Yes
@@SulochanaTutorials how to change it? i have modified the settings in json but stil when i open the system the blue icon is they same
When the window opens, I get the following error:
Error 500: Internal Server Error
CGI program sent malformed or too big (>16384 bytes) HTTP headers: []
Please help me and thanks
what is ."/billing" IN CONNECTION PHP after port no...
I have created base path. ./billing is folder name. I have create base path like $base_path="local host:80/billing/". PHPdesktop does not run on port 80 that's why I have get it from $_SERVER. YOu need to do this if your CSS/JS is not working.
@@SulochanaTutorials not connected data base..
Where is your database. Local or online
@@SulochanaTutorials local
@@SulochanaTutorials i use sql data base which by default...... phpmyadmin...
if my half project is in laravel and half in php will that be an issue ?
It is nice to have my own icon for setup file. But I want to have same (or any other) icon for exe file. How can I do it?
Please check for innosetup documentation. I don't know it. If you find something then please comment here. I will also search for it.
where we add external css and js files when creating php desktop application bcoz css and js functions are not working
You can add css and javascipt similar as normal web application, If your CSS and JS is not loading then you can right click on PHP desktop application window , use open in browser and then inspect. PHP desktop application does not run on default port 80 so u can also try giving path with using PHP $_SERVER variable
@@SulochanaTutorials can you please give any example to set path $_server
@@hemangichandgude4532 Let's assume you want to link css file which is located at localhost/your-project/css/style.css and you want to link. Using PHP server variable you have to create base path similar like $_SERVER['SERVER_NAME']:$_SERVER['SERVER_PORT']/your-project/css/style.css or you can try giving path using relative location.
@@SulochanaTutorials its not working
@@hemangichandgude4532 Please create CSS file inside www/css/ folder and give link as . Its working for me.
Please check this link for code screenshot snipboard.io/yuzDYV.jpg
that's great sir, may I ask you something sir, Which one the best DB I use for php dekstop aplication??
The application is not accepting sessions eg.username passing as session name.any idea about that?
It's fully support sessions. Please check that you have started session using session_start(); and try to set simple $_SESSION['username']='john'; on one page and try to print session variable on another page. Ex. session_start(); echo $_SESSION['username'];
@@SulochanaTutorials It worked.The problem i had placed the "session_start()" in the midst of the codes.Thanks Alot
@@devngecu Always Welcome
Can you please tell me, how to update the php file changes and mysql database changes offline in the client machine?
Replace www folder
@@SulochanaTutorials OK, and can i replace the www folder remotely and send the .exe file to client? Thanks!
@@yadhunadhchemmarassery2235 Yes, If you have made changes in PHP desktop settings then you need to send new exe file otherwise u can follow The logic something like this, Create 1 file which will check for update on remote. If there are updates It will download zip file from remote and unlink all file from www folder. and extract downloaded zip. If there updates in table structures in database then u also need to change everything using PHP.
Please refer version update logic first on google.
@@SulochanaTutorials OK thanks
how to use web server offline like xampp?
Sir is there any way to update the php version to the latest of this.I tried updating php by replacing that folder with the latest version of php and mysql doesnt support with that.Please reply me sir, have a great day
Can I use xampp instead of SQLite if i want to make an offline app? And can it be compiled with innosetup so that when installed it will not install xampp anymore?
Yes
@@SulochanaTutorials i hope u can provide a tutorial for this using xampp. 😊
@@johnpaulpallasigui5516 PHP desktop doesn't comes with MySql Server. If you want to use MySql to store data then you can host your database at any online database server. You will get it free if you search. If you want to create portable offline application then you have to use Sqlite which is almost similar to MySQL.
@@SulochanaTutorials Thanks :)
Someone help me guys:: I had website in php html JavaScript and css which works well on xampp server but while converting it to desktop app the JavaScript is not functioning
Please give billing application that you used in this video
Why you need it
I want to use local database instead of remote database. Is it possible?
Yes start MySQL server at local and give connection according to it or you use SQLite Database.
@@SulochanaTutorials Ok. Thank you. I will try it. This tutorial was very helpful for me..👍
I get sln file instead of exe. Why is that?
my web site is .swf, will it work if I convert it? because my game is .swf based and will be over by the end of 2020.
I didn't tried. Please try yourself.
setup file is created successfully, but it is running very slow
Need hlp
Connecting app with SQL is not working
How can I do this.....
What server you are using online or offline. Please mention error.
I am using CI and it works. But SQLite performance is very low. it takes 1-1.5 sec. for each transaction. Do you have any solution for that?
Is PHP becoming a general programming language like python. Great work.!
For cpanel, do I need to make a new account? Haven't used it before
You can try any free cpanel hosting such as 000webhost
@@SulochanaTutorials Remote database is not available for free users
Search remotesql.com
is it possible to make it all offline? like there is no need for a remote server
Yes, If you use SQLite for database then everything will work offline
Very good job, and smooth explained.Well done sir!
Is our php codes protected ?? Can someone copy from our source folder ?
Not yet
Sulochana Tutorials what could be a solution for this ?
Hello, I have tried to do it with codeigniter and I have not been successful, can you help me to do it with codeigniter?
the error is
Message: session_start(): Failed to initialize storage module: user (path: )
I will try first. Please do post issue on official phpdesktop github page so they can respond you
Great work, the host name and pass are left easily accessible in the www file, how do i encrypt them
You can store all back end code to server and just make Ajax request to fetch data from server.
Hello sir, it is very good experience with localhost but when i try to connect my online remote server i faced a technical issue which is :- mysqli_connect(): (HY000/2002): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond ....
Please help me and advice how to solve it.
thanks
Please make sure that you have enabled remote mysql in Cpanel. If enabled use IP address of your online server as hostname. You can get IP address of your website using site www.site24x7.com/find-ip-address-of-web-site.html
@@SulochanaTutorials i am connecting with my sub domain. and i entered correct ip address but i am facing same technical error. is it possible with multiple databases bcoz i have multiple databases in my host cpanel.??
how to connect with a server web
warning: mysqli_connect(): (hy000/1045): access denied for user
Sir i am geting this error please help me sir
Maybe the user is not present/you used wrong password for the user/ you dont have permission to access database!
how to change this display icon?
At the time of creating installer set icon file. Remember that your image should be .ico extension
Sir Is this work Window 7 64 bit pls let me know...
Yes, I also have same
can it be used offline without internet connection?
Yes, You can but you need to use SQLite for database. Just Google SQLite in PHP.
@@SulochanaTutorials thanks but please can you make a video on how to use it and compile with php desktop to exe?
@@MultiMaN95 Okay
@@SulochanaTutorials thanks
Is it right? The offline version requires sqlite, but with internet connection it's able to run with MySQL?
How to o enable print preview
JavaScript window.print() worked for me.
Thank you so much for this video, it's really amazing.
However, I would like to ask a question: can that setup (the setup created) be installed on another computer without any problem ?
Any answer yet ?
hey bro how i can use it with my online project ?? please
Yes, Download you project. Change your database settings according to this video
Great work and fun! specially " running php without sex and server"
You saved my life. Is there any option to save the data locally???????
You are great man !
you Are Reallly Good It is help me for my project thank you
Super Great ...keep up the good job man
php myadmin ke liye bata do......
thank you so much sir, it was outstanding
Why do you sound like Memenade?
Thank you. this is very helpful
Thank you Sir!
Thanks! Master
Nice video
Amazing..
Please also watch this video th-cam.com/video/-frCfUepNiA/w-d-xo.html for developing application with SQLite
Cool!
amazing
👍👍👍👍👍👌
sir why my app can't work with javascript bootstrap and fetching data with javascript
i'm getting error when i try using laravel 8,.... please can you help out
Is there any way to sync that php software and php website?
Httrack is ultimate. Please go to settings while creating project and change browser id to Linux. It will definitely work for you. You can search for mirror empty problem in TH-cam.
@@SulochanaTutorials thank you!
Welcome
how to make with local microsoft SQL server database ?