Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

PHP script help

Discussion in 'General Discussion' started by andrew_sleepy, May 31, 2006.

  1. andrew_sleepy

    andrew_sleepy Registered

    May 30, 2006
    Likes Received:
    Trophy Points:
    I'm trying to find away to get the IP address directly from an account listing via a PHP script. From what I can see, the listaccts function in Accounting.php does not return the ip address, unless you set the nohtml paramater to 0, in which case you get the entire list accounts page. I'd rather not have to parse through that html for the ip address, but I will if I have too. Is there some function or parameter I'm missing that would allow me to get this any cleaner? Thanks.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice