Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 1 of 1
  1. #1
    Member
    Join Date
    Mar 2005
    Posts
    7

    Default WHM Backend script

    Hi i am in need of some help, my problem is that i use the following code to view packages:

    PHP Code:
    function viewpackage(){ 
    $query  "SELECT ip, user, hash FROM servers"
    $result mysql_query($query); 

    while(list(
    $ip,$user,$hash)= mysql_fetch_row($result)) 

    $ssl 0

    $pkgs listpkgs($ip,$user,$hash,$ssl); 

            foreach(
    $pkgs as $name=>$value
                { 
                if(
    $name == $package
                    { 

    $value[4

                    } 









    and it returns $value[4] ect

    is there any way to do this so it displays all the customers?
    Thanks Daniel Quinney
    Last edited by dquinney; 07-20-2005 at 10:18 AM. Reason: Changed Notification Type

Similar Threads & Tags
Similar threads

  1. we require cPanel/WHM downgrade option in WHM & backend script
    By crazyaboutlinux in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 06-08-2011, 08:00 AM
  2. backend script to regenerate services ssl certs?
    By morehead21 in forum cPanel Developers
    Replies: 0
    Last Post: 06-18-2009, 03:22 PM
  3. Bulk domain/acct backend script
    By Gavster in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 09-10-2005, 03:40 AM
  4. Missing WHM Backend Scripts?
    By Israel.lopez in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-22-2005, 12:34 PM
  5. Mailserver backend script!!!
    By chr_nikol in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 08-17-2004, 05:38 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube