php mySQL

TwitterFacebook
Get flash to fully experience Pearltrees

301 Redirect - How to create Redirects

301 Redirect 301 redirect is the most efficient and Search Engine Friendly method for webpage redirection. 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". http://www.webconfs.com/how-to-redirect-a-webpage.php
http://codex.wordpress.org/Writing_a_Plugin

Writing a Plugin « WordPress Codex

WordPress Plugins allow easy modification, customization, and enhancement to a WordPress blog. 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) .

PHP form tutorial - PHP form processing

Step 2 - PHP form processing Now we have a HTML page with a form but if we press the submit button then we will get a Not Found message if the form.php file doesn't exists yet. First you should save the HTML site shown in the previous step as form.php. http://www.phpf1.com/tutorial/php-form.html?page=2

PHP form tutorial

This tutorial takes you step by step through web form processing using PHP. http://www.html-form-guide.com/php-form/php-form-tutorial.html
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. Very usefull to create preview of PSDs designed for clients, for example. 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. http://www.catswhocode.com/blog/10-extremely-useful-php-classes

10+ extremely useful PHP classes

Supports several plot types,spider-plots, pie-charts (both 2d and 3d) , scatter-plots, line-plots, filled line-plots, accumulated line-plots, bar plots, accumulated bar plots, grouped bar plots, error plots, line error plots, box plots, stock plots JpGraph is an Object-Oriented Graph creating library for PHP >= 5.1 The library is completely written in PHP and ready to be used in any PHP scripts (both CGI/APXS/CLI versions of PHP are supported).

JpGraph - Most powerful PHP-driven charts

http://jpgraph.net/
Database operations often tend to be the main bottleneck for most web applications today. It’s not only the DBA’s (database administrators) that have to worry about these performance issues. We as programmers need to do our part by structuring tables properly, writing optimized queries and better code. Here are some MySQL optimization techniques for programmers. 1. Optimize Your Queries For the Query Cache http://net.tutsplus.com/tutorials/other/top-20-mysql-best-practices/

Top 20+ MySQL Best Practices | Nettuts+

http://www.phplivedocx.org/articles/pdf-generation-with-zend-framework/

PDF Generation with Zend Framework | LiveDocx in PHP - Zend_Service_LiveDocx

Generating print-ready well-formatted PDF documents with PHP is not an easy task. 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.

43 Ways to Optimize your PHP Code | OpenJason

http://www.openjason.com/2007/10/31/43-ways-to-optimize-your-php-code/ List from: http://reinholdweber.com/?p=3 , just to give credit where credit is due. This information is great, so thanks to the author at http://reinholdweber. If the function, such as string replacement function, accepts both arrays and single characters as arguments, and if your argument list is not too long, consider writing a few redundant replacement statements, passing one character at a time, instead of one line of code that accepts arrays as search and replace arguments. Just declaring a global variable without using it in a function also slows things down (by about the same amount as incrementing a local var). PHP probably does a check to see if the global exists.
http://viralpatel.net/blogs/2009/05/15-very-useful-php-code-snippets-for-php-developers.html

15 very useful PHP code snippets for PHP developers | ViralPatel.net

Following are list of 15 most useful PHP code snippets that a PHP developer will need at any point in his career. 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. Send Mail using mail function in PHP
Posted April 24th, 2010 in PHP The PHP CLI (command line interface) allows basic syntax checking of a PHP file. 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.

PHP command line syntax checking

Random password generator PHP password generator is a complete, working random password generation function for PHP. It allows the developer to customize the password: set its length and strength. Just include this function anywhere in your code and then use it. Web applications face any number of threats; one of them is cross-site scripting and related injection attacks.

10 code snippets for PHP developers « The html blog

40+ Invaluable PHP Tutorials and Resources | Nettuts+

PHP is one of the most popular scripting languages on the internet today, and one of the easiest to get into. Whether you’re a PHP newbie, or an experienced code-slinger, there is always something new to discover. A function you’re unfamiliar with a killer timesaving tool, a technique that you forgot about…