Saturday, October 10, 2009

Function prototype and signature

The signature of a function is a way of describing the parameters and parameter types with which a legal call to the function can be made. It contains the name of the function, its parameters and their type, and the return value.

For example : int fac(int n);

A function prototype in C or C++ is a declaration of a function that omits the function body but does specify the function's name, arity, argument types and return type. While a function definition specifies what a function does, a function prototype can be thought of as specifying its interface.

In a prototype, argument names are optional, however, the type is necessary along with all modifiers

For example : int fac(int n);

Reference 1 # http://en.wikipedia.org/wiki/Signature_(computer_science)
Reference 2 # http://en.wikipedia.org/wiki/Function_prototype

Thursday, September 17, 2009

PHP Oracle Connection - Easy Way

Step 1 # Download Zend Oracle Software from the links

http://www.oracle.com/technology/tech/php/zendcore/index.html
or
http://www.zend.com/en/products/platform/downloads

Step 2 # Browse the knowledge base for further assistance

http://wiki.oracle.com/page/PHP+Oracle+FAQ

Step 3 # Get discussions from Zend forum

http://forums.zend.com/


Instructions #
Run your project written with Oracle bye copying them into "htdocs" of any apache already installed in your PC. Better you use the built in apache with the "Zend core for Oracle". It will support ORA, OCI8 and PDO_OCI extensions.

Good Luck with PHP-Oracle
------------------------------------------------------------------------------------------------

Oracle Buys Sun Microsystems

Check the link below #

http://www.oracle.com/us/sun/index.htm?cid=e9384f