Jump to content

hamzaavvan

Member
  • Posts

    9
  • Joined

  • Last visited

About hamzaavvan

hamzaavvan's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. Ok Ok Thank you so much now i got you, actually the mistake was mine but i have just one more query, that Is there any other way to retrieve userid from admin area ? Instead of $_REQUEST['userid'] If there is so please do tell me Once again Thanks !
  2. Thanks for this help, well i already know that i can access userid with and with but my senior told me that this is not a good approach to retrieve userid (by the help of REQUEST superglobal variable), so please guide me as i'm not so confident doing this, that either this way is good or bad. So that i'll let him know. And one more thing that i can't access userid in client area by $_SESSION['userid'], please help me in pointing out this. Am i doing something wrong ? OR Is there some initial steps to get userid from Many Many Thanks !
  3. Sorry didn't get you and i already added that $_SESSION is not helping me. As i'm already in clientdomains page with userid 1, so why should i check for logged in ? Doesn't make sense. Please will you go in explanation ?
  4. Well this was a long way to go, and now my little project is on end but i'm confuse in one thing that how to retrieve client id or user id dynamically (which i'll concise like): myaddress.com/admin/clientsdomains.php?userid=xx Is there any function or any other way to get current client id(xx) because i tried finding it in GetNameservers() and i also looked in $_SESSION but didn't get any thing. Thanks.
  5. Well you're right, but for GetNameservers because i'm not getting the right password value inside RegisterDomain and TransferDomain.
  6. Thank you very much, i think i got my answer. Thank you both of you.
  7. Is there any function which can retrieve nameservers from db, i'm using updateclientdomain function by the help of localAPI to update nameservers and other information but don't know how to retrieve them ? Or where they were stored ? Please help in finding out this. I'm really really confused about this.
  8. Thanks for replying, mr sentq. Yes the form was created by _getConfigArray function, but now the thing is that how can i retrieve those values, is there any way ? I checked the documentation but can't find anything.
  9. Well i'm totally new to WHMCS, i got this as my first project. So ! i updated my domain registrar with a form which has some fields namely username, password and a checkbox. But don't know how should i execute the form to update db table with supplied values? Should i need a function to perform this operation or should i need to create a table manually for this setup i.e to insert the username, password and checkbox value manually with laravel capsules function and update when needed. But my senior told me that creating an extra table for this task won't be a appropriate way, so what should i do please help me i'm very confused Thanks in advance.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated