This is a discussion on how to create exe files in php? within the PHP Programming forums, part of the Web Development category; is there any possibilities to create exe files in php?...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| Hi suresh, Yes it is possible to create exe's. As you know, PHP is widely know as a web language. But now, it is very easy to use the language you make websites with, to make desktop applications. The way you can only make executables for windows. I have yet to find one that makes them for Mac or Linux. Here we can see the steps to create exe.
__________________ Thanks & Regards, R.Kamalakannan. |
| |||
| Step 1: Get the required software] Here i am using the BamBalam Compiler. This one is the easiest to use. Download it here. Once downloaded, Unzip.
__________________ Thanks & Regards, R.Kamalakannan. |
| |||
| Step 2: Setup a good environment To make a good environment for building your exe's, copy bamcompile.exe to a new folder on your desktop. Rename it bam.exe. Make a new file called compile.bat, and in it, put: Code: bam source.php Now your environment is setup!
__________________ Thanks & Regards, R.Kamalakannan. |
| |||
| Step 3: Make a program! It is now very easy to make a quick little application. In your file called source.php, put: Code: <?php
$file = fopen("test.txt", 'w') or die("can't open file");
fclose($file);
?>
__________________ Thanks & Regards, R.Kamalakannan. |
| |||
| Result If you followed all the instructions, you should end up with a file called source.exe. If you run that, it should make a new blank file called test.txt Wow, that was easy! Feel free to play with the source.php and try different things.
__________________ Thanks & Regards, R.Kamalakannan. |
| |||
| Hi, I think this will be worthy information How can it work? while i am creating exe for the PHP files as a application, can it be run from the browser?
__________________ With, J. Jeyaseelan Everything Possible |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| create log files in java? | saravanan | Java Programming | 2 | 08-06-2008 03:43 AM |
| How to create ISO Files? | $enthil | C# Programming | 0 | 09-17-2007 01:20 AM |
| Can I create PDF files from php? | itbarota | PHP Programming | 1 | 09-12-2007 01:06 AM |
| Different between GUI map and GUI map files? | senthilkannan | Testing Tools | 1 | 08-10-2007 02:59 AM |
| Trace files and Log Files in Unix | vigneshgets | Operating Systems | 0 | 08-01-2007 05:18 AM |