Skip to main content

Posts

Showing posts from August, 2016

php predefine globle variable

php predefine globle variable Superglobals — Superglobals are built-in variables that are always available in all scopes $GLOBALS — References all variables available in global scope $_SERVER — Server and execution environment information $_GET — HTTP GET variables $_POST — HTTP POST variables $_FILES — HTTP File Upload variables $_REQUEST — HTTP Request variables $_SESSION — Session variables $_ENV — Environment variables $_COOKIE — HTTP Cookies $php_errormsg — The previous error message $HTTP_RAW_POST_DATA — Raw POST data $http_response_header — HTTP response headers $argc — The number of arguments passed to script $argv — Array of arguments passed to script

FILE UPLOAD IN PHP BY USEING FORM | PHP FILE UPLOADS

FILE UPLOAD IN PHP  BY USEING FORM | PHP FILE UPLOADS INDEX.PHP //PAGE <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <form method="post" action="upload.php" enctype="multipart/form-data"> <input type="file" name="posters" /> <input type="submit" value="upload" name="submit" /> </form> </body> </html> upload.php //PAGE <?php if($_FILES) { $name=$_FILES['posters']['name']; $type=$_FILES['posters']['type']; $extension=array('jpeg','jpg','JPEG','JPG','...

REMOVE MOUSE RIGHT CLICK OPTION AND SECURE YOUR WEBSITE USING THIS JAVASCRIPT CODE

REMOVE  MOUSE RIGHT CLICK  OPTION AND SECURE YOUR WEBSITE USING THIS JAVASCRIPT CODE <script language=JavaScript> <!-- //Disable right mouse click Script //By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive //For full source code, visit http://www.dynamicdrive.com var message="Function Disabled!"; /////////////////////////////////// function clickIE4(){ if (event.button==2){ alert(message); return false; } } function clickNS4(e){ if (document.layers||document.getElementById&&!document.all){ if (e.which==2||e.which==3){ alert(message); return false; } } } if (document.layers){ document.captureEvents(Event.MOUSEDOWN); document.onmousedown=clickNS4; } else if (document.all&&!document.getElementById){ document.onmousedown=clickIE4; } document.oncontextmenu=new Function("alert(message);return false") </script>

Koi deewana kehta hai, koi pagal samajhta hai by Dr. Kumar Viswas

Singer : Dr. Kumar Viswas Koi deewana kehta hai, koi pagal samajhta hai, Magar dharti ki bechaini ko bas badal samajhta hai Main tujhse door kaisa hoon, tu mujhse door kaisi hai Ye tera dil samajhta hai ya mera dil samajhta hai.. Mohbbat ek ehsaason ki pawan si kahani hai Kabhi Kabira deewana tha, kabhi meera deewani hai Yahan sab log kehte hain meri aankhon main aasoon hain Jo tu samjhe to moti hain, jo na samjhe to paani hain Bahut bikhra bahut toota thapede seh nahin paaya Hawaaon ke isharon par magar main beh nahin paaya Adhoora ansuna hi reh gaya yun pyar ka kissa Kabhi tum sun nahin paaye, kabhi main keh nahin paaya Samandar peer ka andar hai lekin ro nahi sakta Ye ansoon pyar ka moti hai isko kho nahi sakta Meri chahat ko dulhan tu bana lena magar sunle Jo mera ho nahi paya wo tera ho nahi sakta Bhramar koi kumudni par machal baitha to hungama Hamare dil main koi khwaab pal baitha to hungama Abhi tak doob ke sunte sab kissa mohhabat ka M...