Saturday 14 April 2018

Warning: pathinfo() expects parameter 1 to be string, array given in

If you get about pathinfo 
the you use this code
$ext = pathinfo($img, PATHINFO_EXTENSION);
yaaa
$img = pathinfo($img, PATHINFO_FILENAME);

If not work the use above the script
error_reporting(0);
the confirm this problem not come again


Warning: pathinfo() expects parameter 1 to be string, array given in /storage/emulated/0/www/project/olx/resale_v2/web/post-ad.php on line 591
Call Stack
#TimeMemoryFunctionLocation
10.0058145608{main}( )../post-ad.php:0
20.0092164624pathinfo ( )../post-ad.php:591

Wednesday 7 February 2018

Claculater in HTML, CSS, && JAVASCRIPT

Claculater in HTML, CSS, && JAVASCRIPT

Claculater in HTML, CSS, && JAVASCRIPT

<html>
<head>
<title>Calculater</title>
<style type="text/css">
.formstyle {
width:300px;
height:410px;
margin:auto;
border:1px solid silver;
background:blue;
border-top-left-radius:8px;
border-top-right-radius:8px;
border-bottom-left-radius:9px;
border-bottom-right-radius:10px;
}
input{
width:50px;
height:1cm;
border-radius:7px;
margin-left:15px;
}
input:hover {
background:#00ff40;
color:white;
}
#ans{
width:100.19999%;
text-align:right;
background:black;
color:white;
height:50px;
font-size:30px;
margin-right:15p;
margin-left:-1px;
border-bottom-left-radius:0px;
border-bottom-right-radius:0px;
overflow-x:scroll;
}
#clear {
width:25%;
}
</style>
</head>
<body style="padding:50px;" >
<div class="formstyle" >
<form name="form" class="" >
<input type="text" name="answere" id="ans" ><br> <br>
<input type="button" value=" 1 "  onclick="form.answere.value += '1'">
<input type="button" value=" 2 "  onclick="form.answere.value += '2'">
<input type="button" value=" 3 "  onclick="form.answere.value += '3'">
<input type="button" value=" •  "  onclick="form.answere.value += '.'">
<br> <br>
<input type="button" value=" 4 "  onclick="form.answere.value += '4'">
<input type="button" value=" 5 "  onclick="form.answere.value += '5'">
<input type="button" value=" 6 "  onclick="form.answere.value += '6'">
<input type="button" value=" 00 "  onclick="form.answere.value += '00'">
<br> <br>
<input type="button" value=" 7 "  onclick="form.answere.value += '7'">
<input type="button" value=" 8 "  onclick="form.answere.value += '8'">
<input type="button" value=" 9 "  onclick="form.answere.value += '9'">
<input type="button" value=" Ï€ "  onclick="form.answere.value += '3.14'">
<br> <br>
<input type="button" value=" + "  onclick="form.answere.value += '+'">
<input type="button" value=" - "  onclick="form.answere.value += '-'">
<input type="button" value=" x "  onclick="form.answere.value += '*'">
<input type="button" value=" ( "  onclick="form.answere.value += '('">
<br> <br>
<input type="button" value=" ÷ "  onclick="form.answere.value += '/'">
<input type="button" value=" 0 "  onclick="form.answere.value += '0'">
<input type="button" value=" = "  onclick="form.answere.value = eval(form.answere.value)">
<input type="button" value=" ) "  onclick="form.answere.value += ')'">
<br> <br>
<input type="button" value=" % "  onclick="form.answere.value += '%'">
<input type="button" value="CE" onclick="form.answere.value = ''" id="clear" >
<input type="button" value="&larr;" onclick="be()" />
</form>
</div>
<script type="text/javascript">
function be() {
form.answere.value=form.answere.value.slice(0,form.answere.value.length-1);
}

</script>
</body>
</html>


Monday 5 February 2018

Friday 2 February 2018

Sms send and Earned money




Hii this is Ashish from phpcodes free
He'll,  friends today i will told you about a website which and where you will got/earn money💰  I think all are know about that but but i think that i will told you about website anyone know this website then skip ,I think that's i will show you all images of this website is fast2sms
I am already login in above pictures
billow are my account

my open account

Send sms and play quizzes and earned money

Click Start Earning



This is simply quiz questions to earn money online

Thanks.....


Thursday 1 February 2018

HTML Element

HTML Elements

An HTML element usually consists of a start tag and end tag, with the content inserted in between.
The HTML element is everything from the start tag to the end tag.
like flowing
<p>My first paragraph.</p>

Start tagElement contentEnd tag
<h1>My First Heading</h1>
<p>My first paragraph.</p>
<br> line is break






start tag
Element contentEnd tag
<label>My First Heading</label>
<sub>here the word is goes up</sub>
<hr> here the horizontal


AND , much more....


The <body> element defines the document body.
It has a start tag <body> and an end tag </body>.
The element content is two other HTML elements (<h1> and <p>).

The <h1> element defines a heading.
It has a start tag <h1> and an end tag </h1>.
The element content is: My First Heading.
<h1>My First Heading</h1>
The <p> element defines a paragraph.
It has a start tag <p> and an end tag </p>.
The element content is: My first paragraph.
<p>My first paragraph.</p>

Do Not Forget the End Tag





Empty HTML Elements

HTML elements with no content are called empty elements.
<br> is an empty element without a closing tag (the <br> tag defines a line break).
Empty elements can be "closed" in the opening tag like this: <br />.
HTML5 does not require empty elements to be closed. But if you want stricter validation, or if you need to make your document readable by XML parsers, you must close all HTML elements properly.

HTML tags are not case sensitive: <P> means the same as <p>.
The HTML5 standard does not require lowercase tags, but W3C recommends lowercase in HTML, and demands lowercase for stricter document types like XHTML.
but, now don't Teach you XHTML only HTML
That was a example only




Basic information about HTML


HTML Basic Examples



HTML Documents


If you use to HTML 5 THEN Add <!DOCTYPE html>.

All HTML documents must start with a document type declaration: <!DOCTYPE html>.

Other wise start simply like this <html>

The HTML document itself begins with <html>and ends with </html>.



The visible part of the HTML document is between <body> and </body>.

<!DOCTYPE html>
<html>

       <head>

            <title>This is first season</title>
       </head>
<body>

     <h1>My First Heading</h1>
     <p>My first paragraph.</p>

</body>
</html>
Results is billow figure..





Note:- In head tag don't show in body tag if i write any word in <head> between </head> nothing display Do not forget the End Tag


<!DOCTYPE html>
<html>
<body>

<h1>This is heading 1</h1>
<h2>This is heading 2</h2>
<h3>This is heading 3</h3>
<h4>This is heading 4</h4>
<h5>This is heading 5</h5>
<h6>This is heading 6</h6>

</body>

</html>



HTML Paragraphs

HTML paragraphs are defined with the <p> tag:

<!DOCTYPE html>
<html>
<head>
<title>HTML session 1 lesson 1</title>
</head>
<body>

<p>This is a paragraph.</p>
<p>This is another paragraph.</p>

</body>
</html>















HTML Links

HTML links are defined with the <a> tag:



<!DOCTYPE html>
<html>
       <head>
            <title>This is first season learn <a> tag </title>
       </head>
 <body>

           <a href="http://phpcodesfree.blogspot.in">This is a link</a>

</body>
</html>









HTML Images

HTML images are defined with the <img> tag.
The source file (src), alternative text (alt), width, and height are provided as attributes:

<!DOCTYPE html>
<html>
       <head>
            <title>This is first season learn <img> tag </title>
       </head>
 <body>

          <img src="http://qnimate.com/wp-content/uploads/2014/03/images2.jpg"alt="W3Schools.com"width="50%" height="50%">

</body>
</html>


HTML Editor in laptop/computer or mobile

Open Notepad (in PC)

Windows 8 or later:
Open the Start Screen (the window symbol at the bottom left on your screen). Type Notepad.
Windows 7 or earlier:
Open Start > Programs > Accessories > Notepad

You can use other editor

like, Notepad ++ ,Brickets, etc....

If you want to use in mobile HTML editor 

simple Go to play store download HTML editor
in give pictures
       
Looking like that...
   




HTML Basics symbol or structure






























 The Basic information About HTML 5 IS..

<!DOCTYPE html >
       <html lang="en">
          <head>
                 <title></title>
                  <meta http-equiv="Content-Type"                                     content="text/html; charset=utf-8" />
                    <link rel="stylesheet" href="" type="text/css"/>
       </head>
<body>

</body>
</html>





<h1></h1>
<h2></h2>
<h3></h3>
<h4></h4>
<h5></h5>
<h6></h6>
<p></p>
<span></span>
<label></label>
<strong></strong>
<link>
<script type="text/javascript"></script>
<style type="text/css"></style>
<marquee></marquee>
<mark></mark>
<u></u>
<b></b>
<sub></sub>
<sup></sup>
<textarea></textarea>
<a href="" ></a>
<audio></audio>
<video></video>
<div></div>
<table></table>
<thead></thead>
<tbody></tbody>
<tr></tr>
<th></th>
And much more we'll be continuing.. in tutorial season...