Thursday, November 16, 2017

W3 Schools Offline Latest Version Download – 2017


W3Schools is an educational website that provides web development tutorials. It covers topics like HTML, CSS, Bootstrap 3,4, JavaScript, jQuery, AngularJS, JSON, AJAX, Node.js and Raspberry Pi PHP, ASP.Net, SQL and many more. W3Schools is getting more than 45 million visits per month and it is the most popular web development website on the internet. The tutorials are very helpful for beginners to learn web development. It also provides thousands of examples and facility to edit and execute them online.

Also Read: A Guide to Several Programming Languages Available for Web Development
The biggest drawback of W3Schools is that you can’t access these awesome tutorials without internet. Fortunately I have found a great solution for this problem. So in this article I am sharing the link to download W3Schools offline version for absolutely free.

Download Steps:


Step 1: Download Link: http://www.mediafire.com/file/ce98g64hcneq2x1/www.w3schools.com.zip
Step 2: Extract the .zip file
Step 3: Open intex.html

Sunday, May 21, 2017

How to Use SMTP for XAMPP to send mail from localhost?



You can send mail from localhost with sendmail package , sendmail package is inbuild in XAMPP. So if you are using XAMPP then you can easily send mail from localhost.

for example you can configure C:\xampp\php\php.ini and c:\xampp\sendmail\sendmail.ini for gmail to send mail.
in C:\xampp\php\php.ini find extension=php_openssl.dll and remove the semicolon from the beginning of that line to make SSL working for gmail for localhost.

in php.ini file find [mail function] and change

SMTP=smtp.gmail.com
smtp_port=587
sendmail_from = my-gmail-id@gmail.com
sendmail_path = "\"C:\xampp\sendmail\sendmail.exe\" -t"
 
Now Open C:\xampp\sendmail\sendmail.ini. Replace all the existing code in sendmail.ini with following code

[sendmail]

smtp_server=smtp.gmail.com
smtp_port=587
error_logfile=error.log
debug_logfile=debug.log
auth_username=my-gmail-id@gmail.com
auth_password=my-gmail-password
force_sender=my-gmail-id@gmail.com
 
Now you have done!! create php file with mail function and send mail from localhost.
PS: don't forgot to replace my-gmail-id and my-gmail-password in above code. Also, don't forget to remove duplicate keys if you copied settings from above. For example comment following line if there is another sendmail_path : sendmail_path="C:\xampp\mailtodisk\mailtodisk.exe" in the php.ini file
Also remember to restart the server using the XAMMP control panel so the changes take effect.
For gmail please check https://support.google.com/accounts/answer/6010255 to allow access from less secure apps.

Friday, June 24, 2016

Simple Form to Email PHP Contact Form

contact_form
HTML Code: Save for(index.html)

<html>
<body>
    <style>enq {
    width: 25%;
    line-height: 25px;
}
    </style>
<div class="enq">
<p style="color:#f00;">Required fields are <b>*</b></p>

<form action="contact.php" method="post">
<p><b>Your Name:*</b> <input type="text" placeholder="Name" name="yourname" /><br />
<b>Subject:*</b> <input type="text" placeholder="Subject" name="subject" /><br />
<b>E-mail:*</b> <input type="text" placeholder="username@domain.com" name="email" /><br />
Website:* <input type="text" placeholder="www.yourdomain.com" name="website"></p>

<p>Do you like this website?*
<input type="radio" name="likeit" value="Yes" checked="checked" /> Yes
<input type="radio" name="likeit" value="No" /> No
<input type="radio" name="likeit" value="Not sure" /> Not sure</p>

<p>How did you find us?
<select name="how">
<option value=""> -- Please select -- </option>
<option>Google</option>
<option>Yahoo</option>
<option>Link from a website</option>
<option>Word of mouth</option>
<option>Other</option>
</select>

<p><b>Your comments:*</b><br />
<textarea placeholder="Comments" name="comments" rows="10" cols="40"></textarea></p>

<p><input type="submit" value="Send it!"></p>
</form>
    </div>
</body>
    </html>
 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Code 2:  Save for(thanks.htm)

 <html>
<p text-align="center">Your message was sent</p>
</html> 
 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Thursday, June 9, 2016

YouTube Copyright School Question and Answers

copyright
Evaluation of your answers:
  • Questions 1: The following things are copyrightable: names, places, faces and spaces.
    Answers: False
    In Association with Amazon.in
    Questions 2: The following item is protected by copyright:
    Answers:  Your original YouTube video
    Questions 3: If you claim fair use in the video description, your video can't be considered copyright infringement.
    Answers: False
    Questions 4: All uses of copyrighted content without permission of the owner are considered copyright infringement.
    Answers:  False
    Questions 5: If someone alleges that you have infringed their copyright, you will receive a notification:
    Answers:  Both A & B
    Questions 6: If you misuse YouTube's counter-notification process:
    Answers: Your YouTube account will be terminated
    Questions 7: Its fine to use someone else’s content as long as it already appears on YouTube.
    Answers: False
    In Association with Amazon.in
    Questions 8: It’s possible for music to have more than one copyright owner.
    Answers: True
    Questions 9: If a video gets removed because of a copyright infringement notification, filing a counter-notification is the only possible way to restore the video.
    Answers:  False
    Questions 10: You should ask YouTube for permission to use other users' content from the site.
    Answers:  True
    Questions 11: Creating 100% original new content for YouTube will help to protect you against claims of copyright infringement.
    Answers: True
    Questions 12: Deleting a video that was removed for copyright will get rid of the associated copyright strike.
    Answers: False
    Questions 13: It is impossible for a remix or mash up to infringe copyright.
    Answers: False
    Questions 14: If you claim fair use in the video description, your video can’t be considered copyright infringement.
    Answers: False
    Questions 15: As long as I have purchased the content in question, it is not possible for me to infringe copyright by uploading it to YouTube.
    Answers: False
    Questions 16: Its fine to use someone else’s content as long as it already appears on YouTube.
    Answers: False
    Questions 17: Fair use is a legal defense that applies in all countries.
    Answers: False
    Questions 18: The following items are NOT protected by copyright:
    Answers: People
    In Association with Amazon.in
    Questions 19: If content is available on the Internet, it is in the public domain and therefore okays to upload to YouTube.
    Answers: False
    Questions 20: If you claim fair use in the video description, your video can’t be considered copyright infringement.
    Answers: False
    Questions 21: If the original creator of the copyrighted work has died, the work is no longer protected by copyright.
    Answers: False
    Questions 22: If you are found to be a repeat infringer, you could lose your YouTube account.
    Answers: True
    Questions 23: If you claim fair use in the video description, your video can’t be considered copyright infringement.
    Answers: False
    Questions 24: Anyone can issue a copyright claim on behalf of someone else.
    Answers: False
    Questions 25: Copyright infringement can result in:
    Answers: D
    Questions 26: As long as you have modified the original content in some way, such as in a remix, it is always a fair use of copyrighted material and you cannot be subject to claims of copyright infringement.
    Answers: False
    Questions 27: In order to determine whether specific copyrighted content is authorized to be used on YouTube, you should upload it to your account and wait for the Content ID system to block any unauthorized content.
    Answers: False
    Questions 28: Copyright infringement occurs when a copyrighted work is _______ without the permission of the copyright owner:
    Answers:  All of the above
    Questions 29: If I intentionally file a false notice of alleged copyright infringement against a YouTube video (just for fun, or to cause trouble), I could be found liable for any damages caused.
    Answers:  True
    Questions 30: Creating 100% original new content for YouTube will help to protect you against claims of copyright infringement.
    Answers: True
    Questions 31: Copyright protects each of these individual rights. Fair use is a legal defense that applies in all countries.
    Answers: False
    Questions 32: Uploading a video of myself recording my favorite cover song does not require the permission of the copyright holder.
    Answers: False
    Questions 34: Giving credit to the creator in your video’s description is enough to prevent copyright infringement from occurring.
    Answers: False
    Questions 35: Copyright infringement is a serious offense and violation of the law may have significant consequences.
    Answers: True
    Questions 36: Its fine to use someone else’s content as long as it already appears on YouTube.
    Answers: False
    Questions 37: If I intentionally file a false notice of alleged copyright infringement against a YouTube video (just for fun, or to cause trouble), I could be found liable for any damages caused.
    Answers: True
    Questions 38: The following things are copyrightable: names, places, faces and spaces.
    Answers: False
    Questions 39: Copyright infringement is a serious offense and violation of the law may have significant consequences.
    Answers: True
    Questions 40: Content that was once allowed by a content owner may be subsequently removed from YouTube.
    Answers:  True
    Questions 41: The following item(s) may be protected by copyright:
    Answers:  All of the above
    In Association with Amazon.in
    Questions 42: It is okay to upload an entire cartoon episode without the authorization of the copyright owner as long as I'm just sharing it with my friends, family and fans.
    Answers: False
    Questions 43: If someone alleges that you have infringed their copyright and you are certain that this is not the case, you may:
    Answers:  File a counter-notification
    Questions 44: Copyright protection is only given to major film, television or recording corporations who pay for the privilege.
    Answers: False
    Questions 45: You should ask YouTube for permission to use other users’ content from the site.
    Answers: False
  • You should ask YouTube for permission to use other users’ content from the site.
    You chose: False
    Correct!
    YouTube cannot grant the rights to any screenshots or footage of third party content on the site.
  • Content that was once allowed by a content owner may be subsequently removed from YouTube.
    You chose: True
    Correct!
    Owners can change their mind about how their content is displayed on YouTube. For this reason, creating completely original content is the best protection against copyright infringement claims.
  • The following item is protected by copyright:
    You chose: Your original YouTube video
    Correct!
    Copyright protects works that are original, creative, expressive and fixed. 
  • The following items are NOT protected by copyright:
    You chose: People
    Correct!
    People are not protected by copyright. Sorry.
  • If I intentionally file a false notice of alleged copyright infringement against a YouTube video (just for fun, or to cause trouble), I could be found liable for any damages caused.
    You chose: True
    Correct!
    Abuse of the copyright process is taken very seriously. The law allows users harmed by fraudulent copyright notices to sue the claimant for damages.
  • It is impossible for a remix or mashup to infringe copyright.
    You chose: False
    Correct!
    Remixes and mashups can be considered derivative works under the law, and you may need permission from the original content creator to remix or mashup their content. Not all remixes are protected by fair use.
  • In Association with Amazon.in
  • If a video gets removed because of a copyright infringement notification, filing a counter-notification is the only possible way to restore the video.
    You chose: False
    Correct!
    You may reach out to content owners and come to an agreement that they will retract their claim of copyright infringement. Should a claimant contact YouTube directly with a retraction, YouTube will be able to reinstate video content almost immediately.
  • If content is available on the Internet, it is in the public domain and therefore okay to upload to YouTube.
    You chose: False
    Correct!
    Just because something is available on the Internet does not mean that it is in the public domain
  • As long as I have purchased the content in question, it is not possible for me to infringe copyright by uploading it to YouTube.
    You chose: False
  • Deleting a video that was removed for copyright will get rid of the associated copyright strike.
    You chose: False
  • It is impossible for a remix or mashup to infringe copyright.
    You chose: False
  • In Association with Amazon.in
  • If you claim fair use in the video description, your video can't be considered copyright infringement.
    You chose: False
  • As long as I have purchased the content in question, it is not possible for me to infringe copyright by uploading it to YouTube.
    You chose: False
  • It's fine to use someone else's content as long as it already appears on YouTube.
    You chose: False
  • "Fair use" is a legal defense that applies in all countries.
    You chose: False
  • The following items are NOT protected by copyright:
    You chose: B
  • If content is available on the Internet, it is in the public domain and therefore okay to upload to YouTube.
    You chose: False
  • If you claim fair use in the video description, your video can't be considered copyright infringement.
    You chose: False
  • If the original creator of the copyrighted work has died, the work is no longer protected by copyright.
    You chose: False
  • In Association with Amazon.in
  • If you are found to be a repeat infringer, you could lose your YouTube account.
    Answer: True
  • If you claim fair use in the video description, your video can't be considered copyright infringement.
    Answer: False
  • Anyone can issue a copyright claim on behalf of someone else.
    Answer: False
  • Copyright infringement can result in:
    Answer: D
  • As long as you have modified the original content in some way, such as in a remix, it is always a fair use of copyrighted material and you cannot be subject to claims of copyright infringement.
    Answer: False
  • Copyright infringement occurs when a copyrighted work is _______ without the permission of the copyright owner:
    Answer: E
  • Copyright protects each of these individual rights. "Fair use" is a legal defense that applies in all countries.
    Answer: False
  • Uploading a video of myself recording my favorite cover song does not require the permission of the copyright holder.
    Answer: False
  • In Association with Amazon.in
  • Giving credit to the creator in your video's description is enough to prevent copyright infringement from occurring.
    Answer: False
  • Copyright infringement is a serious offense and violation of the law may have significant consequences.
    Answer: True
  • It's fine to use someone else's content as long as it already appears on YouTube.
    You chose: False 
  • In order to determine whether specific copyrighted content is authorized to be used on YouTube, you should upload it to your account and wait for the Content ID system to block any unauthorized content. 
    Answer: False
  • The following things are copyrightable: names, places, faces and spaces. 
    Answer: False
Subscribe to my Twitter and Facebook to get contact.

43 Best Free Stock Photos Sites

43 Best Free Stock Photos Sites: Best Stock Photo Free Burst (by Shopify) Canva Death to Stock Photos Epicantus EveryPixel Foo...

Amazon Search