Monday 19 September 2011

how to make exe file in php



Hiii...
I am a web developer,.
A question is always rising in my mind that how we can make executable files in php and today i got it....


There are many complier available on web by which you can create EXE in PHP. 
This program runs through dos and windows only... :) so this is good news for windows user
1. First Download zip from Here.
2. Now unzip it and open Command prompt and then go to its directory location.
3. Start -> run then type ‘cmd’
4. Use the “cd..” command to change directory.
5. Place PHP script to be compiled next to bamcompile.exe place it in same directory.
6. In the cmd prompt, at that directory, type:
bamcompile test.php
variations:
“bamcompile -c test.php” gives compression.
-e:something.dll allows a DLL to be embedded
Ready made examples are given in Zipped files which you have downloaded,just try it out.
Another application wapache is also there but i dont know much about it. 

No comments:

Post a Comment

Note: only a member of this blog may post a comment.