Faqs_Questions_And_Answers Faqs_Questions_And_Answers Faqs_Questions_And_Answers Faqs_Questions_And_Answers Faqs_Questions_And_Answers Faqs_Questions_And_Answers Faqs_Questions_And_Answers
Faqs_Questions_And_Answers Faqs_Questions_And_Answers Faqs_Questions_And_Answers Faqs_Questions_And_Answers Faqs_Questions_And_Answers Faqs_Questions_And_Answers
Online Training In Hyderabad
Interview Questions
Action Script Questions
Accounting Questions
AJAX Interview Questions
C Language Questions
C++ Language Questions
Date Structures Questions
Date Base Questions
Desktop Publishing Questions
Data Ware Housing Questions
Hacking Interview Questions
Hibernate Interview Questions
Java Interview Questions
J2ee Interview Questions
Mainframes Questions
MIS Questions and Answers
Multimedia Career Questions
Marketing Questions
.NET Interview Questions
OOPS Questions and Answers
Open Source Questions
Oracle Apps Questions
PHP Interview Questions
People Soft Questions
Perl Scripting Questions
SAS Interview Questions
SAP Interview Questions
Seo Interview Questions
Security Interview Questions
Sql Server Interview Questions
Springs Interview Questions
Shell Scripting Questions
Testing Tools Questions
Web Sphere  Questions
Web Designing  Questions
Web Logic Server Questions
XML Questions and Answers
Php Questions and Answers
22 Can I get the screen resolution and like with php?
Ans: The quick answer is no, then you are probably asking why can't I do that with php. OK here is a longer answer. PHP is a serverside scripting language and therefor has nothing to do with the type of a specific client. Then you might ask why can I then get the browser agent from php?", thats because that information is sent with the initial HTTP headers upon requst to the server.
24 How can I set the time zone for MySQL to UK time?
Ans:

If you set the environment variable TZ=GB, then start MySQL the time zone will be set to UK time.
I.E. (Linux only).
bash:#TZ=GB.
bash:#export TZ.
bash:#mysqld &.
You can also set environment variables in my.cnf; In the data (normally var) directory.

25 How can I set the include path and other settings that are  fixed in php.ini without having access to php.ini?
Ans:

If you are hosting on a Linux server you may (Depending on your host) be able to use .htaccess this file must be in the root of the web directory.The format is along the lines of (For PHP4 Module):-
php_value include_path .:/path/that/you/want/to/use
php_value magic_quotes_gpc "off"
php_value track_errors "on."…

26 How can I convert a Access database to a MySQL database?
Ans: The easy way and the way we recommend to do it is to download mysqlfront which has the capability of importing ODBC sources to mysql databases.
It is also possible to convert your access database to csv files and then import them into your mysql database structure (ex with LOAD FILE).
27 How do I run a php script from the command line?
Ans:

No matter what OS you have installed you need to compile / install php as a CGI because when you have php as a CGI you have a binary you can execute from anywhere like a command prompt.
If you use a unix like OS you should do:/path/to/php -/path/to/script.phpForwindowsOS's do:
c:\path\to\php.exe -f c:\path\to\script.php.
The parameter -f is put on because we want to parse a file, the -f also implies -q which means you dont get any HTTP header output which in most cases is usefull when making command line scripts.

28 Whats the difference between include() and require()?
Ans:

Qouted from the php manual:
Unlike include(), require() will always read in the target file, even if the line it's on never executes. If you want to conditionally include a file, use include(). The conditional statement won't affect the require(). However, if the line on which the require() occurs is not executed, neither will any of the code in the target file be executed.
In PHP 3, it is possible to execute a return statement inside a require()ed file, as long as that statement occurs in the global scope of the require()ed file. It may not occur within any block (meaning inside braces ({}). In PHP 4, however, this ability has been discontinued. If you need this functionality, see include().

29 What is PHP relation to PHP/FI?
Ans: PHP is the successor to PHP/FI 2.0
30 Can we run both PHP/FI 2.0 and PHP at the same time?
Ans: Yes, PHP was written so as to not interfere with an existing PHP/FI 2 installation. Instructions for building Apache 1.3.0 with both PHP/FI 2 and PHP modules can be found. although the first step where the PHP2 regex code is substituted with the PHP regex code seems redundant. The two regex dirs are pretty much identical
31 What is the differences between PHP and PHP/FI 2.0?
Ans:
  • All-new parser.
  • Persistent database connections.
  • A native Windows95/NT port.
  • IMAP, SNMP, and LDAP extensions.
32 Where can we obtain PHP Code?
Ans: We can download PHP from any of the members of the PHP network of sites. We can also use anonymous CVS to get the absolute latest version of the source
33 What is the difference between PHP and JavaScript?
Ans: javascript is a client side scripting language, so javascript can make popups and other things happens on someone’s PC. While PHP is server side scripting language so it does every stuff with the server.
Page :     1 | 2 | 3 | 4 | 5
Top
Online Training from Hyderabad