Home / Programming / php / Why does my php script give this error - "Call to undefined function: hash()"
Why does my php script give this error - "Call to undefined function: hash()"
Last updated: 02/07/2012
This may be that your server is running php
4, and needs to be running php
5. On some hosting providers, you can choose which version you want. You can try adding this .htaccess file to your document root to fix: