SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict jamesbond's Avatar
    Join Date
    Feb 2001
    Location
    The Netherlands
    Posts
    256
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    whois problem with dutch registry

    For unlimited requests the dutch registry requires us to connect to their whois db with the following command:

    whois -h whois.domain-registry.nl 'is domain.nl'

    (we have to use the 'is' command)

    Now I want to use php to do this, but I don't want the output directly to the browser, I want to store it in a string and filter it.

    How can I do this?

    If I use system or passthru then the result is stored to the browser no matter what I try.

    Any ideas?

  2. #2
    PHP manual bot bronze trophy Gaheris's Avatar
    Join Date
    Oct 2003
    Location
    Germany
    Posts
    2,195
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    shell_exec or the backtip operator

  3. #3
    SitePoint Addict jamesbond's Avatar
    Join Date
    Feb 2001
    Location
    The Netherlands
    Posts
    256
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Gaheris
    shell_exec or the backtip operator
    Thanks Gaheris, I just stumbled upon the shell_exec function myself
    Everything works now!


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
  •