|
Home
iRate! IceMelon IM Tutorials Headlines CoolSites PHP Functions |
Taking tutorial submissions! Please email them to dave[AT]icemelon[DOT]com for review. Thanks!
Latest Tutorials IceMelon IM: Add IM Functionality to phpBB [Misc] Want to add site-wide member IM to your phpBB community? Sure you do. Simple step-by-step instructions inside. IceMelon IM: Add IM Functionality to vBulletin [Misc] Want to add site-wide member IM to your vBulletin community? Simple step-by-step instructions inside. Crawl Your Site for PageRanks [PHP] So you know your site has a PageRank of 8. What about the PRs of all the inner pages? This tutorial will teach how you to automate the process of grabbing all these PRs. Create CAPTCHA images [PHP] Worried about bots? Then create CAPTCHA images to prevent bots from taking advantage of your site. Convert SHN and FLAC files to MP3 [Misc] Low on disk space and have an insensitive ear? Here are some steps to converting SHN and FLAC files to MP3 format. [View All] Become a sponsor for $15/month. Link is sitewide - PR5 homepage, 20+ PR4 pages, 90+ PR3 pages. Email dave[AT]icemelon[D0T]c0m. |
Awesome Tutorials
Build Standalone Applications By dave
This tutorial will actually be more of a guide. It will guide you through the process that I went through when I had desperately needed to create an executable file. Since PHP was the only language I had a decent grasp on at the time (spring '04), I explored it for options. After a short search, some posts on forums, I stumbled across PHP-GTK [http://gtk.php.net/].
PHP-GTK Taken directly from their site.. "PHP-GTK is an extension for the PHP programming language that implements language bindings for GTK+. It provides an object-oriented interface to GTK+ classes and functions and greatly simplifies writing client-side cross-platform GUI applications." In other words, PHP-GTK allows you to create GUI applications using PHP. I'm not gonna teach you PHP-GTK. My explanations tend to be more confusing than helpful. Instead, check these resources: [http://www.zend.com/zend/tut/tutorial-silva.php] [http://www.sitepoint.com/article/platform-windowed-apps-php] You'll realize that PHP-GTK code is totally based on objects. Furthermore, to run the code, DO NOT try accessing it through a browser window. Instead, run it from the command line (e.g. "C:/PHP/php_win.exe <PATH TO YOUR SCRIPT>"). For your reference, here is the code for the application I wrote. And, here is a screenshot of it in action: The Executable Finding a way to compile the PHP code into an EXE file proved to be the biggest headache. I scoured the Internet for days and nights, found several programs/scripts that claimed to do the trick. None worked.. all lies! Finally, one day.. I found one that actually did work. Thank you PriadoBlender! [http://www.priadoblender.com/] Since I used it, PriadoBlender has released a new version (0.2). It seems to be much more robust; instructions are here [http://www.priadoblender.com/index.php?layout=main&cslot_1=3]. Created with PriadoBlender v0.1, here is my final product. To run it, you will need zip file of DLL files, which are required by the executable file. Apparently, DLL files no longer need to be distributed with the EXE files generated by PriadoBlender v0.2. Huzza! Good luck, my friend. P.S. Check out my new site TheManWhoSoldtheWeb.com, where I publish guides and scripts on Internet Marketing and SEO. Here is a limited time freebie: the Rapid Google Indexer. |