Back to PHP (Applications and Scripts)

How To Use PHP


This article is for cPanel Accounts. Determine where your account is with this guide.

To use PHP, make a file and give it a ".php" file extension such as myfile.php. Inside this file, you can put any HTML that would normally go on a Web page.

Anywhere in that file, within the HTML, you can put your PHP code (with the proper start and end PHP tags). You can learn more about PHP at http://php.net and http://zend.org You can find PHP scripts at http://hotscripts.com

WestHost would also recommend looking for http://w3schools.com/ for guides and help in learning to program in PHP and HTML.


Related Articles

How To Troubleshoot PHP Upgrade Issues
Can I Enable PHP Allow_url_include On My Account
Can I Increase The PHP post_max_size Setting
Can I Modify My Suhosin Settings With A Local php.ini File
Can I Utilize PHP Shell Exec Functions

Can’t Find what you need?

No worries, Our experts are here to help.