Botturn PHP Programing

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

Files of the month March, 2009

PHP Lesson 7 - Control Structures I

Posted by admin On March - 20-2009

Seventh class of the collection of video lectures of Professor Gustavo Guanabara
Lesson 7 - Control Structures I

Download this lesson.

PHP Lesson 6 - Operators

Posted by admin On March - 20-2009

Friday's class collection of video lectures of Professor Gustavo Guanabara
Lesson 6 - Operators

Download this lesson.

PHP 5 class - Variables and Constants

Posted by admin On March - 20-2009

Thursday's class collection of video lectures of Professor Gustavo Guanabara

Lesson 5 - Variables and Constants

SCRIPT - osCommerce Random Products

Posted by admin On March - 19-2009

Now insert a very simple script but in turn, very useful! If you have an osCommerce online store at this script may be useful.

This script generates random information about a product available in your osCommerce store with direct link to it. You can then use it to advertise their products on other sites and thus increase their sales!

TUTORIAL - 15 tips to make your site more secure PHP

Posted by admin On March - 18-2009

1. Avoid placing your file with database connection in the same directory on your web pages or the directory used for includes. The best thing to do is put it in some directory outside the site root.

2. Turn on the web server configuration that allows the listing of files contained in directories that do not have an index.php.

3. Avoid using the name includes the directory where you put that file type.

4. In the directory you use to put your include files, always put an index.htm file and an index.php blank. This will prevent the server list the contents of this directory if it is with the enabled setting for listings.

5. Never use the. Inc files to your include. This can cause the web server show important data contained in these files. Always use the extension. Php. Thus the file will always be processed before being delivered to users.

TUTORIAL - Login and Registration System

Posted by admin On March - 18-2009

Hello, this is my debut with my first articles and this text will show you how to make a page for user registration and login. I hope that everyone understands the code is simple and easy to understand, have fun.

Note: There are people who use PHPTriad, others who use other people use xampp and others who speak not the case now, this article is certainly for the first two I mentioned and also this is an introductory article for people new to php clear that the teachers use it know differently in other environments.

Both are policies that determine the maximum size of files that are uploaded to the server via PHP script, but if a file is sent using the POST method and policies with these values ​​are:

post_max_size = 8M
upload_max_filesize = 12M

The file to be sent to the server can not have more than 8MB (eight [...]

TUTORIAL - Understanding $ _POST and $ _GET in PHP

Posted by admin On March - 16-2009

Probably if you think making a website in php will certainly need to use $ _POST and $ _GET, because variables need to move from page to page.

So I'll give a brief explanation of how these two methods of transport variables.

TUTORIAL - Using MySQL with PHP

Posted by admin On March - 15-2009

The database for the most common language is php mysql, you can download the site mysql.com. However, you can use other databases such as Oracle, Sybase, mSQL, PostgreSQL or any ODBC connection with. In this tutorial we use mysql by default.
For PHP to interact with a SQL database, regardless of the database, there are three basic commands that must be used: one that connects with the server database, one that selects the database to be used and one that performs a "query" SQL.

SCRIPT - PHP Classifieds (Classifieds Website)

Posted by admin On March - 15-2009

PHP Classifieds is a classified program for use with unlimited categories and ads. It has two user interfaces: one for the public (FrontOffice), and the other for the admin (BackOffice).

Features: Unlimited categories, unlimited sub-categories, ads, Unlimited, Unlimited users, upload, detailed view, summary view, email auto sent when registered, Auto delete of old ads, # of ads in each category, password protected area where the user can see all your ads, password protected admin area with feature add, delete and modify categories and ads, an installation program, and function-mail newsletter. Wap, models, fully configurable by the admin, header / footer in admin, a language file, two different class structure, img MySql or upload files, refer a friend and more.