Showing posts with label php. Show all posts
Showing posts with label php. Show all posts

Create dynamic sites with PHP & MySQL


















The Web is no longer static; it's dynamic. As the information content of the Web grows, so does the need to make Web sites more dynamic. Think of an e-shop that has 1,000 products. The owner has to create 1,000 Web pages (one for each product), and whenever anything changes, the owner has to change all those pages. Ouch!!! Wouldn't it be easier to have only one page that created and served the content on the fly from the information about the products stored in a database, depending on the client request?
Nowadays sites have to change constantly and provide up-to-date news, information, stock prices, and customized pages. PHP and SQL are two ways to make your site dynamic.

download

free ebook and template - PHP Pdf Creation


















This class is designed to provide a non-module, non-commercial alternative to dynamically creating pdf documents from within PHP. Obviously this will not be quite as quick as the module alternatives, but it is surprisingly fast, this demonstration page is almost a worst case due to the large number of fonts which are displayed. There are a number of features which can be within a Pdf document that it is not at the moment possible to use with this class, but I feel that it is useful enough to be released. This document describes the possible useful calls to the class, the readme.php file (which will create this pdf) should be sufficient as an introduction. Note that this document was generated using the demo script 'readme.php' which came with this package.

download

free ebook and tutorial - Smarty, the compiling PHP template engine


















It is undoubtedly one of the most asked questions on the PHP mailing lists : how do I make my PHP scripts independent of the layout ? While PHP is billed as "HTML embedded scripting language", after writing a couple of projects that mixed PHP and HTML freely one comes up with the idea that separation of form and content is a Good Thing[TM]. Inaddition, in many companies the roles of layout designer and programmer are separate. Consequently, the search for a templating solution ensues.
In our company for example, the development of an application goes on as follows : After there quirements docs are done, the interface designer makes mockups of the interface and gives them to the programmer. The programmer implements business Logic in PHP and uses interface mockups to create skelet on templates. The project is then handed off to the HTML designer / webpage layout person who brings the templates up to their full glory. The project may go back and forth between programming /HTML a couple of times. Thus, its important to have good template support be cause programmers don’t want anything to do with HTML and don’t want HTML designers mucking around with PHP code. Designers need support for config files, dynamic blocks and other interface issues, but they don’t want to have to deal with intricacies of the PHP programming language

download

free ebook and tutorial-PHP Integration with object relational DBMS


















The definition and properties of an API between Amos II and PHP are the main topic soft his report. Amos II (Active Mediator Object System)is an extensible functional multidatabase system[1]. Functional queries, expressed in AmosQL, can be executed by one database or over a federation of distributed databases. AmosQL is a query language similar to the OOparts of SQL-99. Further more Amos II can be set up as a stand alone main-memory object-relational DBMS.
Two kinds of interfaces are offered between Amos II and the programming languages C[5] or Java[6], the call in interface and the call out interface. To call Amos II from an application the call in interface can be used. Establishing connections, sending queries and dealing with result sets are tasks of this interface. Contrary the call out interface is able to call external functions from C or Java. Once known to Amos II, these external functions can be used in AmosQL queries. The call in and call out interfaces permit the development of wrappers. Wrappers are small program modules that can access external data, for example XML documents, relational databases, webforms, MIDI files and web browsers.

download

free ebook and tutorial - ionCube PHP Encoder 6.5 User Guide

The ionCube PHP Encoder is a powerful, high performance solution for encoding and licensing PHP scripts and encrypting files of any type. The Encoder protects PHP /HTML scripts with obfuscated bytecode protection and a custom execution engine. In addition, any other project files can be automatically encrypted if required, which is ideal for protecting files such as templates or XML documents. This is complemented Loader API functions for reading and writing encrypted files.


download

free ebook and tutorial - Exploiting PHP code injection

This paper will demonstrate the use of a PHP code injection exploit, as part of the GIAC Incident Handler Certification (GCIH). We will study a specific vulnerability found in a PHP eval() statement, that will grant the attacker with a remote access on the vulnerable device. Then, we will show how to prevent this attack from happening. After giving all the details of this exploit, an incident handling process will be proposed. Although performed in a lab environment, this is a real attack that could be exploited over any open network, such as the Internet.

download

free ebook and tutorail - PHP Security

Security is a measurement, not a characteristic. It’s is also an growing problem that requires an. It’s is also an growing problem that requires an continually evolving solution. Continually evolving solution. A good measure of secure application is it’s ability to a good measure of secure application is it’s ability to predict and prevent future security problems, before predict and prevent future security problems, before someone devises an exploit.


download

free ebook and tutorial - The PHP Accelerator 1.2

The PHP Accelerator (PHPA) is an extension to PHP that employs compiled code caching and code optimisation techniques to deliver a significant acceleration ofPHP scripts. This paper presents an overviewofthe PHPA design,and howPHPA integrates with PHP.




download

free ebook and tutorial - PHP Add a spell-checker

Long-time readers of this magazine will know that spelling is not our forte. In fact, you would be forgiven for thinking that our production monkeys have spent the last few months on strike over a raise in their peanut rations, as typos that even OpenOffice.org could have spotted have flown into print. However, we remain a cut above the rest: we rarely say w00t!, we do try to avoid Microsoft, and to the best of my knowledge we have never said anything was the suXX0rs no matter how negative a review was. This month we shall examine the ways in which PHP can help proof and correct written English on your site.

download