The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

cPanel / WHM API for PHP5

Discussion in 'General Discussion' started by Spiral, Oct 18, 2006.

  1. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    You got a bug in your script!

    There is no difference in PHP5 or PHP4 for what you are doing especially with "foreach()"
    plus I can tell you first hand that all Cpanel API scripts written specifically for PHP4 run
    perfectly fine under PHP5 without any trouble whatsoever
     
  2. Liberty-Host

    Liberty-Host Member

    Joined:
    Sep 25, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    I am trying to build a mod for vBulletin that has users request hosting packages, and if a admin accepts it the mod will automatically create the account. Only problem is I cannot seem to find the API for WHM that is PHP5 compatible. I have the PHP4 one, but it gives me an error even without it being in the mod.

     
  3. Liberty-Host

    Liberty-Host Member

    Joined:
    Sep 25, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    where can i get a new copy of the script from then?
     
  4. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    Wierd ..... why did my 1st reply show up before your original post? :D

    Anyway ...

    I think you completely missed what I was trying to say because the point I was
    actually tryin to make is that you shouldn't need a new copy of the script!

    If you have the script though, I can probably tell you pretty quick what is wrong.

    As a side FYI, I've personally written add-on scripts for phpBB2, SMF,
    and MyBB which perform the same function and allow forum members
    to signup and create hosting account from the forum community.
     
  5. Liberty-Host

    Liberty-Host Member

    Joined:
    Sep 25, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    this one im rewriting the vHosting Mod to suit our company's needs.
     
Loading...

Share This Page