Posts Tagged ‘php’

Fatal error: Allowed memory size of 8388608 bytes exhausted

1

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 [...]

 

My PHP script gives the error ‘Call to undefined function: mysql_connect()’

1

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 [...]

 

What is PHP? What does PHP stand for?

0

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 [...]

 

How do I query a MySQL database from a PHP script?

0

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; [...]

 

Setting “register_globals” to ON in PHP

0

You can create your own php.ini file inside whatever sub-directory your script is in. You can then determine the exact behaviour for your PHP scripts yourself. There’s a lot of documentation on how to use the various configuration features inside php.ini online at . In this case, to set “register globals” on, you can just [...]

 

How to create a custom php.ini file

6

There are some variables in the php.ini file that can be overwritten, a common request is how to change the PHP file upload limit. You can do this by creating a custom php.ini file in the directory you want to use (where your script resides). Here is an example; On your computer open a new [...]

 

Search Blog

The Cloud

Pixel Internet specialise in web hosting for the following Open Source software packages, many of which include 'one-click-installation' via your control panel!

Click on a link below for more information regarding these packages and what we can offer.

Close this panel