Home | Web Design | Web Hosting | Domain Name | Website promotion | Web Applications

Enable register_globals using .htaccess

By default, our server has register_globals set to 0. This is for security reason.

You can modify the setting by adding the line to the htaccess file:

1) Log in to cpanel >> file manager >> /www/
2) Click on .htaccess
3) Click on Edit File on the top right
4) Add the line: php_value register_globals 1

However, you should understand the implications of the modification to certain extent.

——————————————
Below is an example of application with security loophole that is prone to attack by hackers.

if (isset($submit)) {
$logged_in = yes;
Application runs…
}

Instead of using $submit, you should use $_POST[’submit’] if the variable is posted from a form. This specifies exactly where the variable comes from.

Comments

Manually configure your email accounts

If it happens that you are not able to configure your outlook express or microsoft outlook with the auto configuration option, you may try to configure the account manually.

*We assume that you have set up your email account at the cpanel.

For outlook express:
1) Click on Tools [at the top left menu] >> Accounts >> Mail >> Add >> Mail..
2) Enter display name
3) Internet email address, the one you created at Cpanel
4) Choose POP 3 for incoming mail server
4) Incoming mail server: mail.yourdomain.com
5) Outgoing mail (SMTP) server: mail.yourdomain.com
6) Enter name@yourdomain.com as the email account name
7) Password is the one you have set up at the Cpanel

**Do NOT use capital letters in your email ID.

That’s it. Please do not hesitate to contact us if you have any problems.

Comments

DIY publishing of web pages

If you have subscribed to our hosting solution and plan to design your own web pages, we provide some guidelines for you to publish your files.

Firstly, you need a web publishing software like dreamweaver/Ms frontpage. After installation and design of your pages, you need to configure the FTP connection. This is required so that you can connect your local computer with the server. The ftp information is normally sent to you when you first subscribed to the hosting plan.

Once you are able to set up the ftp connection, you will be able to see the files and folders at the server. You need to upload all your files to the /www/ or /public/ folder so that the public can view your web pages. By default, there will be a page called index.html stored at the server. You need to overwrite this page by creating your own index.html file.

That’s it, now you can view your pages in Firefox or IE.
————————————————-

Then you may ask, what about images…. Well, image files need to be uploaded to the server as well. You also need to specify a path to find the images from the html documents.

Hope this helps.

Comments

Next entries » · « Previous entries