How To: PHP Script To Windows EXE File Generation كيف ل: بي. اتش. بى النصي الى ملف ويندوز اكس جيل
PHP files are scripts which are interpreted by php interpreter (php.exe in windows). بي. اتش. بى الملفات الكتابات التي تفسر بها بي. اتش. بى مترجم (php.exe في ويندوز). Converting them to exe files makes it easy to distribute PHP applications to Windows users. تحويلها الى ملفات اكس يجعل من السهل توزيع الطلبات بي. اتش. بى لمستخدمي ويندوز. Unfortunately Zend, the PHP company, doesn't provide a way to convert PHP scripts to Windows executables. ومما يؤسف له ان لغة فارسيه قديمة ، وشركة بي. اتش. بى ، لا توفر وسيلة لتحويل بي. اتش. بى مخطوطات لبرامج ويندوز. Today I am going to show you a simple way to convert your PHP scripts to regular Windows executable files (.exe). اليوم وانا ذاهب الى تبين لكم طريقة بسيطة لتحويل بي. اتش. بى الخاص بك الكتابات العاديه الى ملفات ويندوز للتنفيذ (. اكس). Not only that you can also convert an entire directory of PHP scripts and assign one of the files as the main file to execute first. ولم يقتصر الأمر على ذلك يمكنك ايضا تحويل كامل دليل بي. اتش. بى مخطوطات وتكليف احد الملفات الرئيسية على النحو الملف لتنفيذه اولا. Additionally the source files are encoded which not only improves the performance but also protects your source code. وبالاضافة الى مصدر الملفات التي يتم تحويلها ليس فقط في تحسين أداء ولكن ايضا تحمي شفره المصدر الخاصة بك. You can also set the icon for the file which is useful when you are distributing your PHP application as a stand-alone executable. يمكنك ايضا تحديد الرمز لملف امر مفيد عند توزيع بي. اتش. بى الخاص بك تطبيقها اعتبارا قائمة بذاتها للتنفيذ.
Bambalam PHP EXE Compiler / Embedder is a free command line tool to convert PHP applications to standalone Windows .exe applications. بي. اتش. بي إكس المجمع / embedder هو سطر الاوامر الحرة اداة لتحويل بي. اتش. بى مستقل لتطبيقات ويندوز. التطبيقات اكس. The exe files produced are totally standalone with no need for php dlls etc. The php code is encoded using the Turck MMCache Encode library. وقد انتجت ملفات اكس مستقل تماما ولا حاجة لبي. اتش. بى بى. اتش. بى dlls وما هو قانون المشفره باستخدام turck mmcache تشفير المكتبه. It's a perfect solution if you want to distribute your application to Windows users while protecting your source code at the same time. أنه حل مثالي اذا كنت ترغب في توزيع طلبك لمستخدمي ويندوز الخاص بك مع حمايه شفره المصدر في الوقت نفسه. The converter is also suitable for producing .exe files for windowed PHP applications (created using, for example, the WinBinder library). المحول هو ايضا مناسبة للانتاج. نوافذ اكس بي. اتش. بى لملفات الطلبات (تم إنشاؤها باستخدام ، على سبيل المثال ، winbinder المكتبه). It's also good for making stand-alone PHP Socket servers/clients (using the php_sockets.dll extension). ولكنها ايضا جيدة لجعل قائمة بذاتها المقبس خدمة بي. اتش. بى / العملاء (باستخدام php_sockets.dll والارشاد).
It's NOT really a compiler in the sense that it doesn't produce native machine code from PHP sources, but it works! انها ليست فعلا في المجمع ، بمعنى انه لا ينتج الوطنية آلة بي. اتش. بى من مصادر القانون ، ولكنه يعمل! Currently, the converter uses a PHP runtime based on PHP 4.4.4. وفي الوقت الراهن ، يستخدم المحول وقت التشغيل على اساس بي. اتش. بى بى. اتش. بى 4.4.4.
The tool is free and open source. الاداه الحرة والمفتوحه المصدر.
Usage: الاستعمال :
bamcompile [-options] infile.php [outfile.exe] bamcompile [خيارات] infile.php [outfile.exe]
bamcompile [-options] project_directory mainfile.php [outfile.exe] bamcompile [خيارات] project_directory mainfile.php [outfile.exe]
bamcompile projectfile.bcp bamcompile projectfile.bcp
Options: خيارات :
-w Hide console window for windowed applications ث - اخفاء console نافذة لنوافذ التطبيقات
-c Compress output exe (using UPX) ج - ضغط الناتج اكس (باستخدام upx)
-d Do not encode PHP files د - لا تشفير ملفات بي. اتش. بى
-e:extension.dll Embed and use PHP extension - ه : extension.dll ترسيخ وتوسيع نطاق استخدام بي. اتش. بى
-i:icon.ico Add icon to exe - الاول : icon.ico اضافة الى ايقونه اكس
You can download it يمكنك تحميله here هنا .
Filed under المقدم بمقتضى Headline News أهم الانباء , ، How To كيف , ، Microsoft مايكروسوفت , ، PHP بي. اتش. بى , ، Programming البرمجه , ، Web شبكة , ، Windows نوافذ | |
| |
RSS 2.0 ار اس اس 2،0 | |
Trackback this Article | هذه المادة |
Email this Article ارسل هذه المادة
You may also like to read ويمكنك ايضا ان تقرأ |





































March 24th, 2008 at 5:11 pm مارس 24th ، 2008 في الساعة 5:11
thankss you.. thankss لكم.. soo much. سو بكثير.
April 12th, 2008 at 8:30 am نيسان / ابريل 12th ، 2008 في 8:30 صباحا
Hello, how can I use PHP server to creat a web page please? مرحبا ، كيف يمكنني استخدام خدمة بي. اتش. بى creat الى صفحة ويب من فضلك؟ Steps and requirements. الخطوات والمتطلبات. Thanks شكرا