I need to make a DOS console application with PHP

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
majo
Forum Newbie
Posts: 1
Joined: Thu Oct 13, 2011 3:18 pm

I need to make a DOS console application with PHP

Post 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
ouchiko
Forum Commoner
Posts: 35
Joined: Sun Oct 09, 2011 6:54 pm
Location: London

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

Post 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..
User avatar
Apollo
Forum Regular
Posts: 794
Joined: Wed Apr 30, 2008 2:34 am

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

Post by Apollo »

You could install WAMP or XAMPP and run your .php scripts using PHP CLI.
Post Reply