P. 1


Views: 15|Likes:
Published by Manoj Prabhakar.c

More info:

Published by: Manoj Prabhakar.c on Nov 10, 2012
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as DOCX, PDF, TXT or read online from Scribd
See more
See less






How can we get the browser properties using php? <?php echo $_SERVER['HTTP_USER_AGENT'] . "\n\n"; $browser = get_browser(null, true); print_r($browser); ?>


How can we register the variables into a session? <?php session_register($ur_session_var); ?>


What are the different functions in sorting an array?

       

asort() arsort() ksort() krsort() uksort() sort() natsort() rsort()

How can we know the total number of elements of Array?

 

sizeof($array_var) count($array_var) If we just pass a simple var instead of a an array it will return 1.

How can we know the number of days between two given dates using PHP?
The start date and end date can be first found as shown below: $date1= strotime($start_date); $date2= strotime($end_date); $date_diff = (($date1)- ($date2)) / (60*60*24)






Persistent cookie is a cookie which is permanently stored on user’s computer in a cookie file. They are used for tracking the user information of the users who are browsing from a very long time. They also have the drawbacks of being unsecure, as user can see the cookies which are saved on the computer. What is meant by PEAR in php? What is the purpose of it?

PEAR stands for "PHP Extension and Application Repository". As the name suggests, it gives advanced functionality to the PHP language and include many applications which can be used on fly. The purpose of it is as follows:Open source structured Code distribution and - Standard style for code written in PHP library package for PHP maintenance users system

Differentiate between DROP a table and TRUNCATE a table.

DROP It will delete the table and table TRUNCATE - It will delete data of the table but not the table definition.








unlink() function is for file system handling. It just deletes the file in context. unset() function is for variable management. It makes a variable undefined

What do the lock means, and how will u get rid of them? What are mambots? How do you change the images in templates? Which sort of application should be done in joomla and drupal..? What is .htaccess file?

Drupal » Explain the capabilities of views module. How to port a joomla template to drupal ? List the features of Drupal. What is difference between Diff and Patch in Drupal? List the SEO modules available in Drupal. List the modules required for building a social networking website in Drupal. Explain Region, Block, Menu in drupal . Explain the concept of node in drupal. What are hooks in Drupal ?

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->