For support contact us at
support@alajoyn.com
or you may call us
M-F 8:30-5:30 e.s.t.
616-808-4486


Alajoyn Hosting Manual

Chapter Twelve - Secure Socket Layer
Chapter Thirteen - Changing Your Passwords
Chapter Fourteen - PHP

Normally, any text (such as your credit card number) sent from your browser to the web server is sent as plain text. This means that a hacker could potentially intercept (however unlikely) the information sent from your browser and read it. Therefore, by using the secure server, the information is encrypted before it is sent from your browser. It would be practically impossible for anyone to decrypt it without knowing the key.

The following example uses yourdomain as the name of your domain and any page as the name of the order form or the page you wish to be secure.

Use the following url to call your pages via the secure server.

https://secureservername/yourdomain/anypage.html

Please contact support@alajoyn.com to find out what secure server your account is on.

The above page would be accessed from the normal web server as:

http://example.com/anypage.html

Go to www.yourdomain.com/menu and click on Formmail and follow the instructions for installing your formmail.

If you are calling the formmail through the secure server, your action line and other code will look like the following:

<FORM METHOD=POST ACTION="https://secure.alajoyn.com/cgi-sys/formmail.pl">
<input type=hidden name="recipient" value="emailaccount@yourdomain.com">
<input type=hidden name="subject" value="Order">
<input type=hidden name="return_link_url" value="https://secure.alajoyn.com/yourdomain/yourpage">
<input type=hidden name="return_link_title" value="Back to Your Page">

The last two lines allow a link back to your main page - thus they get a report of what they ordered and a link.

It's important that you call your order page through a secure URL (HTTPS) in order for it to work properly
Example:
https://secure.alajoyn.com/yourdomain/yourorderform.htm (note: your domain does not include the extension)

Remember if you need your secure server name or need your secure cgi-bin enabled please email support@alajoyn.com and we will provide you with this information.


Chapter Thirteen - Changing Your Passwords

- For Control Panel & FTP Password Changes:

Go to your Control Panel at http://www.yourdomain.com/menu and click on Password Change and follow the instructions. Once completed it will take approximately 10 minutes for the changes to take effect.

- For Email Password Changes:

Go to your Control Panel at http://www.yourdomain.com/menu and click on Mail Manager and then click on the Email account you are wishing to change the password for and then follow instructions.


Chapter Fourteen - PHP

What is PHP?

PHP (Hypertext Preprocessor) is a server-side HTML embedded scripting language that was developed in C and is designed especially for working with relational database systems.
How do I set up a PHP Program?
A PHP program is embedded directly in the HTML document. It must have a .php3 extension in order for the server to look for PHP code in the document. Here is how you embed the PHP:
<?
insert PHP code here
?>

To merely display the information in your database without the use of a form to call a php script you simply create your HTML document as you would any other web page but instead of the extension of .htm or .html you need to name the file with the extension .php3. Then within the document itself the section that you'd like to be the PHP code, you begin it with . For instance:

These are the products I sell:


<TABLE BORDER="0">

<?
mysql_connect(localhost, username, password);
$result = mysql(mydatabase, "select * from products");
$num = mysql_numrows($result);
$i = 0;

while($i < $num) {
echo "<TR>n";
echo "<TD>n";
echo mysql_result($result,$i,"prodid");
echo "</TD>n<TD>";
echo mysql_result($result,$i,"name");
echo "</TD>n<TD>";
echo mysql_result($result,$i,"price");
echo "</TD>n";
echo "</TR>n";
$i++;}
?>

</TABLE>

For detailed information regarding PHP, you can check out these following URL's and their manual:
http://www.php.net/manual

Other useful sites include:

http://www.vtwebwizard.com/tutorials/mysql/
http://www.devshed.com/Server_Side/PHP/Introduction/

 

©2000 Alajoyn Unlimited All rights reserved.
Alajoyn Hosting Solutions, Alajoyn, are all part of Alajoyn Unlimited.
comments or questions about this site, contact the webmaster