Posted on 12/07/08, filed under Web Hosting Problems/Solutions | 1 Comment
It todays Web Hosting Tutorial we are going to cover how to change your PHP file upload limit to avoind the following error:
‘Fatal error: Allowed memory size of 8388608 bytes exhausted’?
PHP has a built-in limit on the amount of memory it will allocate. If that limit is reached, the process will exit with this error message. This is usually the result of the PHP script trying to load a large… Read full story
Posted on 12/07/08, filed under Web Hosting Problems/Solutions | No Comments
My PHP script gives the error ‘Call to undefined function: mysql_connect()’
This is usually due to a faulty php.ini file causing the PHP MySQL functions to be undefined. A custom php.ini file should not need to contain more than a very few lines to override the specific necessary directives. Using a php.ini found on other webservers or examples given on PHP-related websites
Posted on 12/07/08, filed under Did You Know? | No Comments
Self-referentially short for PHP: Hypertext Preprocessor, an open source, server-side, HTML embedded scripting language used to create dynamic Web pages. In an HTML document, PHP script (similar syntax to that of Perl or C ) is enclosed within special PHP tags. Because PHP is embedded within tags, the author can jump between HTML and PHP (similar to ASP and Cold Fusion) instead of having to rely on heavy amounts of… Read full story
Posted on 12/07/08, filed under Hosting Tutorials | No Comments
In todays web hosting tutorial we are going to cover :
How do I query a MySQL database from a PHP script?
Use the following outline to connect and begin querying the MySQL server from within your PHP scripts. Remember if you are a Pixel Internet customer you cannot connect to your databases remotely for security reasons; you can only connect from localhost.
1. Connect to the… Read full story