Skip to main content

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 18:55 Go to next message
m3butler is currently offline m3butlerFriend
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] Sun, 18 December 2011 01:32 Go to previous message
Toshihiro Izumi is currently offline Toshihiro IzumiFriend
Messages: 360
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: Wed Dec 06 18:45:43 GMT 2023

Powered by FUDForum. Page generated in 0.01610 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top