PHP | Download pdf file To download a pdf file in PHP, we need to use the header() function. In the header() function, we need to pass "Content-Disposition" which is used to supply a recommended filename …

Last updated 3 years, 9 months ago | 818 views

Tags:- PHP

PHP | header() function By sending the headers bellow, we change the browser’s default cache settings. We can override any of those settings and force the browser to not cache. In this code we just …

Last updated 3 years, 9 months ago | 713 views

Tags:- PHP

header() function The header() function in php is use to sends a raw HTTP header to a client. With the help of header() function we can Change page location, set timezone, set caching control, etc. …

Last updated 3 years, 9 months ago | 1161 views

Tags:- PHP

Session in php A session is a global variable which is used to store users/sensitive information on the server. Each session register a unique session id which is use to fetch stored value. Session store …

Last updated 3 years, 10 months ago | 1457 views

Tags:- PHP

CSS | Show full text on hover In this article, we are going to see, how we can display full text on hover using CSS. Just suppose we have a text containing three or more …

Last updated 3 years, 10 months ago | 5407 views

Tags:- CSS

Error type in php There are three main error type in php Notice Error Warning Error Fatal Error   Notice Error It is a simple and non critical error which is occur during script execution. …

Last updated 3 years, 10 months ago | 915 views

Tags:- PHP

HTML | <hr> tag By using html <hr> tag, some time we need to style <tr> tag as per page or design requirement. For styling <hr> tag we can use htrml <hr> tag attribute or …

Last updated 3 years, 10 months ago | 1069 views

Tags:- HTML

$_SERVER['REMOTE_ADDR'] id use to get the IP address of the user.   But sometime it may not return the true IP address of the client at all time. Use Below code to get true IP …

Last updated 3 years, 10 months ago | 889 views

Tags:- PHP

HTML | Target attribute To open a pdf file we can use the target attribute of the anchor tag. The target attribute of the anchor tag specifies where to open the linked document. Syntex for using …

Last updated 3 years, 10 months ago | 2615 views

Tags:- HTML

PHP | Variable A variable is a user define keyword which is used to store value like string, number, and array. Once a variable is defined then we can use it one or more than …

Last updated 3 years, 10 months ago | 885 views

Tags:- PHP

PHP | What is php? PHP is a popular server site scripting langage stands for "PHP: Hypertext Preprocessor".  It is an open source scripting language, hence it is free to download and use. We can …

Last updated 3 years, 11 months ago | 885 views

Tags:- PHP