All Questions
To refresh the page using HTML we can use META to ref
We can get a file extension in following ways.
1. SOAP stands for Simple Object Access Protocol and
In PHP we have a function called __construct() to define a constructor.
The in_array() function searches an array for a speci
The default execution time for php is 30 second.
PHP json_encode() function used for converting value(
This function is used to decoded value from JSON
By default, the maximum execution time for PHP scripts is set to 30 seconds. If a script runs for longer than 30 seconds, PHP stops the script and reports an error. You can control the amo
HTML stands for HyperText Markup Language. Markup language is used for creating websites and anything that can be viewed in a web browser. The markup tells the Web browser
The <!DOCTYPE> declaration must be placed in your HTML document, before the <html> tag. It gives the instruction to the web browser about what version of HTML the page is writt
HTML version are HTML, HTML+, HTML 2.0, HTML 3.2, HTML 4.0 and the latest version of is HTML 5.
HTML elements are written with a start tag, with an end tag, with the content in between:<tagname>Hello World</tagname>
The latest stable version of PHP is7.2.9released at August 16, 2018
PHP is an open sourceserver side scriptinglanguage used to develop dynamic websites . PHP stands for Hypertext Preprocessor , also stood for
PHP is an open sourceserver side scriptinglanguage used to develop dynamic websites . PHP stands for Hypertext Preprocessor , also stood for
Rasmus Lerdorf known as the father of PHP . Php was created by Rasmus Lerdorf In 1995 .
The latest stable version of Apache is2.4.16, released on 14th july 2015.
Rasmus Lerdorf known as the father of PHP . Php was created by Rasmus Lerdorf In 1995
Unset is used to delete(destroy) a variable whereas unlink used to delete a file.
array_mergemerges the elements of one or more than one array such that the value of one array appended at the end of first array. If the arrays have same strings&nbs
There are some difference between session and cookies thath are as following:-1 : Session are temporary and Cookies are parmanent.2 : Session data is store on serve
setcookie()function is used to set cookies in php.To declare Cookies syntax will be:-setcookie(name, value, expire, path, domain);
var_dump()function is used to display structured information(type and value) about one or more variable. syntax:- var_dump(variable1,variable2,.....variablen
This function replace some characters with some other characters in a string , this function is case sensitive.syntax:-str_replace(find,replace,string
include()function gives the warning when specified file not found but all script will be continually executed.e.g. &lt
final class is a class that can not be inherited.Its protect the methods of class to be overriden by the child classes.e.g. finalclassb
Interface: An interface does not contain any code,it contain only declaration of methods,properties,events. Interfaces allow us to code which speci
echo()andprint()function both are used to show the output on the visitors screen but in echo we can take one or more parameters.
There are some difference between PHP4 and PHP5 that are as following:- 1) In PHP5 abstract classes are used but not used in PHP4.&nbs
There are mainly three types of error in php. These are - (1) Notice error (2) Warning
Ob_startused to active the output buffering .When output buffering is on all output of the page sent at one time to the browser ,otherwise sometimes we face headers
.htaccessis a configuration file running on Apache server.These .htaccess file used to change the functionality and features of apache web server .
Interpreted languageexecutes line by line , if there is some error on a line it stops the execution of script.Compiler language&nb
Web services converts our applicaton into a web-application ,which can publish its functions and messages to the internet users.The main web services platform is XML and HTTP.Web services
Astatic methodis accessible without needing instantiation of a class. It means there is no need to make an object to call the static methods .Stati
Type hintingmeans the function specifies what type of parameters must be and if it is not of the correct type an error will occur.PHP 5 introduces type hinting
No, multiple inheritance is not supported by PHP.
e.g :<?PHPdefine(‘SiteName’,’Letsknowit.com’);echo ‘You are visiting’ .Sitename
We can change the time zones by usingdate_default_timezone_set()function.e.g : <?php&nbsp
<?php $fileName = 'instructions.txt'; $file =fopen(“instructions.txt”,”r”) or exit(“Unable to open th
<?phpfgetc()function is used to read a file character by character.e.g. While(!feof($file))
PHP filteris used to validate the data coming from different sources like the user’s input.It is important part of a web application to test, validate th
Strip_tags()function is used to remove html tags.e.g:<?php&nb
func_num_args ()used to get the number of arguments passed to the function .e.g :<?phpfunctionstudents()&nbsp
func_num_args ()used to get the number of arguments passed to the function .e.g :<?phpfunctionstudents()&nbsp
nl2br inserts HTML line breaks(<br/>) before all new lines in a string .e.g :<?php echo nl2br(&ld