Category Archives: PHP

Critical bug in PHP 5.2 and PHP 5.3

A critical bug has been discovered in PHP 5.3 and 5.2. This bug could easily generate a Denial of Service on servers in 32 bits (the recent ski developer under 64 bits indicate that the fault is apparently not 64-bit). … Continue reading

Posted in PHP | Tagged , , , | Comments Off

Developing PHP anywhere with PHPAnywhere

You are always on the go or on several different computers … to develop, it is not very practical, it is often necessary to synchronize our data (unless you use a subversion) then there is a PHP script that allows … Continue reading

Posted in PHP | Tagged , , , , | Comments Off

SQL Injection

SQL Injection is the exploitation of a vulnerability in relation to SQL databases, which is caused by lack of masking or revise any meta-characters in user input. The attacker tries, on the application that provides access to the database to … Continue reading

Posted in Database, Hosting, PHP, Webmaster | Tagged , , | Comments Off

URL Rewriting with the Apache module mod_rewrite

Dynamic website often have URLs on many parameters must be passed. mod_rewrite Apache module with the help of the URLs are like “index.php? id = 1 & component = help” of the past. Prerequisite for use of mod_rewrite is that … Continue reading

Posted in PHP, Webmaster | Tagged , , | Comments Off

Enable Code Execution in PHP files without extensions

In this post we will solve is little doubt that it is often proposed as a question in the discussion forum dedicated to coding, as you can enable the ‘execution of PHP code’ contained in files that do not have … Continue reading

Posted in Open Source, PHP | Tagged , , | Comments Off

Make a URL with cURL

In the following script will perform a check on a URL, but mind you, this is not a review of the “syntax” of a URL, but its very existence, thanks to the cURL library, please contact the landing page and … Continue reading

Posted in PHP | Tagged , | Comments Off

Cycling an empty array in PHP

Have you ever tried to make a foreach loop to iterate over an array empty? Surely you’ve ever used and most likely you have a topic for the cycle manufactured by some piece of code broken, as is known, in … Continue reading

Posted in PHP | Tagged , , , | Comments Off

Save the output of phpinfo () in a file

In this simple tutorial we will see how we can save the result of running the phpinfo () in a text file, as is well known phpinfo () displays all the settings for an installation of PHP-generated through a very … Continue reading

Posted in PHP | Tagged | Comments Off

Restrict input length of the DB field to park

A good practice in developing PHP applications that process data sent from the form and send them to tables in a database, is not to allow reception of parameters longer than expected for the fields to populate. Consider, for example, … Continue reading

Posted in PHP | Comments Off

WordPress dropping support for PHP 4

It is now official, version 3.1 of WordPress, the blog engine most used open source Network, will be the last that will provide compatibility with version 4 of PHP developers and especially those that perform third-party extensions, are felt, the … Continue reading

Posted in PHP | Comments Off