Advanced Search

Results 1 to 3 of 3

Thread: command line

  1. #1
    Join Date
    Feb 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs down command line

    hi,

    does anybody know how i can scanf on the command line
    into a string!

  2. #2
    Join Date
    Feb 2008
    Posts
    81
    Thanks
    8
    Thanked 5 Times in 5 Posts

    Cool

    hey,

    you can use the fgets();

    <?php

    $content = fgets(STDIN);

    echo $content;
    ?>

  3. #3
    Join Date
    Feb 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile

    cool awsome

    it works thanks again!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •