Botturn PHP Programing

All About PHP, Tutorials, Scripts, Video Lessons, Forum, Downloads

TUTORIAL - Arrays and PHP example with checkbox

Posted by admin On April - 30-2009

An array in PHP is actually an ordered map. A map is a type that maps values ​​to keys. This type is optimized in several ways, so you can use it as a real array, or a list (vector), hashtable (which is an implementation of a map), dictionary, collection, stack, queue and probably more. As you may have another PHP array as a value, you can also quite easily simulate trees.

Here's how to send an email through PHP for more than one recipient:
Note: Remember that the mail () function was added in PHP 4 and that for the e-mail is sent it is necessary that your server has configured / running an SMTP server.

PHP TUTORIAL - Send a file to the server

Posted by admin On April - 20-2009

PHP supports many features, so its great success among developers seeking ease of programming, support databases,
regardless of the running operating system and hardware, among others.
Among the features of PHP is support for sending files to the server through an HTML form. Any kind of [...]

TUTORIAL - Help, FAQs XAMPP

Posted by admin On April - 7-2009

XAMPP does not work on Windows XP SP2!
Right! But here, Microsoft has released a new firewall. This firewall blocks the ports 80 (http) and 443 (https) and the server will not boot (more). A quick solution: Turn off the Microsoft firewall with the toolbar and try to start XAMPP again. Of course everyone can define their own exceptions to the firewall in the Security Center. The following ports are required for basic operation:
http 80 (HTTP)
https 443 (SSL)
mysql 3306
And XAMPP for other services: ...

TUTORIAL - Using Cookies in PHP

Posted by admin On April - 6-2009

A cookie is a file that is created by the site user's computer containing data for later use by the site.

An example of use of sites that create cookies are cookies that you do not need to enter your password when you access it again. Usually cookies are also used to store user preferences on the site.

TUTORIAL - Using UTF-8 correctly, Latin accent in php

Posted by admin On April - 6-2009

A while ago I needed to make a website that would record and read data in Japanese and Portuguese all in the same database. The solution to this was to use UTF-8, forgetting the famous ISO-8859-1 (Latin).

Using UTF-8 correctly you will get rid of all the problems of stress that may be caused on your page and get rid of instead of functions as utf8_encode () and derivatives.

TUTORIAL - redirection via PHP

Posted by admin On March - 31-2009

To redirect the user via php is very easy to just put a page named index.php in the root of the server with the following code

E-BOOK - Manual phpmyadmin Portuguese

Posted by admin On March - 30-2009

Increasingly, phpmyadmin assumes a key role in the creation / management of databases in mysql! With the growing number of programmers PHP / MYSQL in Portugal and Brazil, here are a fairly comprehensive ebook on how to use phpmyadmin.

TUTORIAL - Installing and Configuring Moodle LMS

Posted by admin On March - 27-2009

Moodle is a LMS (Learning Management System) that has been widely used as a Virtual Learning Environment in several courses, both in distance education as a tool to support teaching presencial.Esse great use can be justified by the flexibility of the system (functionality can be added easily through modules), the translation in several languages ​​[...]

TUTORIAL - Calendar with navigation between dates

Posted by admin On March - 27-2009

Script that displays a calendar with the shipping dates (month and month later) and a form to fill directly the desired date to be displayed.