Fatal error: Call to undefined function readline()

Discussion in 'Shapeways API' started by FlexBot, Jun 19, 2013.

  1. FlexBot
    FlexBot New Member

    I use Centos. php 5.3.3
    Last edited: Jun 19, 2013
  2. jonemo
    jonemo New Member
    Are you running the script on a server or in a console? The readline() function is only available (and only makes sense) when running the command line interface (CLI) version of PHP. In addition to that, it is possible that your PHP installation simply doesn't have Readline included (for more info, see the documentation: http://php.net/manual/en/book.readline.php)
  3. FlexBot
    FlexBot New Member
    Thanks Jonemo, figured it out.
  4. abite
    abite New Member
    I also figured it out. Thanks.
    Last edited: Sep 18, 2013
  5. minichua
    minichua Active Member

    I have a question about the readline part. Is there another way to get the PIN than to manually connect to your account webpage? I can not possibly believe that you can get quotations from an external website that way.


    Last edited: Nov 6, 2013