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
URL Redirection / Drop down menu
Install PERL-CGI scripts to your
Supported ASP components on
Supported ASP components on
To use our counter, insert
the following tag in your web page:
* please replace the orange text with your login
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
Our provided Formmail POST specification:
<FORM METHOD=post ACTION="http://www.mecca.ca/cgi-bin/formmail.pl">
the developer's guide of formmail, please visit:
After you have setup your formmail, please contact
to enable the formmail feature in your account.
Redirection / Drop down menu box
can create drop down menus with the simple HTML
<form method="POST" action="http://www.i-mecca.net/php-bin/redirect.php">
<select name="url" size="1">
<option selected value="">Please
select from below...</option>
<input type="submit" value="Submit">
please replace the orange
text with website URL that you want
the script to redirect.
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
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:
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.
path (For UNIX hosting):
SMTP host to use (For NT hosting):
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
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
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):
and a more detailed debug information should appear
in your web browser.
you need us to install any additional CPAN modules
for Perl or if you require further assistance,
please contact us at firstname.lastname@example.org.
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.
SMTP server to use: "mail.ehosting.ca"
Sample codes: download
Sample codes: http://www.aspsmart.com/aspSmartUpload
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 = "email@example.com"
Mailer.To = "firstname.lastname@example.org"
Mailer.Subject = "Subject of this email"
Mailer.Body = "testing 123"
Mailer.Host = "localhost"
if Mailer.Send then
Set Mailer = Nothing
please replace the orange text
with your sender's email address and recipient's
Note: Object "MailFormat" is not supported on UNIX
more information, please refer to Chilisoft ASP
Get Internal Server Error on your ASP scripts on
UNIX platform? Contact email@example.com for
an ASP log viewer.