Publishing PHP Pages

​Introduction
 

You can publish PHP on your CCM Web Page. You just have to put your PHP scripts inside public_html directory of your CCM Unix Home Directory. Your PHP scripts will be viewable through your usual CCM web page URL, for example, http://www.ccm.kfupm.edu.sa /YourUnixUserName/. You may upload files to your public_html directory (which is in your home directory) using samba or ftp.

 

Using databases with PHP
 
You can connect to a database from your PHP pages. If you want to use a database from your PHP, then we recommend you to use MySql database Server or ORACLE database systems available in CCM. You can get account and table space on CCM database server (for Oracle and SQL Server) by contacting Mr. Yusuf Sharif Hassan, in building 22, room 333-1. For getting account on MySql server, contact  ccm-admin@kfupm.edu.sa.​