Use this script to load XMLand HTML files with XMLHTTPREQUEST, otherwise known as AJAX. In the tag, just add the name of the file to load and the element to display the file in, usually a
Sameer Borate has a new post today looking at six charting libraries he thinks are some of the most excellent offered today.
Charts are an indispensable part of any data visualization work. People can grok visual representation of data easily than a textual variety. Today there are a huge number of free chart libraries available to display visualizations on websites. Below is a small list of some of the libraries available for displaying charts using php.
His list of six includes the following:
- Visifire
- PHP-SWF
- Open Flash Chart
- eZ Graph component of the eZ components framework
Noupe.com has posted their list of the top twenty useful components and tutorials that could be useful for PHP developers in their day to day work. The list includes:
- PHP components: Autosuggest
- Sanitize and Validate Data with PHP Filters
- Building Your First Simple CMS
- How to Make a Password Strength Meter Like Google
- How to Validate Forms in both sides using PHP and jQuery
- Smart Image Resizer
When you combine some neat functionality courtesy of PHP with the cleverness of javascript you can produce some pretty cool results. [... This list is] the best 20 FREE PHP Components and Tutorials that you will likely need in many of your projects, they are all of the highest quality and more or less easy to configure. Give them a try.
In the previous article of this series, we introduced JSONP (JSON with Padding) as a way to overcome browser
same-origin policy limitations while combining and presenting data from
third-party sources. This article continues this process and shows you how to use
Yahoo! Query Language (YQL), a JSONP service from Yahoo!, to build a mashup Web
page using jQuery.
The code below works best on Apache web server. On IIS, you may need to use different variables from $_SERVER. Although the 301 header is optional, you may want to use it for search engine friendliness.
1 2 3 4 5 | if($_SERVER["HTTPS"] != "on") { header("HTTP/1.1 301 Moved Permanently"); header("Location: https://" . $_SERVER["SERVER_NAME"] . $_SERVER["REQUEST_URI"]); exit(); } |