PHP Magic Methods

MAGIC METHODS
1.Why magic methods ?
Ans:
In PHP,  a variable can take any form depending on the data passed to it. Also PHP automatically creates variable and assigns values to it even if the variables are not defined. But in Object Oriented Programming all the data members/methods needs to be defined. To solve some of these problems [...]

PHP & ORACLE

This is one of a great Document on PHP and Oracle DB.Thanks

WEB 2.0

WEB 2.0 :-
It is a second generation of web developement and design that aims to facilitate communications , secure information sharing , interoperability (means ability of diverse systems and organisation to work together ) and collaboration on world wide web . Web 2.o concepts useerd in host services , applications such as [...]

PHP Interview Question

1. What are the differences between GET and POST methods in form submitting, give the case where we can use get and we can use post methods?

On the server side, the main difference between GET and POST is where the submitted is stored. The $_GET array stores data submitted by the GET method. The $_POST [...]

XML database example

AJAX can be used for interactive communication with a database.

AJAX Database Example
In the AJAX example below we will demonstrate how a web page can fetch information from a MySQL database using AJAX technology.

Select a Name in the Box Below
Select a User: Peter Griffin Lois Griffin Joseph Swanson Glenn Quagmire
User info will [...]

Ajax anh PHP XML example

AJAX can be used for interactive communication with an XML file.

AJAX XML Example
In the AJAX example below we will demonstrate how a web page can fetch information from an XML file using AJAX technology.

Select a CD in the Box Below
Select a CD: Bob Dylan Bee Gees Cat Stevens
CD info will [...]

AJAX

AJAX = Asynchronous JavaScript And XML
AJAX is an acronym for Asynchronous JavaScript And XML.
AJAX is not a new programming language, but simply a new technique for creating better, faster, and more interactive web applications.
AJAX uses JavaScript to send and receive data between a web browser and a web server.
The AJAX technique makes web [...]

Important links to PHP Development

PHP: Hypertext Preprocessor

The PHP development team would like to announce the immediate …. The PHPdevelopment team hereby announces that support for PHP 4 will continue until the …www.php.net/ – 42k – Cached - Similar pages

PHP Programs, PHP Tools, PHP Design, PHP Development

PHP Programs, PHP Tools, PHP Design, PHP Development.www.devarticles.com/c/b/PHP/ – 75k – Cached - Similar pages

CakePHP: the rapid development php framework. Home

Official website. Offers a manual for beginners and [...]

PHP Smarty

Smarty is a web template system written in PHP. Smarty is primarily promoted as a tool for separation of concerns, which is a common design strategy for certain kinds of applications. Smarty generates web content by the placement of special Smarty tags within a document. These tags are processed and substituted with other code.
Tags [...]

Kabhi Kabhi Mere Dil Mein

Movie : Kabhi Kabhi (1975)
Lyrics : Sahir Ludhyanvi
This is the poem which has been moulded in the song. Listen it in the mountainous voice of the Shenshah of Bollywood, Amitabh Bhachhan.
It has certain pain. People who have suffered in pain can live without anyone, even without its
lover, because the grief is enough to allow him [...]

What does Open source and Free software means

There are lots of Myths and Confusion about open source and free software.
whenever we read the word “open source ” or “free software “,, one question comes in our mind that
Is open source really free or vice- versa ?
First we must understand what does free software means
the word “free ” has two meanings.
one is [...]

Basic authenication

Q . what do they mean Authentication, Authorization, and Access Control ?
To knw about them :
http://httpd.apache.org/docs/1.3/howto/auth.html
Q . how do we decrypt , the encrpted user id and password that does BASIC authentication ?
To decrypt encrypted user id nad password :
http://home.versatel.nl/MAvanEverdingen/Code/
e.g
suppose your base64 basic authentication is in hTTP live header is like:
Authorization: Basic anVudGE6MTMzNw==
so [...]

————-[ Phishing ] ————

First , we must know what is phishing(pronounced “fishing”)?
In computing , Phishing is an attempt to illegally or fraudulently accquire sensitive information ,such as username,user id ,user password , credit card details ,Social security number , personal details etc by using fake websites which looks similar to original ones.
In simple term, Phishing [...]

Hypertext Transfer Protocol — HTTP/1.1[ Error Code 4xx & 5xx ]

The 4xx class of status code is a Client side error.Whenever a Client request for any method or resource to server and if there is some error while requesting method or resource,the error will display at Client side.
1. 404 —- NOT FOUND
When server ha s not found anyhthing matching the request [...]

Cake PHP

Cake PHP is a free open-source rapid development framework for PHP.
Cake PHP provides us a way so that we can design our web aplication into MVC( M= Model ,V=Views, C=Controller) architecture.
By using Cake PHP we can seperate Business logic or Contents from its Presentation logic.
And it will really help us out when programmers and [...]

PHP errors– what exactly they means

An error message that the PHP interpreter generates falls into one of five different categories:

* Parse error: A problem with the syntax of your program, such as leaving a semicolon off of the end of a statement. The interpreter stops running your program when it encounters a parse error.
[...]