i've tried to just include a pear library and it's not working:
<?php
require_once '/x10hosting/php2/pear/PEAR/Validate.php';
echo "help";
?>
I dont see anything in the cpanel allowing me to install any pear packages. Is it allowed with a free account? maybe i need to upgrade php? how do i do that?
the reason i need the pear packages is for a secure contact us form.
i wrote a contact us php script which uses pears mail package to prevent mail injection and the validate package to prevent spam.
<?php
require_once '/x10hosting/php2/pear/PEAR/Validate.php';
echo "help";
?>
I dont see anything in the cpanel allowing me to install any pear packages. Is it allowed with a free account? maybe i need to upgrade php? how do i do that?
the reason i need the pear packages is for a secure contact us form.
i wrote a contact us php script which uses pears mail package to prevent mail injection and the validate package to prevent spam.