PHP On-The-Fly!
By Dennis Pallett2005-05-26
Conclusion
As I've shown you, using two very simple examples, it is entirely possible to execute PHP scripts, without having to refresh the page. I suggest you read more about the XML HTTP Request Object and its capabilities.
The things you can do are limitless. For example, you could create an extremely neat paging system, that doesn't require reloading at all. Or you could create a GUI for your PHP application, which behaves exactly like Windows XP. Just think about it!
Be aware though that JavaScript must be enabled for this to work. Without JavaScript this will be completely useless. So make sure your visitors support JavaScript, or create a non-JavaScript version as well.
Tutorial Pages:
» Introduction
» How does it work?
» Example 1
» Example 2
» Any Disadvantages...?
» Conclusion
