Browse Articles
Ajax (4),
APC (1),
CAPTCHA (1),
CSS (3),
Debugging (1),
File Upload (1),
Google (3),
Google Maps (2),
JavaScript (10),
JSON (2),
MVC (1),
MySQL (6),
onbeforeunload (1),
OOP (1),
PHP (27),
PhpDoc (1),
PostgreSQL (6),
Prototype (9),
Reflection (1),
RFC 1867 (1),
Robots (1),
Scriptaculous (1),
SEO (1),
Sessions (1),
SimpleXML (1),
Smarty (5),
SOAP (1),
SPL (1),
Templates (2),
W3C (1),
XHTML (1),
Zend Framework (1),
Zend_Search_Lucene (1)
Buy My Book
By Quentin Zervaas
Want to assert yourself as a cutting–edge PHP web developer? Take a practical approach...
|
One useful feature of Google Maps is the ability to generate a static image of any longitude and latitude that you desire, as opposed to using the normal JavaScript-based interactive map. In this article I will show you how to request such static images. We will then combine this technique with the geocoder we created in the article Geocoding with PHP and the Google Maps API.
Smarty is a very powerful template engine for PHP that allows developers to extend its capabilities using custom plug-ins. There are several different types of plug-ins, each of which serves a different purpose. In this article we will look at how the block plug-in type works.
This article takes a look at separating application logic from template logic. We will use the Smarty Template Engine as the basis for the article and its examples.
Many people think of the Smarty Template Engine as a system for separating presentation from application logic. This is indeed true, but many people also only consider Smarty for outputting their web site HTML/XHTML. This brief article goes over other situations where Smarty may be useful in your PHP application.
This short series of articles provides a few simple techniques for protecting yourself and your web site from spammers. It does this from two perspectives:
1. Protecting people (including yourself) who post to your web site from being spammed
2. Protecting your web site from being spammed (for example, blog spam)
|
|