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.source...rab-ncurses.gif
Cheers.
4 replies to this topic
#1
Posted 13 October 2011 - 10:22 AM
|
|
|
#2
Posted 13 October 2011 - 10:53 AM
I think you should look into PHP-CLI (Command Line Interface), which is (was?) part of the normal php package. There is also PHP-GTK which supports normal windows interface programs.
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall
I study Information Systems at Karlstad University when I'm not on CodeCall
#3
Posted 13 October 2011 - 11:48 AM
I already looked into those, I even read the entire documentation of both of them. PHP-CLI only creates a text-based interface, while GTK creates apps but only in a Windows desktop enviroment (that is, it creates windows with titles on them and content). I need something similar to Ncurses or Pdcurses (that are libraries that you can use to make console interfaces in C, but don't work with PHP).
#4
Posted 14 October 2011 - 01:51 PM
ah, there seems to be a ncurses for php, see PHP: Ncurses - Manual
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall
I study Information Systems at Karlstad University when I'm not on CodeCall
#5
Posted 14 October 2011 - 04:53 PM
The time and effort you spend trying to get PHP to do this, you could have spent learning C/C# and have it implemented properly.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account

Back to top









