background preloader

PHP and MySQL

Facebook Twitter

8 Practices to Secure Your Web App. When it comes to application security, in addition to securing your hardware and platform, you also need to write your code securely.

8 Practices to Secure Your Web App

This article will explain how to keep your application secure and less vulnerable to hacking. The following are the best habits that a programmer can develop in order to protect his or her application from attack: Input data validationGuarding against XSS attacksGuarding against CSRF attacksPreventing SQL Injection attacksProtecting the file systemProtecting session dataProper error handlingGuarding included files Input Data Validation While designing your application, you should be striving to guard your app against bad input.

Always validate data in your PHP code. Guarding Against XSS Attacks Cross-site scripting attack (XSS attack) is an attack based on code injection into vulnerable web pages. Suppose you have a comment form in your application that allows users to enter data, and on successful submission it shows all the comments. Proper Error Handling. PHPeasystep - Learn PHP and MySQL. Free PHP Tutorials, Web Development Tutorials & MySQL Tutorials. PHP with MySQL Essential Training. The Best Way to Learn PHP. Learning something from scratch is almost always an arduous affair -- you simply have no idea as to where to start, or not to start, to kick things off.

The Best Way to Learn PHP

I loathed learning about the idiosyncrasies of C++'s syntax when all I wanted to learn were some darn programming concepts. As I'm sure you can agree, this is a less than ideal situation. This is where the Nettuts+ "The Best Way to Learn" series comes into the picture. This series is intended to be your blueprint, your road map, your plan of action for learning your topic of choice! You don't have to worry about finding the best resources, sorting out the bad ones, and figuring out what to learn next. Today, we're going to figure out the best way to learn PHP. Assignment #1: Disregard the Naysayers If you're reading this, chances are that you've Googled a lot to decide which language to learn and how.

Haters gonna hate! As the popular saying goes, haters gonna hate! Assignment #2: Install PHP through [X]AMP Author: David Powers. PHP 101: PHP For the Absolute Beginner. [box] For a complete list of Zend Training Courses – PLEASE CLICK HERE !

PHP 101: PHP For the Absolute Beginner

[/box] This area is intended for everyone new to PHP. It opens with a series of informal, entertaining tutorials written by Vikram Vaswani, founder and CEO of Melonfire. These tutorials build on a previously-published 5-part series which has now been updated and extended to embrace PHP 5, making parts of it suitable for those of you who already have worked with PHP 4 in the past. Learn PHP the easy way - PHPBuddy.com. Learning PHP: Get Started Using PHP. This PHP tutorial will guide you through the process of learning and using PHP, preparing you with some fundamental knowledge to get you started in the right path.

We will talk about the history of PHP, create a local development environment (so that you won’t need a web server) and create a basic PHP script while discussing common beginner PHP gotchas along the way. Introduction In the beginning, there was nothing. Well, there were static web pages that had to be edited manually. That was a pain. With the introduction of PHP/FI (Personal Homepage Tools) in 1995, everything changed. When Rasmus Lerdorf, the creator of PHP/FI, decided to release the source code of his project, the development went even faster. Andi Gutmans and Zeev Suraski joined the project in 1997 and started working on PHP 3.0 as the official successor of PHP/FI. Shortly after the release, Andi and Zeev were already working on a rewrite of PHP’s core. Language Reference. PHP: The Right Way.

PHPeasystep - Learn PHP and MySQL. Beginners PHP Tutorials. Phpprimer_v0.1. PHP-MySQL free course, online tutorials PHP MySQL code. PHP is an open source, server-side web-scripting language that is compatible with all the major web servers (most notably Apache) and databases.

PHP-MySQL free course, online tutorials PHP MySQL code

By the help of PHP code you can create dynamic website content. Dynamic Web sites are flexible applications than merely sites. If you know HTML, but you have no experience in the field of programming, you can easily learn PHP and MySQL with the help of this course. This course starts from the most simple, explaining the operations of the PHP language, and then move on to detail how to create PHP programs, how to load the PHP scripts, and to the final approach more complex items, such as SQL commands, working with MySQL database, using classes and OOP (Object Oriented Programming) in PHP. • Useful questions and answers on Forum PHP - MySQL.