Webmail Domain Control Hosting Panel Site2Go Panel
 
主頁
優惠計劃
網域服務
客戶服務
關於我們
  立即申請
SkyHost.com.hk
Site2Go
Store2Go
網頁寄存計劃
Economy
StartUp
All-In-One
Advanced

Premium


網頁速建站
Site2Go Extreme

網上商店系統
Store2Go
網上商店系統

專屬伺服器租用
Dedicated Server
域名註冊服務
域名價格 (特價發售!)
域名申請/轉移服務

網域資訊中心 (WhoIs)
帳戶資料
帳戶管理中心
帳戶資料更新

即時支援
網上即時聊天
自助服務
網上電郵
常見問題
網上教室
伺服器設定
系統狀態
濫發郵件操控

聯絡我們
關於我們
關於 SkyHost
獨有 SpeedVantage OC48網絡
e-zone 搶先推介 Site2Go
客戶評價
為什麼選擇我們?
我們的誠諾

新聞發佈中心
社區聯繫
查詢
聯絡我們
帳單政策
  Home > Customer Service > Help > Tutorials > Web Enhancements
 

Web Enhancements

The following features are exclusively provided to our clients at No Charge. Besides using the canned features modules below, you can also download any Perl/PHP/JAVAApplets/ColdFusion/ ASP/.NET scripts from third parties install it on our server.


Web Counter
Formmail V1.9
URL Redirection / Drop down menu box
Install PERL-CGI scripts to your website
Supported ASP components on NT hosting
Supported ASP components on UNIX hosting


Web Counter:

To use our counter, insert the following tag in your web page:

<IMG SRC="http://www.mecca.ca/cgi-bin/count.cgi?login_ID">

* please replace the orange text with your login ID

Working Demo:
 


Formmail v1.9

FormMail is a generic WWW form to e-mail gateway, which will parse the results of any form and send them to the specified user. This script has many formatting and operational options, most of which can be specified through the form, meaning you don't need any programming knowledge or multiple scripts for multiple forms.

Anyone who wants to use Formmail should consider to use our server supplied one. If for some reason, you must run your own copy of Formmail, make sure it is an enhanced security version (v1.9s) found at ftp://ftp.monkeys.com/pub/formmail/1.9s.

Our provided Formmail POST specification:
   <FORM METHOD=post ACTION="http://www.mecca.ca/cgi-bin/formmail.pl">

For the developer's guide of formmail, please visit: http://www.ehosting.ca/manuals/formmail.html

Note: After you have setup your formmail, please contact us at support@mecca.ca to enable the formmail feature in your account.


URL Redirection / Drop down menu box

You can create drop down menus with the simple HTML code below:

<form method="POST" action="http://www.i-mecca.net/php-bin/redirect.php3">
<select name="url" size="1">
<option selected value="">Please select from below...</option>
<option value="
http://www.mecca.ca/en/sample2/">restaurant</option>
<option value="
http://www.mecca.ca/en/sample3/">florist</option>
</select>
<input type="submit" value="Submit">
</form>

* please replace the orange text with website URL  that you want the script to redirect.

Demo:

Install Perl-CGI scripts to your website:

Due to server security concerns, we do not allow any telnet nor ssh access to our shell. To install Perl CGI scripts, you can perform the following:

1. Read the installation guide comes with the Perl scipts and configure the necessary configuration files with a text editor such as Notepad.

Below is our server information that you may need for configuring your Perl scipts:

PERL path:
   #!/usr/bin/perl

Absolute path:
   You can check your absolute path by visiting http://cpanel.ehosting.ca -> "What are my Server Settings?" under "Current Status" section of the left hand side of the main menu.

SENDMAIL path (For UNIX hosting):
   /usr/sbin/sendmail
or
   /usr/lib/sendmail

SMTP host to use (For NT hosting):
   mail.ehosting.ca

2. Upload your Perl scripts (must be either in .cgi or .pl extensions) to anywhere in your /web or /www directory (creating sub-directory is fine too). Remember to upload them in ASCII not BINARY.

3. Use a FTP program , execute CHMOD command to set your Perl scripts permissions to 755 and any data files and directories to 777. FTP programs like WS-FTP LE (PC), WS-FTP Pro (PC), CuteFTP (PC), CuteFTP Pro (PC) and Fetch (Mac) support CHMOD. (NT hosting users will not need to perform this step)

4 .
If you get "Internal Server Error", add this line to your perl script with a text editor (for eg. Notepad) right after the first line (i.e. #!/usr/bin/perl):

use CGI::Carp qw(fatalsToBrowser);

and a more detailed debug information should appear in your web browser.

If you need us to install any additional CPAN modules for Perl or if you require further assistance, please contact us at support@mecca.ca.


Supported ASP components on NT hosting:

This section does not apply to PHP programmers as PHP has native support for outgoing emails, files uploads and image generation (via GD library).

Our NT hosting platform supports popular ASP components like ASPMail, ASPSmartUpload and ASPImage. ASPMail allows your ASP scripts to send out emails via ASP, ASPSmartUpload allows your users to upload files to your website via ASP, ASPImage allows you to generate images on the fly. In addition, we also support SmartWin E-commerce DLLs and Ticketmaster Canada DLLs (ITASLink) for your e-commerce website development needs.

ASPMail manual:
   http://www2.mecca.ca/manuals/aspmail
   SMTP server to use: "mail.ehosting.ca" or "localhost"
   Sample codes: download here

ASPSmartUpload manual:
   http://www2.mecca.ca/manuals/aspupload/Objects.htm
   Sample codes: http://www.aspsmart.com/aspSmartUpload



Supported ASP components on UNIX hosting:

Our UNIX hosting platform supports ASP 3.0, VBScript 5.5 and JScript 5.5 based on Sun ONE Active Server Pages 4.0 implementation.

Ad Rotator, Counters component, SMTP component (Chili!Mail), File Upload component (Chili!Upload), POP3 component (Chili!POP3) are tested and supported.

For CDONTS support on UNIX, please refer the below sample code:

<%
Set mailer = Server.CreateObject("CDONTS.NewMail")
Mailer.From = "customer@address.com"
Mailer.To = "
your_email@yourdomain.com"
Mailer.Subject = "Subject of this email"
Mailer.Body = "testing 123"
Mailer.Host = "localhost"
if Mailer.Send then
Response.Redirect strRedirectURL
end if
Set Mailer = Nothing
%>

* please replace the orange text with your sender's email address and recipient's email address.

Note:
Object "MailFormat" is not supported on UNIX version of CDONTS.


For more information, please refer to Chilisoft ASP developer's guide:

   http://216.187.94.179:5100/caspdoc/

Get Internal Server Error on your ASP scripts on UNIX platform? Contact
support@mecca.ca for an ASP log viewer.


 
 
[ 遞交 ] [清除 ]
 
 
快速連結