language of the control panel


Hi,
Is there is only english language in H-Sphere control panel or we can change the language of the control panel.

U can change the language of the control panel:

To change the language of the control panel:

1. Select Language in the User menu.
2. On the page that appears, select the preferred language from the drop-down box and click Submit.

Zip a directory on hosted server


I’m moving hosts and one of my directories is huge, so I’m wondering if there’s a way to zip it up before I transfer it to the new server. this is on a windows server and I can only run classic ASP on this account.

any suggestion

There wasn’t a way to do it with that host. However, If the new host uses cpanel and there is a way to zip and unzip via the file manager utility.

Contact your host and ask them to do it.

Upload images to send as an email attachment using ASP


Does anyone know how to upload images to send as an email attachment using ASP?

Thanks in advance

here is a scrip that attaches the file from your server

<HTML>
<BODY BGCOLOR="white">

<H1>aspSmartMail : Sample 5</H1>
<HR>
<%

    On error resume next

    Dim mySmartMail
    Set mySmartMail = Server.CreateObject("aspSmartMail.SmartMail")

'   Mail Server
'   ***********
    mySmartMail.Server = "mail.yourdomain.com"
    mySmartMail.ServerPort = 25
    mySmartMail.ServerTimeOut = 35

'   From
'   ****
    mySmartMail.SenderName = "Your Name"
    mySmartMail.SenderAddress = "youremail@yourdomain.com"

'   To
'   **
    mySmartMail.Recipients.Add "yourfriend0@anydomain.com", "Friend0's name"
    mySmartMail.Recipients.Add "yourfriend1@anydomain.com", "Friend1's name"

'   Carbon copy
'   ***********
    mySmartMail.CCs.Add "yourfriend2@anydomain.com", "Friend2's name"

'   Blind carbon copy
'   *****************
    mySmartMail.BCCs.Add "yourfriend3@anydomain.com", "Friend3's name"

'   Reply To
'   ********
    mySmartMail.ReplyTos.Add "yourfriend4@anydomain.com", "Friend4's name"

'   Message
'   *******
    mySmartMail.Subject = "aspSmartMail Sample 5"
    mySmartMail.Body = "This mail which has been sent with aspSmartMail."

'   Parameters
'   **********
    mySmartMail.DateTime = "Wed, 23 febr 2000 12:00 +0600"
    mySmartMail.Organization = "your Society Inc."
    mySmartMail.XMailer = "Your Web Application"
    mySmartMail.Priority = 1
    mySmartMail.ReturnReceipt = false
    mySmartMail.ConfirmRead = true
    mySmartMail.ContentType = "text/plain"
    mySmartMail.Charset = "us-ascii"
    mySmartMail.Encoding = "base64"

'   Attached file
'   *************
    mySmartMail.Attachments.Add Server.MapPath("aspSmartMailsample.txt"), false

'   Send the message
'   ****************
    mySmartMail.SendMail

    if err.number <> 0 then

        response.write("Error n° " &  err.number - vbobjecterror & " = " & err.description  & "<br>")

    else

        Response.Write "aspSmartMail has sent your message with this file as attachment : <br>"
        Response.Write mySmartMail.Attachments.Item(1).FilePathName

    end if

    set mySmartMail = nothing

%>
</body>
</html>

Protect the username & password fields against brute force attack


Hi,
How can I protect the username & password fields against brute force attack in ASP page?

The best way to prevent brute force attacks on your login screen is to do an account lockout after x failed attempts. You can block on IP or on account.

how to get this data back on the other page


hi,
i want to send a data by using href. like this sample.aspx?data=14 but i don’t know how to get this data back on the other page?

Use strData = Request(“data”)

if you used method = “post”, you would use request.form to retrieve the data.

Request.QueryString[“data”]

use method=”post”

sp code in a text file


I need to write asp code in a text file ( .txt extension) . How do i make it work?

You can use notepad to write the code and save the textfile as .asp or .txt for safekeeping.

Thanx for reply but i need a way to make asp engine parse the text file as asp file.

you need to configre your server to use ASP for .txt extensions

Yes, Unless you have access to configure the server this is impossible.

change the Traffic limit


Hi,
I want to change the Traffic limit. How can i do it?

To change the traffic limit:

1. Select Quick Access in the Account menu.
2. Click the Change icon next to Total traffic.
3. Enter how much traffic you expect to run up throughout your billing period.

Thanx stevon

Can we also change the Disk Quota ?

Yes, u can change the Disk Quot

To change your disk quota:

1. Select Quick Access in the Account menu.
2. Enter how much disk space you would like to have.

Different skins offer different control panel navigation. To change the skin:

1. Select Look and Feel in the Account menu.
2. On the page that appears, select the name of the skin in the Choose Design box and click the Choose button.
3. Select the icon set and click the Set icon.
4. Set Tooltips state. This option determines whether or not to show assisting hints at the top of each page.

Add a new domain name


Hi,
I want to add a new domain name to my web hosting account.
Plz. help

To add a new domain name to your account:

1. Select Add New Domain in the Domain Settings menu

2. Choose the type of domain you want to register:
* Creating new standard domains
* Transferring existing domains or registering nonstandard domains
* Creating domains based on your provider’s domain names (third level domains)
* Hosting sites without domain names
* Parking external domains
* Creating accounts without domains

3. Submit

To create a new standard domain (.com, .net, .org, etc.), enter your desired domain name into the field in the first form omitting the www part:
To its right, select the top level domain: .com, org, .net, etc., then enter your contact and billing information. Based on these data, the system generates a domain registration request and submits it to the domain registration company.

How can we Transfer Existing Domains or Registering Nonstandard Domains ?

To transfer an existing domain or register a nonstandard domain with your account, use the second form:

If you are creating a regional domain (e.g. your_domain.uk) or would like to use a different domain registration company, no automation is provided. Thus, first you need to make sure that you have a valid domain name. Enter it into the lower box, omitting the www. part.

Following the registration you will get an e-mail notification with the information to send to your domain name registration company. They will make appropriate changes on the root DNS servers, and within a couple of days your domain will be accessible at the new IP address. In the meantime, your site will be available by the instant domain alias.

Domain registration is a standard procedure. First, you purchase a domain name from a domain registration company. Second, you register this domain name with your web-hosting provider and get your new IP address. Third, you send this IP address to your domain registration company, where it is set as the IP address for your domain name. It is only then that your site becomes available to all Internet community. This is true both of standard and nonstandard domains. In case of standard domain names, however, the registration process is automated.

You can’t transfer domains that are already in use in the system. Nor can you transfer third level domains if they use a second level domain owned by another user.

Park External Domains


Hello,
Can I Park External Domains In my my web hosting account.

Yes, u can

This feature allows you to use H-Sphere DNS server to map IPs to domain names serviced and hosted on other servers (not those of H-Sphere). In this case, a DNS zone is created with a custom DNS A record for the domain name and its IP is entered in the form.