1
Q:

# What is the purpose $_PHP_SELF variable? Answer: Q: What is PHP’s configuration file called ? Answer PHP’s configuration file is called php.ini. Report Error Subject: PHP - Technology 2731 Q: What is the difference between mysql_connect and mysql_pconnect? Answer There is a decent page in the php manual on the subject, in short mysql_pconnect() makes a persevering association with the database which implies a SQL join that don't close when the execution of your script closes. mysql_connect()provides just for the database new association while utilizing mysql_pconnect , the capacity would first attempt to locate a (relentless) connection that is as of now open with the same host, username and password. On the off chance that one is found, an identifier for it will be returned as opposed to opening another connection... the connection with the SQL server won't be terminated when the execution of the script ends. Rather, the link will stay open for future use. Report Error 2217 Q: How to create a basic text file in php? Answer$filename = "/home/user/guest/newfile.txt";
$file = fopen($filename, "w" );
if( $file == false ) { echo ( "Error in opening new file" ); exit(); } fwrite($file, "This is a simple test\n" );
fclose( \$file );

Subject: PHP - Technology
Job Role: IT Trainer

2878
Q:

What's the difference between Session and Cookie?

The principle distinction amongst sessions and cookies is that sessions are put away on the server, and cookies are put away on the client's PCs in the content record position. Cookies can not hold various variables,But Session can hold numerous variables.We can set expiry for a cookie,The session just stays dynamic the length of the program is open.Users don't have admittance to the information you put away in Session,Since it is put away in the server. Session is mostly utilized for login/logout reason while cookies utilizing for client movement following.

2237
Q:

What's the difference between GET() and POST() method?

We can send 1024 bytes utilizing GET() yet POST() can exchange extensive measure of information and POST is the protected strategy than GET technique .

2364
Q:

What is the difference between _construct() and _destruct() methods in php?

These two methods are bulid-in methods  in php. with  construct() we can overwride the parent class method. The inverse of the __construct() PHP capacity while making another class, is the __destruct() technique. The __destruct() technique will consequently keep running, after you've completed with the PHP class.

Subject: PHP - Technology
Job Role: Software Architect

1878
Q:

What is the difference between Notify URL and Return URL?

Notify URL and Return URL is used in Paypal Payment Gateway integration. Notify URL is used by PayPal to post information about the transaction. Return URL is used by the browser; A url where the user needs to be redirected on completion of the payment process.

Subject: PHP - Technology

2463
Q:

What is the difference between the functions unlink and unset in PHP?