473,397 Members | 1,969 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,397 software developers and data experts.

How to create PHP exe ?

296 100+
Hello,

I have a php script .

I want to create a php exe from it so that when a user can double clicks it a command prompt will open which will take input from the user and complete the operation.

How to do ?
Mar 3 '08 #1
8 11948
ronverdonk
4,258 Expert 4TB
If you want to create a PHP exe file, you must compile it. For that you need a PHP exe compiler, which are usually not free!

Advice is to google the web for 'PHP compiler'.

Ronald
Mar 3 '08 #2
bobf
11
I saw this....

Bambalam PHP EXE Compiler/Embedder
Created by Anders Hammar © 2006 Bambalam

Options:
-w Hide console window for windowed applications
-c Compress output exe (using UPX)
-d Do not encode PHP files
-e:extension.dll Embed and use PHP extension
-i:icon.ico Add icon to exe

- What is it?
Bambalam PHP EXE Compiler/Embedder is a free command line tool to convert PHP applications to standalone Windows .exe applications. The exe files produced are totally standalone, no need for php dlls etc. The php code is encoded using the Turck MMCache Encode library so it's a perfect solution if you want to distribute your application while protecting your source code. The converter is also suitable for producing .exe files for windowed PHP applications (created using for example the WinBinder library). It's also good for making stand-alone PHP Socket servers/clients (using the php_sockets.dll extension).

Hey, if you use this tool and like it you can make a donation to make it even better! Donors will be credited!
Mar 3 '08 #3
ronverdonk
4,258 Expert 4TB
As I said in my earlier post:"usually not free". And yes, this one is. I saw one (for me an obstacle) limitation
Currently, the converter uses a PHP runtime based on PHP 4.4.4.

Q: What about PHP 5 support?
A: I haven't got around to it, but I probably will!

Note however that some extensions use other system dlls which needs to be shipped together with your compiled exe to make it work.
But give it a try and let us know your findings. Thanks in advance.

Ronald
Mar 3 '08 #4
pankajit09
296 100+
I am looking into that compiler.

I will give my feedback soon.
Mar 4 '08 #5
ronverdonk
4,258 Expert 4TB
I am looking into that compiler.

I will give my feedback soon.
Thank you. Hope to hear from you soon.

Ronald
Mar 4 '08 #6
Before you waste too much time with this thing you should be warned that Bambalam's claims are somewhat misleading. Or at least confusing.

First let's be clear. IT WILL NOT CONVERT YOUR EXISTING PHP WEBSITE INTO A STANDALONE APPLICATION.

So what does it do? there are several ways of looking at this. Let's say you want to write a standalone windows application and you already know PHP and don't want to learn VisualBasic or C++ etc. then you can write it with this...but only the functionality...logic, SQl calls,etc. But not display!!how do you get it to display? well there is the rub....you now have to learn to deal with something called WinBind. It is not too complicated but now that you have to deal with ALL of the stuff a browser does for you, like pictures, backgrounds, etc etc.

There is no embeded browser, not even a server.

So who is this for? basically is a way to hide your code from a client. Not a great way, but that is what it is.
Sep 6 '08 #7
raids51
59
Just download VB 2008 express and learn to code...it not too hard to learn and if you need help thats what forums are for
Sep 7 '08 #8
dlite922
1,584 Expert 1GB
I saw this....

Bambalam PHP EXE Compiler/Embedder
Created by Anders Hammar © 2006 Bambalam

Options:
-w Hide console window for windowed applications
-c Compress output exe (using UPX)
-d Do not encode PHP files
-e:extension.dll Embed and use PHP extension
-i:icon.ico Add icon to exe

- What is it?
Bambalam PHP EXE Compiler/Embedder is a free command line tool to convert PHP applications to standalone Windows .exe applications. The exe files produced are totally standalone, no need for php dlls etc. The php code is encoded using the Turck MMCache Encode library so it's a perfect solution if you want to distribute your application while protecting your source code. The converter is also suitable for producing .exe files for windowed PHP applications (created using for example the WinBinder library). It's also good for making stand-alone PHP Socket servers/clients (using the php_sockets.dll extension).

Hey, if you use this tool and like it you can make a donation to make it even better! Donors will be credited!
WOW!

Thanks for this piece of gold.

This opened so many new doors for my app, you have no Idea!!

If I get this to work, I'll fund Bambalam what it needs. (Ahem that is get to to work and make money selling it)


Thanks,




Dan
Sep 7 '08 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: dog | last post by:
I've seen plenty of articles on this topic but none of them have been able to solve my problem. I am working with an Access 97 database on an NT4.0 machine, which has many Access reports. I...
4
by: I_AM_DON_AND_YOU? | last post by:
There is one more problem I am facing but didn't get the solution. In my Setup Program I am not been able to create 2 things (when the program is intalled on the client machine ) : (1) create...
10
by: Zack Sessions | last post by:
Has anyone tried to create a SQL7 view using the CREATE VIEW command and ADO.NET? If so, is there a trick in trapping a SQL error when trying to create the view? I have a VB.NET app that, amoung...
9
by: Peter | last post by:
Hello£¬everyone, My program will collect a testing machine's data ,save the data and deal with the data everyday. I want to use vb.net to create database, add and delete tables or modify the...
37
by: Steven Bethard | last post by:
The PEP below should be mostly self explanatory. I'll try to keep the most updated versions available at: http://ucsu.colorado.edu/~bethard/py/pep_create_statement.txt...
18
by: Steven Bethard | last post by:
I've updated the PEP based on a number of comments on comp.lang.python. The most updated versions are still at: http://ucsu.colorado.edu/~bethard/py/pep_create_statement.txt...
5
by: Michael | last post by:
Hello, I've created an ASP web page where users in our organization can create Active Directory computer accounts. The web page is running on a Server 2003 SP1 IIS 6 installation. The...
8
by: barb | last post by:
So that the world at large benefits from our efforts, here is one fully documented way to use Windows Irfanview freeware to create thumbnail web galleries (http://www.irfanview.com). STEP 1:...
2
by: masri999 | last post by:
I have a requirement in SQL 2005 in Development database 1. Schema dbo owns all objects (tables,views,SPs,UDFs etc) . 2. Only DBA's ( who are database owners ) can create, alter tables ....
4
by: JohnnyDeep | last post by:
I am trying to create a store proc that contain a create index with the cluster option and I receive DB21034E The command was processed as an SQL statement because it was not a valid Command...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.