Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Reading php://stdin from within eclipse
Reading php://stdin from within eclipse [message #766424] Thu, 15 December 2011 13:55 Go to next message
m3butler is currently offline m3butler
Messages: 1
Registered: December 2011
Junior Member
Hi, is there any way to read from the php://stdin stream when running a PHP script (as a script, not a web page) from within eclipse PDT? I want to do something like this
echo "Enter some text to have it echoed back: ";
echo "You typed: $response";

but it only runs the first echo and then gets stuck waiting for the input. How do I enter input from the keyboard?
Re: Reading php://stdin from within eclipse [message #767441 is a reply to message #766424] Sat, 17 December 2011 20:32 Go to previous message
Toshihiro Izumi is currently offline Toshihiro Izumi
Messages: 345
Registered: July 2009
Location: Japan
Senior Member
Uncheck "Display debug information..." in your Run Configuration.
Use Xdebug.
Previous Topic:CakePHP 2.0.4 with Eclipse Indigo
Next Topic:Checking out multiple SVN locations to single project
Goto Forum:

Current Time: Sun Aug 31 02:28:05 EDT 2014

Powered by FUDForum. Page generated in 0.03161 seconds