PHP Functions to work with PHP functions

PHP Functions to work with PHP functions

In this article, I am going to write about the functions using which you can get the information about php functions.

For a full list of PHP functions you can visit http://www.zend.com/phpfunc/

Using these functions you can query the stats/status of your functions, these functions are very useful in dynamic application creation.

For example, using func_get_arg and func_num_args functions you can simulate the function overloading in PHP.

Read a good example for http://www.dubi.org/php-function-overloading

Functions I will write in this article are :-

get_defined_functions();

You want to how many functions are in your installation of PHP, just call this function, it will return an array of all php functions you can call.…

PHP Training Education Tutor in Delhi NCR

PHP Training Education Tutor in Delhi NCR

As PHP is gaining the ground in India, numbers of initial level jobs are also increasing day by day. Almost every day I got questions from new comers how they can learn PHP? Which training institute is providing the training in PHP?

Unfortunately almost all major player of training industry in India, specially Delhi are still not doing much (I should nothing) in this regard.

So I am thinking about organizing PHP training camps in and around Delhi in this summer, If you would like to be in that camp, I would request you for sending a message via my contact us page.…

Use Exit after redirecting user via header function

Use Exit after redirecting user via header function

Some weeks ago I got an old PHP application to work with. I was asked to look for the potential problems and bottlenecks in the application. So I decide to use APD as a profiler for the application, after installing the APD on that server. I enabled profiler on one of the reportedly slow page.

That page was meant to be displayed and executed only if user is logged in and session variables are set. If we don¬ít found user session then user was being redirected to Login page of the application.…

PHP Development Notes

PHP Development Notes

While writing PHP code or planning an application to be written in PHP, Every other day we have to face different aspects of programming, and we also need to find the work around or solutions to the problem we got during our development work.

Many times I surf the online pages of PHP manual to solve my problems and I found comments by other people very useful, so I have decided to compile the list of notes I normally took while working on the project.…

Using SQL abstraction and CRUD factory classes is a good  practice?

Using SQL abstraction and CRUD factory classes is a good practice?

This question again struck me today, somebody just throw a simple question about EXPLAIN statement in MySQL and in hast I relate that to DESCRIBE. When that person cut the line of phone, I suddenly realize my mistake.

I am working with PHP and MySQL since last seven years then why this happen to me? This is because I am not using MySQL frequently, although it is the integral part of almost every application I am working on. I am fairly away from MySQL queries because I am using my factory classes or framework like cakephp which does not require me to write the SQL queries.…

PHP4 and PHP5  version conflicts and why we should stop using PHP 4

PHP4 and PHP5 version conflicts and why we should stop using PHP 4

PHP 5 is in the market since many years, but it still has to capture the market.

Why? Is it not efficient version of PHP language?

What are main reasons behind slow-adoption of PHP version 5.

I am compiling a list of reasons; you can also send me the reason why you have moved to PHP5 or why you are not able to do that?

I will write about that list in my coming articles.…

How to create a file upload progress bar in any version of PHP?

How to create a file upload progress bar in any version of PHP?

In this article I am going to write my experience with a work in which I was supposed to do file upload progress bar.

First of all I consider using APC then came to know about PECL extension uploadprogress

Unfortunately both were not possible for me as I have no control on the server on which it was supposed to run.

Tweaking with installed version of PHP or up gradation of PHP was also ruled out.

In India we have a word which is very common in use whenever someone is in a deadlock, the magic word is ‘Jugad’, if simply translated into English, it will mean ‘system’, but in contextual meaning it stands for ‘Smart Work’.…