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
Antivirus Faqs_Questions_And_Answers Software Tips Faqs_Questions_And_Answers ERP Faqs_Questions_And_Answers Internet Faqs_Questions_And_Answers Spoken English Faqs_Questions_And_Answers Web Designing Faqs_Questions_And_Answers SEO Tips Faqs_Questions_And_Answers Hacking
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
SAP Faqs
C Faqs        C++ Faqs        Java Faqs        J2ee Faqs        Springs Faqs        Hibernate Faqs        Web sphere Faqs        Web Logic Server Faqs   
WordPress        Siebel Faqs        Shell Scripting Faqs        Perl Scripting Faqs        Open Source        Data Ware Housing Faqs        Joomla Faqs
Ajax        Oracle Apps Faqs        Testing Tools Faqs        Mainframes Faqs        Tibco Faqs        PHP Faqs        .Net Faqs       Operating System
 
Custom Search
PHP Frequently asked Questions
13 How do I get the visitors browser information? 
Ans: You have more than one option when you want to get the information, they depends on how much information you want to get bout the browser. We will mention 2 ways here.
The first way to do it is simply by using the variable $HTTP_USER_AGENT, which holds information about browser version, name etc. If you want a class that can parse the information out of the variable look at the PHP Client Sniffer.
14 What is MySQL?
Ans: MySQL is a database server. MySQL is ideal for both small and large applications.
MySQL supports standard SQL.
MySQL compiles on a number of platforms.
MySQL is free to download and use.
15 Where to Start?
Ans: Install an Apache server on a Windows or Linux machine. Install PHP on a Windows or Linux machine. Install MySQL on a Windows or Linux machine.
16 How can I get PWS (Microsoft Personal Webserver) to work?
Ans: A lot of people have problems with PWS. One answer might be the following (other suggestions welcome - email from the contact page if you want to suggest something).
17 What is CGI?
Ans: CGI: Common gateway interface Allows a web server to actually run a program and return the output as the "web page". Very flexible and very useful, especially when combined with Perl or mod_perl, but can be used with C, bash, Python or a number of other languages. (anything the server can run). CGI is an older technology, and has since been superceded by the following technologies:

mod-perl.
PHP.
JSP and servlets.
Server side.
Javascript.
NSAPI and IISAPI.
ASP.
J2EE Web Services.
.net web services.
Although superceeded, CGI is still widely available and used,essentially.because of its ease of setup and the flexibility on which programming language is used.
18 What is the relation between the versions?
Ans:

PHP/FI 2.0 is an early and no longer supported version of PHP. PHP 3 is the successor to PHP/FI 2.0 and is a lot nicer. PHP 4 is the current generation of PHP, which uses the Zend engine under the hood. PHP 5 uses the Zend engine 2 which, among other things, offers many additional OOP features.

19 How do I store binary data in mysql ?
Ans:

We sugest you read the 2 following articles in order to learn the best techniques to insert and retrive binary data from databases (mostly focused at mysql).
Data Goes In, Data Comes Out — This Time it's Binary
Binary Data + MySQL + PHP.

20 What is the difference between mysql_connect() and mysql_pconnect()?
Ans: There is a good page in the php manual on the subject, in short mysql_pconnect() makes a persistent connection to the database which means a SQL link that do not close when the execution of your script ends.
21 How do I limit the number of rows I get out of my database?
Ans:

Use LIMIT in your SQL query like this:
SELECT name FROM table LIMIT 10
if you want to get the rows between 10 and 20 do the following:
SELECT name FROM table LIMIT 9, 10..

Page :     1 | 2 | 3 | 4 | 5
Top

Content on this page requires a newer version of Adobe Flash Player.

Get Adobe Flash player