What is the difference between "echo" and "print" in PHP?
Latest Answer: echo is constructor and print is function.echo cannot take arguments but print can take arguments. ...
Which will execute faster POST or GET? Explain
Latest Answer: POST method using for the moving into another pages means we are using two pages.But GET methods using for the within the page (exp pagination & url calling)Thanks & RegardsGaneshSr.PHP ProgrammerYasmesoftHyderabad ...
How to prevent form hijacking in PHP?
Latest Answer: Few more coding practices can be done to avoid PP Form HijackingUser Input Sanitization-Never trust web user submitted data. Follow good clieint side data validation practices with regular expressions before submitting data to the server.Form Submision ...
What is the difference between session_register and $_session?
Latest Answer: session_register() is used for register one or more global variables with the current session. While $_SESSION[] array is used for storing one or more variables with in the current session array. session_register() depends upon register_global is enable ...
What are new features that are in added in PHP5?
Latest Answer: PHP5----Strong OOPS support 1) Data Encapsulation (public, private, protect visibility for member variables and methods) 2) Concepts like Abstraction, Inheritance, Reflections(reverse engineering APIs) 3) More Magic Functions like __construct, ...
While in case of download, How will you make a percentage bar showing current status of total 100%?
Latest Answer: Use Following Tips for showing Processing Percentage Bar 1. Use Image for displaying Percentage Bar.2. Change width of Image depending on Processing completed. ...
What are the different methods to optimize the MySQL query?
Latest Answer: It does not depend upon single entity. In order to optimize it you can look into following things. - Make sure table has primary key. - If there is any field which is used more frequently for searching then index it!. - The order of condition does ...
How will you connect to the Database using Joomla?
Latest Answer: What Vikas said is absolutely Correct. In Joomla there is no need to write the code for
database connectivityIf we hosted the site local into web, we have to change the configuration.php
fileIn that we have to mention the database username and password ...
How to call a C function within PHP?
Latest Answer: This is not strictly true.PHP has many native functions that have the same name as C functions, and which act in similar ways, but they are not C functions, they are PHP functions. ...
What is the purpose of ob_start() ?
Latest Answer: This function will redirect the output to a buffer. We can flush out the buffer ob_end_flush(). ob_start must be called before any output is made. so the apt place is immediately after opening the php tag. ...
View page [1] 2 3 4 5 6 7 8 Next >>

Go Top