I know this is a strange one, but here's what I'm up against. I'm looking for a program that will take a PHP script and "compile" it with PHP into an .exe file for distribution to a Windows box. I've used something similar for Perl before and there are a couple references to them online, but I haven't found one that actually works. Now, I'm sure you're asking yourself why on Earth I would want something like that? Well...
I've adapted Pagesetter to handle classified ads (and a ton of other premium content) for a local news site I'm creating. A buddy of mine who owns a gas station here in town would like to become a payment center for the news site, so when someone wants to buy an ad but doesn't want to pay online, (s)he can come into the station and pay. Having people come into my office to pay isn't really practical, since I work from 10pm to 7am Sunday through Thursday night and a few odd hours during the day as time allows.
My real goal here is to ensure that my customers' ads get placed on the site as soon as they've paid for them. To that end, I want to create a program that sits on the station's cash register (a Windows XP box) next to their POS system with the ability to log into my site and trigger the last workflow step for the ad document (mark it paid and put it online). Ideally, this would be triggered by simply having the clerk scan a barcode that I have printed on the invoice. I can do this in about a dozen different ways in Linux, but I've never written a Windows program. I barely even have a working Windows box.
So, my first thought was to write it as a PHP script and use GTK+ to give it a pretty user interface. I suppose I can install PHP on their cash register and run it that way. But it would be really great if I could wrap it up as a nice, neat executable file and just slap it in their Startup folder so that it's always at their fingertips. This is especially true because down the road, I would like to be able to distribute this solution to payment centers across the country. You see, my site is actually a "local news site engine" that will allow anyone to easily start and maintain his or her own home town news site. I also have another project that could eventually benefit from something similar.
So, if anyone out there has any ideas, I'm listening. Thanks in advance.
--
Help Now! Fast and affordable help for do-it-yourself webmasters from Wicked Viral :: Chicago's Only Web Development Firm Specializing in Social Networking Integration
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- internetking created topic »password problem« 25. May
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
- mdee created topic »How to implement returnpage ?« 25. May
- nestormateo responded to »Fillters in Clip« 24. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Does anyone know of a PHP "compiler" for windows (actually a little Zikula-related)?
-
- Rank: Softmore
- Registered: Nov 25, 2007
- Last visit: May 30, 2010
- Posts: 166
-
- Rank: Team Member
- Registered: Jan 19, 2003
- Last visit: Apr 06, 2010
- Posts: 442
You might take a look at the bcompiler extension: http://de.php.net/manual/en/book.bcompiler.php
--
Guite | ModuleStudio -
- Rank: Softmore
- Registered: Nov 25, 2007
- Last visit: May 30, 2010
- Posts: 166
Quote
This extension is EXPERIMENTAL. The behaviour of this extension?including the names of its functions and any other documentation surrounding this extension?may change without notice in a future release of PHP. This extension should be used at your own risk.
That sounds just about perfect. Thanks!
--
Help Now! Fast and affordable help for do-it-yourself webmasters from Wicked Viral :: Chicago's Only Web Development Firm Specializing in Social Networking Integration
- Moderated by:
- Support
