Home | Contact Us | Log In | Help
HOME NEW LISTING MOST POPULAR HIGHEST RATED SCRIPTS ADD SCRIPT DOWNLOADS FORUM
Tutorials
  ASP.Net & C#
  ASP
  Perl and PHP
  Java Scripts
  C and C++
  Ajax Tutorials
  J2ee, J2Me, Java
  Python & Ruby Rail
  Crystal Report
  Sap
  CGI
  XML
  Cold Fusion & CFML
  HTML, DHTML & CSS
  Dreamweaver
  FLASH
  Photoshop/Web Designing
  Tools & Utilities
  Oracle/D2K
  Sql Server
  MySql
  Domain Name Registration
  Remotely Hosting
  Web/Server Application
  Hotel Marketing
  Internet and Law
   Search Engine Optimization/SEO
E-Commerce
Interview Questions

Previous < 1 2 3 4 5 6 7 8 > Next

Perl and PHP (INTERVIEW QUESTIONS) 5
  We can increase the execution time using set_time_limit(int) in php.ini file.

  Default is 30 sec. 0 is unlimited

   
  How can we take a backup of a mysql table and how can we restore it?

  BACKUP TABLE tbl_name[,tbl_nam..] TO ‘/path/to/backup/directory’

  RESTORE TABLE tbl_name[,tbl_name] FROM ‘/path/to/backup/directory’

 
  How can we optimize or increase the speed of a mysql select query?

  We will give first preference for non complex query
  We will give second preference for complex query

 
  How many ways can we get the value of current session id?How many ways can we get the value of current session id?

 session_id();

 
  How can we destroy the session, how can we unset the variable of a session?

  session_unregister - Unregister a global variable from the current session
  session_unset - Free all session variables

 
  How can we destroy the cookies?

  Set past time
  Set cookie(‘username’,’sankar’, time()-60);

 
  How many ways we can pass the variable through the navigation between the pages?

 3 ways,

GET, POST, REQUEST

 
  What are the different types of errors in PHP?

  Basically 3 types of errors
  i. Notices - These are non critical error
  ii. Warning – These are more serious error
 iii. Fatal error – These are more critical error

 
  What is the functionality of the function strstr and stristr?

 strstr – It returns part of the string from first occurrence of the string. It is case sensitive search.
 stristr – It is also returns part of the string from first occurrence of the string. But it is case insensitive search.

 

Previous < 1 2 3 4 5 6 7 8 > Next

  Copyright 2000-2006 © SoloScript.com, All rights reserved.