Skip to main content

Posts

Showing posts from May, 2019

Python some code With Rajeev Minj

#print(" Hello Class! I'm Rajeev Minj Code with Rajeev") #print("Subscribe My Youtube channel And like,share " # "like my facebook page and fllow on instagram ") # This is single line comment This is Multiline Comments """" This is Multiline Comments in python language """ #print("Hello Rajeev Minj","hello World Some thing Went wrong") #print("print statement new line create karta hain","Or Display karta hain") #print("c:\rajeev") #print("c:\\rajeev")# This is Escape Sequences statements #print("Rajeev is \n a good boy \t 1") """ *Varibles, Datatype and Typecastiong|Python Tutorials For absolute For Biginners var1 ="Hello Rajeev How can i help you ?" #this is string value in python var4 = "Hi Rajeev Minj" var2 = 40 #this is int value in python var3 = 10.5 #this is float val...

HTML Multimedia

What is Multimedia? Multimedia comes in many different formats. It can be almost anything you can hear or see. Examples: Images, music, sound, videos, records, films, animations, and more. Web pages often contain multimedia elements of different types and formats. In this chapter you will learn about the different multimedia formats. * How it Works The  controls  attribute adds video controls, like play, pause, and volume. It is a good idea to always include  width  and  height  attributes. If height and width are not set, the page might flicker while the video loads. The  <source>  element allows you to specify alternative video files which the browser may choose from. The browser will use the first recognized format. The text between the  <video>  and  </video>  tags will only be displayed in browsers that do not support the  <video>  element. * HTML <...

How to Upload Images In Php With Move image to Image Folder

How to Upload Images In Php  <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Files upload Function with php</title> </head> <body> <?php if (isset($_FILES['userfile'])) { # code... $userfile=$_FILES['userfile']; echo "File Name is ".$userfile['name']."<br>"; echo "File  size is ".$userfile['size']."<br>"; echo "Tem Dir is ".$userfile['tmp_name']."<br>"; echo "File Type is ".$userfile['type']."<br>"; $x=move_uploaded_file($userfile['tmp_name'],"img/".$userfile['name']); echo "<br>"; if ($x) { # code... echo "Image Moved Successfully You got it"; } else{ echo "something went wrong "; } }  ?> <div style="margin-l...

CURD Operation In Php, update,delete,display,insert.etc

Display Code  <?php $dbservername="localhost"; $dbusername="root"; $dbpassword=""; $dbname="test_curd"; $con=mysqli_connect($dbservername,$dbusername,$dbpassword,$dbname); if ($con) { # code... // echo "Connection is set"; // DISPLAY CODE HERE $sql=" select * from curd_table"; $res=mysqli_query($con,$sql);//query fired // print_r($res);//human can read this statement if (mysqli_num_rows($res) >0) { # code... $x=mysqli_fetch_assoc($res); /* echo $x['username']; echo "<br/>"; echo $x['password']; */ print_r($x); } } else{ echo "Something Went Wrong"; } ?> Insert code <?php  session_start(); session_destroy();  ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Insert php</title> </hea...

How To Lock Folder With Password

How To Lock Folder With Password  cls @echo off title Folder Locker IF EXIST “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303­­­09D}” GOTO UNLOCK IF NOT EXIST Locker GOTO MDLOCKER echo Folder Created. :CONFIRM echo Are you sure you want to lock the folder? (Y/N) set/p “cho=” IF %cho%==Y GOTO LOCK IF %cho%==y GOTO LOCK IF %cho%==N GOTO END IF %cho%==n GOTO END echo Invalid Choice. GOTO CONFIRM :LOCK ren Locker “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303­­­09D}” attrib +h +s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303­­­09D}” echo Folder Locked. GOTO END :UNLOCK echo Enter password to unlock the Folder : set/p “pass=” IF NOT %pass% == Your-Pasword-Here GOTO FAIL attrib -h -s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303­­­09D}” ren “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303­­­09D}” Locker echo Folder Unlocked Successfully. GOTO END :FAIL echo Invalid Password! GOTO END :MDLOCKER md Locker echo Folder created. GOTO END :END

Some Images with IT VISION Courcess Images