background preloader

Php mySQL

Facebook Twitter

301 Redirect - How to create Redirects. 301 Redirect 301 redirect is the most efficient and Search Engine Friendly method for webpage redirection.

301 Redirect - How to create Redirects

It's not that hard to implement and it should preserve your search engine rankings for that particular page. If you have to change file names or move pages around, it's the safest option. The code "301" is interpreted as "moved permanently". You can Test your redirection with Search Engine Friendly Redirect Checker Below are a Couple of methods to implement URL Redirection via code and htaccess redirect IIS Redirect In internet services manager, right click on the file or folder you wish to redirect Select the radio titled "a redirection to a URL".

PHP Contact Form and Form Validation. Writing a Plugin. Writing a Plugin Languages: English • বাংলা • Español • 日本語 • 한국어 • Português do Brasil • Русский • ไทย • 中文(简体) • (Add your language) WordPress Plugins allow easy modification, customization, and enhancement to a WordPress blog.

Writing a Plugin

Instead of changing the core programming of WordPress, you can add functionality with WordPress Plugins. Here is a basic definition: WordPress Plugin: A WordPress Plugin is a program, or a set of one or more functions, written in the PHP scripting language, that adds a specific set of features or services to the WordPress weblog, which can be seamlessly integrated with the weblog using access points and methods provided by the WordPress Plugin Application Program Interface (API). Wishing that WordPress had some new or modified functionality? PHP MySQL Tutorial. PHP form tutorial - PHP form processing. This article demonstrates how to use PHP forms.

PHP form tutorial - PHP form processing

You will find detailed information from the form basics to advanced form processing. PHP form tutorial. This tutorial takes you step by step through web form processing using PHP.

PHP form tutorial

You will learn how to collect input from a web form, validate and save it. This tutorial assumes that you are familiar with at least very basic PHP and HTML. Note: You can make web forms quickly with Simfatic Forms. Simfatic Forms helps you to make complete, feature rich forms and get it online quickly. Read more here. Extremely useful PHP classes. PHP PSD Reader A few weeks ago, I wrote an article about this PHP which allow you to display any Adobe PSD file on screen.

extremely useful PHP classes

Very usefull to create preview of PSDs designed for clients, for example.Download Browser detect One of the most common (and boring) problem for front-end developers is definitely cross-browser compatibility. This PHP class will detect almost all browsers and simplify your cross-browser work.Download Akismet Remember those days without spam? ADOdb The large majority of websites and web apps are using databases to store all kinds of data.

JpGraph - Most powerful PHP-driven charts. Top 20+ MySQL Best Practices. LiveDocx in PHP - Zend_Service_LiveDocx. Generating print-ready well-formatted PDF documents with PHP is not an easy task.

LiveDocx in PHP - Zend_Service_LiveDocx

Traditionally, there are two main approaches to PDF generation with PHP. Given sufficient time and patience, both partially get the job done, but still leave a lot to be desired: HTML-to-PDF: This approach is widely used in mainstream applications. Here an HTML document is programmatically created and converted to a PDF, using one of the many open source libraries 1. Since HTML, however, is not a page-oriented format (as is PDF), it is impossible to perform a 1-to-1 mapping between HTML and PDF.

Programmatic: This approach offers total control of the resulting PDF. A completely new approach In this article, the author presents an entirely new, third approach. Before we delve into a technical discussion on the inner workings of this new approach, let us first take a look at a practical example. The code demonstrated in this article ships with Zend Framework 1.10 or newer. Introducing LiveDocx. 43 Ways to Optimize your PHP Code.

PHP Tutorials and Reference Guide. 15 very useful PHP code snippets for PHP developers. Following are list of 15 most useful PHP code snippets that a PHP developer will need at any point in his career.

15 very useful PHP code snippets for PHP developers

Few of the snippets are shared from my projects and few are taken from useful php websites from internet. You may also want to comment on any of the code or also you can share your code snippet through comment section if you think it may be useful for others. 1. PHP command line syntax checking. Posted April 24th, 2010 in PHP The PHP CLI (command line interface) allows basic syntax checking of a PHP file.

PHP command line syntax checking

I'll show the basic usage of this in this post and then a couple of ways to check all files in a directory, and all files recursively down the directory tree as posted by a couple of people on Twitter. 10 code snippets for PHP developers « The html blog. I’ve compiled a small list of some useful code snippets which might help you when writing your PHP scripts… Email address check Checks for a valid email address using the php-email-address-validation class.

10 code snippets for PHP developers « The html blog

Source and docs: 01.include('EmailAddressValidator.php'); 03. 04.if ($validator->check_email_address('test@example.org')) { 07.else { Random password generator. 40+ Invaluable PHP Tutorials and Resources. Akelos PHP Framework. AtomicPHP. 7 Secure, Lightweight, and Easy to Use PHP Frameworks. Choosing a good PHP frameworks can help you develop complex Rich Internet Applications quickly, with a best practices oriented approach, and saving a lot of time reusing code snippets that are already available.

7 Secure, Lightweight, and Easy to Use PHP Frameworks

There are a lot of interesting PHP frameworks you can choose for your next web project. Which framework you choose is really a personal decision. There is no one “best” framework on the market at the moment. Different frameworks are better for different types of projects, and for different developer. Today we will focus on 7 secure, lightweight and easy to use PHP Frameworks.