GIDForums

Go Back   GIDForums > Computer Programming Forums > MySQL / PHP Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 07-May-2008, 19:32
Zorachus's Avatar
Zorachus Zorachus is offline
Junior Member
 
Join Date: Jul 2005
Posts: 58
Zorachus will become famous soon enough

Running interactive console programs through the browser


I remember this place being very helpful a few years ago, so this is the first place I thought of when I ran into this problem.

I'm doing independent study this semester (actually a third one-month semester; my university is a bit weird). The professor that I'm working with requires exactly what I've stated in the title. I know it's possible; I've seen AJAX terminal emulators, but I don't need something that complex. I'm pretty fluent in PHP, javascript, and the AJAX technique, but I'm really unsure where to start here. I know that, short of writing a terminal emulator, I need to find some way to redirect I/O to the browser, but I don't think piping is the answer.

Perhaps the best example of this I can think of is here. They sort of trick the browser into thinking that the page never fully loads, which allows instantaneous response to commands via AJAX.

I know that this is complex, but I would appreciate even a nudge in the right direction. It doesn't matter if this is done "right" or "well." My professor requires a quick-and-dirty solution, if you will.

Thanks in advance.
__________________
Pursue everything!

P.S. This is what you would get at some point in the alphabet with the removal of the Q and R.
 

Recent GIDBlogMaster?s Degree by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
win32 CreateProcess(), STARTUPINFO not working well for 98 console Howard_L C Programming Language 0 09-Aug-2007 23:33
running my programs EXE from VB will not "printf" to screen sharikon CPP / C++ Forum 3 18-Dec-2006 07:29
need help with a console menu system BullBuchanan CPP / C++ Forum 6 20-Aug-2006 14:46
win32 file opening and running other programs Tomb332 CPP / C++ Forum 1 17-Aug-2006 08:53
Running several Programs at the same time expi12 C Programming Language 2 02-Jan-2006 00:30

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 20:03.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.