Page 1 of 1

I need to make a DOS console application with PHP

Posted: Thu Oct 13, 2011 3:21 pm
by majo
Hi, i've been looking for how to make a Windows console application with graphic interface, coded in PHP (such as Ncurses library does, but Ncurses doesn't work on Windows).

Google hasn't been helpful for now. I found something called PDcurses, wich is sort of a Ncurses for Windows, but I tried to load the library in PHP and it didn't work. Does anyone have a clue on how to do this?

This is a pic that sorta shows what I'm trying to accomplish:

http://batnav.sourceforge.net/shots/grab-ncurses.gif

Re: I need to make a DOS console application with PHP

Posted: Fri Oct 14, 2011 10:16 am
by ouchiko
Why would you want to!

Just sounds all wrong, you want a console application, which is basically built in a dos shell, [so not really windows] and then you want to code it in PHP?

Download a copy of Visual Studio Express, take an afternoon out to learn some C# and use Google. You'll create it 10x faster and you'll actually have an application that's half way distributable..

Re: I need to make a DOS console application with PHP

Posted: Fri Oct 14, 2011 10:49 am
by Apollo
You could install WAMP or XAMPP and run your .php scripts using PHP CLI.