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.

web based application

Discussion in 'General Discussion' started by hisham.i, Mar 15, 2011.

  1. hisham.i

    hisham.i Active Member

    Joined:
    Mar 15, 2011
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    Hello..
    I have a website on cpanel server, and i want to make a web based chat application on the website, this includes a page for registration and login...
    I mean i want to make somthing like ebuddy.
    I did registration page and login page using php and mysql, but i still don't have any idea about what programing language i can use to make such an application on the website.
    thank you
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Why wouldn't you use PHP and MySQL as well for the entire site, since you've used PHP and MySQL already for the other pages? Normally, it is best to keep the same language throughout the site.
     
  3. hisham.i

    hisham.i Active Member

    Joined:
    Mar 15, 2011
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    Am new to php, so i don't have a lot of information if it can deal with socket streams and multithreading and such issues... i was writing the application using vb.net but i figured out that in cpanel its not possilbe to use asp.net...
    can i make a good interface and make such communication using php and some javascripts?
     
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    PHP is the most used coding language on the internet, and javascript or ajax can be used in conjunction with PHP. Since PHP is so frequently used, yes, you can create a decent interface with that language. It is likely the one you would receive the most assistance for questions due to the prevalence of sites using PHP.
     
  5. hisham.i

    hisham.i Active Member

    Joined:
    Mar 15, 2011
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    what is the best programing language used by programers to do a web based chat application on cpanel?
     
  6. hisham.i

    hisham.i Active Member

    Joined:
    Mar 15, 2011
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    can i write java servlet on the server side of cpanel host?, and where i have to put the code?
     
  7. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    If you choose to use JSP and servlets, you would need to run EasyApache in WHM > EasyApache (Apache Update) or in root SSH as /scripts/easyapache and select Tomcat in Step 5 for the Apache Short Options list.
     
  8. hisham.i

    hisham.i Active Member

    Joined:
    Mar 15, 2011
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    sorry for my questions but i don't know where to find WHM in order to choose apache update
     
  9. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    If you do not have access to WHM and only have cPanel access, then you would need to ask your hosting provider if Tomcat is available. If it is not available, then you cannot use JSP and servlets and would need to select a more used coding language like PHP as was previously suggested.
     
  10. hisham.i

    hisham.i Active Member

    Joined:
    Mar 15, 2011
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    i can't upgrade or do something to my site in order to get this capability?
    From cPanel there is apache handler...
     
  11. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Please contact your hosting provider if you do not have the option to use JSP and servlets. They are the only ones who will know what they provide. You cannot recompile Apache in cPanel, since that is going to require root access to the machine.

    Of note, if you are simply going to use Java applets (different than servlets), those will work as they do not require JSP and servlet support.
     
  12. hisham.i

    hisham.i Active Member

    Joined:
    Mar 15, 2011
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    my website from cPanel server, so who are my host provider? am i in the wrong forum?
    yes java applets work on client side but i want servlets on server side because they can hold multithreading
     
  13. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    cPanel is a software maker rather than a hosting provider. To determine who your web hosting provider happens to be, I would recommend looking at your billing records to determine who you are paying for your cPanel account. If you have misplaced your billing records, there is a website that can make an educated guess to who your web hosting provider may be at the following location:

    Web Hosting Search Tool | WhoIsHostingThis.com
     
  14. hisham.i

    hisham.i Active Member

    Joined:
    Mar 15, 2011
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
Loading...

Share This Page