home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Ask a Tech Support Question (free)!

Convert PHP to StandAlone Program

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 2141
Discussions: 200,947, Posts: 2,379,387, Members: 246,309
Old June 10th, 2002, 05:32 PM   Digg it!   #1 (permalink)
Ultimate Member
 
ChoaticWhisper's Avatar
 
Join Date: Oct 2001
Location: Alabama
Posts: 1,309
Send a message via AIM to ChoaticWhisper
Convert PHP to StandAlone Program

I was wondering if it is possible to convert something wrote in PHP to Something like C or C++ basicly just a standalone program that will work with windows.
I wrote a thing for my dad and I dont really want to have to setup apache and everything for him to use it, Because if something goes wrong he wont know how to fix it.

I will add its also some mysql, I know I could setup Foxserv on his pc.
I have found somethings that say something like it wouldnt be to hard to convert if you know both languages and I also read somewhere about something like useing php2C++ to debug it, I cant find anything concerning php2C++.

Any help is appreciated. Thanks.
ChoaticWhisper is offline   Reply With Quote
Old June 10th, 2002, 07:41 PM     #2 (permalink)
Banned
 
qball's Avatar
 
Join Date: Oct 2001
Posts: 447
you can find php2c++ here:

http://www.ddj.com/articles/2002/0203/

It's under:

"DEBUGGING PHP USING A C++ COMPILER"

oops, far better link:

http://www.mibsoftware.com/

Wonder how well this actually works, especially with some hardcore OO.

I would think java far easier (and universal), but I know java better tthan C++.
qball is offline   Reply With Quote
Old June 10th, 2002, 08:06 PM     #3 (permalink)
Ultimate Member
 
ChoaticWhisper's Avatar
 
Join Date: Oct 2001
Location: Alabama
Posts: 1,309
Send a message via AIM to ChoaticWhisper
Ok I got the source code, Could be kind enough to tell me what I do with it?
If I need a compiler, I have GCC on linux or I might be able to find DJPP(Something LIke that) I downloaded awhile ago.
ChoaticWhisper is offline   Reply With Quote
Old June 11th, 2002, 05:22 PM     #4 (permalink)
Banned
 
qball's Avatar
 
Join Date: Oct 2001
Posts: 447
Quote:
Could be kind enough to tell me what I do with it?

Sure, compile the C++ program and run. You need to supply the filename of php file to be converted, either as argument... here it is:

usage: php2c++ input.php output.cpp

I think you will find this to be a disappointment, as it just converts PHP to C++ code, doesn't really create a true app.
qball is offline   Reply With Quote
Old June 11th, 2002, 05:49 PM     #5 (permalink)
Ultimate Member
 
ChoaticWhisper's Avatar
 
Join Date: Oct 2001
Location: Alabama
Posts: 1,309
Send a message via AIM to ChoaticWhisper
Hmm... Yeah I didnt expect it to make a full application like I want, Any easy way to make a normal application?(Without knowing C++). I dont have any access to VisualC or something like that.


I guess I will just have to install foxserv and hope nothing goes wrong, I will be there for about a week, I guess if something would go wrong It would be within that time.
ChoaticWhisper is offline   Reply With Quote
Old June 12th, 2002, 02:18 AM     #6 (permalink)
Banned
 
qball's Avatar
 
Join Date: Oct 2001
Posts: 447
dude/dudette,

HELLO, you already did!

my bad, go off and have fun.
qball is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Making Health Care Worse (170)
The disrespect of Obama by Russian .. (22)
Is It Just Me? (2934)
Wireless Televisions. (11)
windows 7 problem (7)
CPU fan stops spinning randomly (8)
Regular Build (6)
Is the PSU I received dead? (12)
radeon x850xt platinum & shader.. (5)
Print spooler problem (15)
HIS HD5770 graphic card question (15)
windows vista security holes (9)
Install XP pro and a Vista laptop ?.. (11)
Foreign voltage (10)
Recent Discussions
Internet Lost (1)
Hp Artist Edition + Matching Bag (0)
My monitor won't turn on after instal.. (0)
Graphics Card Upgrade Question (2)
Asus P4G8X Mobo (6)
radeon x850xt platinum & shader 3 (5)
Xbox 360 GTA: SA disk error (1)
Is the PSU I received dead? (12)
How to convert MP3's (2)
windows 7 internet problem (5)
Multiple Restarts Required at Boot (0)
BSOD On Startup (ntoskrnl.exe) (2)
Print spooler problem (15)
Laptop with wireless problem. (1)
Wireless Televisions. (11)
Have you switched yet? (86)
screen resolution vs monitor size (2)
sms storage to PC (0)
Regular Build (6)
Open With ..... Win7 (0)
java code for fibonacci (1)
[F@H SPAM 11/16/09] ! 1/2 months to r.. (35)
windows 7 problem (7)
CPU fan stops spinning randomly (8)
Partition Magic caused HDD problem (3)


All times are GMT -4. The time now is 08:27 PM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28