Internet Marketing, Web Development, Programming and Geekery

Posts in the ‘Web Development’ Category

thumbnail

Simulate Neural Networks with PHP

Modern usage of the term, “neural networks” refers to artificial neural networks, which, in short are, interconnected artificial neurons or programming constructs that simulate the properties of biological neurons. Neural Mesh has developed a PHP-based neural network framework for simulating and administrating artificial neural networks.
Still there? In other words, they have created a system …

thumbnail

uri_part: A PHP Function for Working with the Current URI

A PHP function that makes it extremely easy to display dynamic content within your existing Content Management System (CMS), web application framework or standard “PHP-enabled” website.
function uri_part($n) {
$path = explode(“/”, $_SERVER["REQUEST_URI"]);
for ($i = 0; $i <= count($path); $i++) {
if(is_null($path[$i]) || $path[$i] == “”) {
unset($path[$i]);
}
}
$path = array_values($path);
switch($n) {
case 0: return @$path[0]; break;
case 1: return @$path[1]; break;
case …

thumbnail

Remove WordPress Post Revisions for Database Optimization

Ever since WordPress introduced autosaving and revision control features, larger blogs have seen a significant increase in the size of their databases. If your WordPress installation has slowed dramatically or you are simply looking to optimize your database by removing countless records you’ll never end up actually needing, run the following query on your WordPress …

thumbnail

Use PHP Scripts in 3 Steps

Here’s a simple three-step process for using/running PHP scripts on a Windows machine.

Download/Install WampServer.
Place script.php into the www directory of your wamp install. If you did everything default it should be located at c:\wamp\www
Run the script by pointing your browser at: http://localhost/script.php. In other words consider the “http://localhost/” to be your domain and the www …