I'd like to basically turn a php website with database into a .net executable file. I'd like everything to be internal. Is this possible or will I have to rewrite the entire project into C#?
6
-
1It MAY be possible. PHP can be compiled into an executable under some, but NOT ALL circumstances. You'd be better off rewriting.Marc B– Marc B2012-07-23 16:08:09 +00:00Commented Jul 23, 2012 at 16:08
-
It is possible but not recommended, rewritting to C# would be your best/easiest option.rackemup420– rackemup4202012-07-23 16:09:10 +00:00Commented Jul 23, 2012 at 16:09
-
Curious to see how the webpages would be transformed into winformsSnuffleupagus– Snuffleupagus2012-07-23 16:10:42 +00:00Commented Jul 23, 2012 at 16:10
-
1Your "solution" is "put everything in an .exe". What's the actual "goal"??? I'd strongly urge you to revisit your requirements and re-think other possible solutions. I honestly think you'll find much more reasonable "solutions". IMHO...paulsm4– paulsm42012-07-23 16:10:47 +00:00Commented Jul 23, 2012 at 16:10
-
@Snuffleupagus: why winforms? use MVC4....Carsten Schütte– Carsten Schütte2012-07-23 16:11:34 +00:00Commented Jul 23, 2012 at 16:11
|
Show 1 more comment
1 Answer
You have to (should) rewrite the project in C#.
Of course, it is technically possible to integrate everything you need into one executable .NET file, but this solution will make use of lots of unsupported stuff, temp files or PInvoke calls, which you do not want to have in a managed environment.
1 Comment
Andre Walker
Thanks for the suggestion. I was told that the computers using the app were ancient and it needs some vb5 type of application to assure that it ran on all systems.