XML API and H-shpere Services


H-Sphere XML API is designed to manage H-Sphere services via SOAP protocol. It is based on Apache Axis implementation of SOAP and runs under Apache Tomcat engine.

New with control panel


What do I do to get started and understand the control panel?

When you first opened your account you received an e-mail with your account information. This e-mail provides you with everything you need to access and publish to your new web account.

There is a default web page placed in your web folder, which you can also use as a login page, until you overwrite the page with your web site index.html page. You can always login to your control through our main site.

At any time, you can open a support ticket through your control panel as well. This is the way we address all support issues. We can respond quickly and have the ability to assign the best support representative to your inquiry while tracking and measuring our levels of support.

CP is slow with IE


My CP works slow in Internet Explorer, while it’s OK in Mozilla/Netscape.

The latest IE version has certain problems with caching images. Try to set cache settings to “Automatically”, and also increase memory for file caching.

make a website fast


I’m new to PHP and trying to make my website as fast as possible.

Is there any real difference in speed between including, say, an 9K file rather than a 60k file?

I’m precalculating database queries and wondering if I should save the results of each query in a separate file or whether they would be ok all in the same file.

Just to add to what krt said there is some overhead when doing includes opposed to having the code already there. Now is the overhead noticable? No not in most people’s cases. You’ll start to notice it when you’re including 50 files on one page.

No, the script is not downloading the pages, it is being done on the server and accessing files on the local filesystem is quick enough that the difference in cases like your one will be negligible.

As for what you are trying to do, I would suggest separate files to save processing when parsing through the larger file to get the data needed.

SiteStudio doesn’t work correctly


hi,
My SiteStudio doesn’t work correctly.Plz. help

These are the most typical reasons for problems with SiteStudio:

  • DISPLAY variable is not set
  • xvfrb is not running
  • Image Maker was not started
  • The information you enter for user to connect to his ftp account is invalid
  • The URL to access user’s site is incorrectly entered
  • User’s home dir is incorrectly entered
  • User’s home dir has incorrect permissions
  • FTP and URL point to different sites
  • FTP password or login name, or server
  • FIrewall does not allow ftp connection

transaction support for mySQL.


I could not find any functions in PHP that provide transaction support for mySQL. So, are there any such functions available??

you can use the PEAR DB package: this includes interfaces for most common database.

he following PHP libraries & PEAR packages can fulfill your requirements.
mysqli, PDO, ADODB, PEAR DB & PEAR MDB2.

Logging problem in admin cp


I have created a reseller account from cpwebhosting.net, logged in, but can’t enter admin cp.Plz. help

Make sure:
– you have configured DNS for resellers
– you are using a registered domain.

If you need to use an unregistered domain for your own use only, add this domain to your hosts file (/etc/hosts on *nix systems).

A site translator


Hi,

I am trying to use a site translator but i am having problems as my server does not accept the function file_get_contents.

Advance help for any help

If file_get_contents() is not supported/enabled, then neither is file(), it is most likely due to file handling functions being disabled for security reasons. Unless it is PHP4 < 4.3…

u can use direct links to the Google translator

Code:

<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "http://64.233.179.104/translate_c?hl=en&ie=UTF-8&oe=UTF-8&langpair=$lang&u=" . urlencode($_GET["u"]) . "&prev=/language_tools");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$html = curl_exec($ch);
curl_close($ch);
?>

control panel help


I have a Reseller web hosting account with H-sphere.My CP works slow in Internet Explorer, while it’s OK in Mozilla/Netscape.

The latest IE 6 version has certain problems with caching images. Try to set cache settings to “Automatically”, and also increase memory for file caching.

Softwares that are installed on cpwebhosting H-shpere unix boxes


cpwebhosting.net clients can find the following following software is installed on H-Sphere Unix Web boxes:
Core services:

  • Apache Web Server
    o H-Sphere 2.5 and up: hsphere-apache (without PHP modules)
    o Before H-Sphere 2.5: hsphere-apache-webbox (PHP 4 included)
  • ProFTPd FTP Server

Additional software:

  • SSL support: OpenSSL
  • PHP:
    o PHP 4 – all supported H-Sphere versions;
    o PHP 5 – H-Sphere 2.5 and up.
  • Perl
  • Third-party log analyzers (Web statistics calculators):
    o Webalizer, ModLogAn, AWStats – included into H-Sphere default installation
    o Urchin v.3.xx, 4.xx, 5.xx – supported but not included to the installation
  • FrontPage Extensions – upload server for Microsoft FrontPage site builder
  • Webshell – H-Sphere integrated Web directory file manager
  • MnoGoSearch – search engine that indexes websites by keywords

Security schemes:

  • Webbox security scheme – preventing manipulation with logs directory permissions.