How to know if your hosting supports PHP
Need a Website? Contact Us Now!
If you have contact forms or any other forms in php and wondering if your hosting supports PHP, you can follow the below steps to know if your hosting supports PHP.
1. Open dreamweaver and go to the code page and copy and past the below php codes within the <body> tag as shown below.
<body>
<?php
mail(‘clement@bestwebdesignz.com’,'Test mail’,'The mail function is working!’);
echo ‘Mail sent!’;
?>
</body>
2. Put in your mail id where it says ‘clement@bestwebdesignz.com’ in the code above.
3. Save the file as mailtest.php and upload it to your server using your FTP.
4. Go to your URL or domain name, in this case http://bestwebdesignz.com/ and add your php file name along with it, ie: http://bestwebdesignz.com/mailtest.php/ (since I have uploaded mailtest.php in the root directory ie: public_html folder.
5. Now check your mail and see if you received your mail, you can wait for a while too, check your spam folders too.
If you have received the mail which says “The mail function is working” then you know that your hosting supports PHP, if not your hosting does not support PHP.
That’s it, you now know how to know if your hosting supports PHP.
phpBB Tutorials
- phpBB Tutorials
- How to install phpBB from fantastico.
- PhpBB Templates
- How to backup your database in phpBB
- How to ban users from accessing and using the forums in phpBB
- How to use word censoring in phpBB
- How to configure your phpBB installations.
- How to create a forum in phpBB
- How to create a new topic in phpBB
- How to disallow usernames in phpBB
- How to edit your profile in phpBB.
- How to configure forum permissions in phpBB
- How to manage group permissions in phpBB
- How to manage groups in phpBB
- How to manage a forum in phpBB
- How to send a mass email to users in phpBB
- How to setup a poll when starting a new topic in phpBB
- How to send private messages in phpBB
- How to edit a users profile in phpBB
- How to prune forums in phpBB
- How to register as a user in phpBB
- How to manage ranks in phpBB
- How to reply to an existing topic in phpBB.
- How to use the search tool in phpBB
- How to manage smilies in phpBB
- How to manage styles in phpBB
- How to manage user permissions in phpBB
- How to know if your hosting supports PHP
- PHP code for Contact form
- Contact PHP forms in Yahoo Smallbusiness Server
Posted in phpBB Tutorials | No Comments »











