How many requests will be send to server and response
coming from server when you open a web page (e.g. xyz.php)
which has an image tag?
Answers were Sorted based on User's Feedback
Answer / salvin
Request for xyz.php
Response by server
#client Browser encounters an image tag
Request of image
Response by server
Total 2 Requests,2 Responses
| Is This Answer Correct ? | 40 Yes | 2 No |
Answer / roshan karwalkar
i think one request and one response because client send
request for xyz.php and server will give response as a page
containing image.
| Is This Answer Correct ? | 0 Yes | 2 No |
Explain what is the difference between $var and $$var?
How to remove the new line character from the end of a text line in php?
What is repository in php?
class Database { public static $_instance; public static function getInstance() { if(!isset(self::$_instance)) self::$_instance = new Database(DB_SERVER, DB_USER, DB_PASS, DB_NAME); print_r(self::$_instance); return self::$_instance; } } can any one explain "self::$_instance = new Database(DB_SERVER, DB_USER, DB_PASS, DB_NAME);" this line
hello.. i am b.tech 4th year student. i am confused that i should learning php or java. I have some knowledge of java and developed project in java, but i want to develop my career in php. So plz suggest me , i should go with php or java.
Does not want to see PHPSESSID in the url. How can be done this ?
What is the difference between $argv and $argc? Give example?
What are classes in php?
What is php variable?
Explain the difference between mysql_connect and mysql_pconnect?
What is session php?
Can php run on windows server?