How to create sitemap in WordPress without plugin

HTML sitemap designed for Users, where user can easily view all links, pages category of the site. to create HTML sitemap for your WordPress website. follow below steps.

Step 1: Open functons.php file from theme

In First step you have to do is open your currently active theme from wp-content/theme folder. In that folder you will see many php pages. like header.php, footer.php, functions.php etc. So open functions.php file in your text editior.

step 2: Download below code and paste into functions.php

You can download source code from Github and paste into functions.php add_shortcode(‘sitemap’, ‘html_sitemap’); add_shortcode() is WordPress built-in function for shortcode tag. This function requires two parameter first your shortcode and second name of your php function during execution. you can use your shortcode on page or post like [your_shortcode_name].

Step 3: Add new page from wp-admin

Now in the last step we have to do is create new page form your wp-admin panel and Give appropriate name. In this tutorial am giving page name sitemap and paste shortcode [sitemaps] and save.

Now your site is ready with Dynamic HTML Sitemap. Whenever there is new page or post published, the link of that post/page will automatically listed in sitemap.

How to create XML Sitemap

XML Sitemap generally designed for search engines to crawling and indexing our web pages and to do that first we have to create XML sitemap and we have to submit our XML sitemap to Webmaster Tool. Follow below steps to create XML sitemap.

Step 1: Open functons.php file from theme

In first step again we have to open functions.php file in your text editor from your theme folder (wp-content/themes/your_theme_folder/functions.php).

Step 2: Download below code and paste into functions.php file

Just download and copy-paste code into your functions.php file.

add_action(“publish_post”, “XML_sitemap”); add_action(“publish_page”, “XML_sitemap”);

In downloaded file, you will see above 2 lines in that file. Here, add_action() hooks or call on a specific action. This function takes two parameter, first is the name of the action and second parameter is the name of function you wish to be hook.

For e.g : In above code we pass first parameter publish_post. So whenever you will publish your new post at that time WordPress will call a custom php function XML_sitemap which we passed as second parameter to hook.

Now new page or post published on your site, this code will clear older content and write new content in existing file. Check your sitemap by www.mydomain.com/sitemap.xml, you will see updated XML sitemap of your site.

WRITTEN BY

Rohit Gilbile

Upgrade PHP version 7.2 to 7.3 on Ubuntu

As a part of increasing the security, it is advised to keep your PHP version up to date. Here we have provided the steps to upgrade the current PHP 7.2 version to 7.3 on Ubuntu 14/16/18 versions without removing the old one. So that we can revert to the older versions if something incompatible with the new one after switching.

Login to the server via SSH as root.

Check your current PHP version. 

# php -v
PHP 7.2.36

In order to install PHP 7.3, we need to add the repository first:

# add-apt-repository ppa:ondrej/php

Then run an update:

# apt-get update

After completing the update, we need to install the PHP 7.3.

 Then install the required PHP packages based on your current installation:

# apt install php7.3-common php7.3-cli php7.3-bz2 php7.3-curl php7.3-gd php7.3-intl php7.3-json php7.3-readline php7.3-xml php7.3-zip php7.3-fpm php7.3-bcmath php7.3-mbstring

After a successful installation, we can disable the old 7.2 and then enable 7.3:

# a2dismod php7.2
# a2enmod php7.3

Then restart Apache:

# service apache2 restart

The new PHP version should be active now. You can verify it from the command line:

# php -v
PHP 7.3.28

NOTE: for ordinary user use sudo command.

Soa Technology

Top 350+ High DA Indian Classified Submission Sites List India 2020-2021

It is always the best option for online promotion to post ads on classified sites. There are many positive effects of these classified advertisements for your business. You do not only promote your business but also you will be able to improve your SEO. You can do this easily without much SEO knowledge. That is why people find these websites. Because the work becomes easier if you get the websites that need no registration for posting ads. You can save a lot of time once you get these websites for your promotional works. So, in this article, we will discuss some important things about the classified sites and their benefits for SEO.

What is classified in SEO?

Classified was a simple advertisement process when the SEO was not so much evolved. But, as the industry trends increase, this thing got its special place in SEO works. By using classified in your SEO works, you can easily improve your website ranking. This happens because the search engine also uses the classified sites to find the most suitable search ranking for your websites. You must use this thing appropriately to get the most out of it. You must also have the list of best sites which we will give you below.

Benefits of classifieds for SEO

As we discussed earlier, these sites help you to achieve good search engine ranking. But, you must be aware of their specific effects on your SEO strategy before using them. Classified sites will serve you as one of the best ways to achieve good rankings.

Good source of backlinks

With the help of classified submission, you will get lots of free backlinks for your website. Most of the classified websites give genuine do follow backlinks which boost our national as well as local SEO efforts. So, instead of using other shady link building strategies, you can use this genuine technique to build good quality backlinks to your website.

Brand awareness

Using classified submission strategy, you do not only advertise your products but it is the best way to increase your brand awareness too. This strategy will help you a lot to gather a good quality and quantity of users for your business sales.

Easy to implement SEO technique

As compared to other link building tactics, classified ads will enable you to easily use for promotional purposes. You will easily get its positive results on your search engine rankings and brand reputation in very little time.

To get all these benefits, you have to use this technique accurately. Instead of filling your ads with unnecessary keywords, descriptions and other details, you must focus on making it attractive and indulging for the users. Once you are able to do this, you will find it easy to get the best results in very little time. Make sure to use the websites given in the list properly. It will be easy for you to post your ads on them without any registration. Once you started using it appropriately for your works, you will see the best results very soon.

List of free classified sites 2020-2021

To help you more with this, we have put together a list of best-classified sites for you. These websites will enable you to use this strategy effectively without doing registration every time.

S.No.India Classifieds Sites ListDAPAMoz Rank
Featured Listings
1freeadstime.org35454.5
2advertiseera.com20373.7
3classifiedsfactor.com16363.6
4findermaster.com20373.7
5h1ad.com23373.7
6rectanglead.com13262.6
7wallclassifieds.com19363.6
8giganticlist.com20343.4
9superadpost.com15252.5
10eazyseller.comNANANA
S.No.Classifieds Sites ListDAPAMoz Rank
1craigslist.org92454.5
2nola.com87636.3
3gumtree.com84585.8
4justlanded.com73585.8
5classifieds.jagran.com72464.6
6olx.in71595.9
7quikr.com68585.8
8classifiedads.com67585.8
9salespider.com67575.7
10click.in67575.7
11classifieds.webindia123.com67525.2
12adlandpro.com66565.6
13muamat.com62565.6
14claz.org62545.4
15postallads4free.com62525.2
16bhopal.locanto.in62595.9
17oodle.com62535.3
18services.oodle.com62434.3
19takarat.com59353.5
20finderguru.com58464.6
21expatriates.com58454.5
22craftstylish.com58494.9
23thefreeadforum.com57535.3
24tuffclassified.com57545.4
25clickindia.com57494.9
26indads.in56545.4
27classifiedsforfree.com56515.1
28hoobly.com56484.8
29global-free-classified-ads.com55484.8
30princeclassified.com54525.2
31zamroo.com54434.3
32innetads.com53454.5
33adpost.com53535.3
34sell.com53505
35classifieds.chennaionline.com53454.5
36domesticsale.com52494.9
37classifiedsciti.com52525.2
38xoocal.com52484.8
39indiabook.com52424.2
40freeadstime.org52505
41friday-ad.co.uk52484.8
42r4sales.com51474.7
43classified4free.net51434.3
44freebestads.com51474.7
45eonlineads.com51444.4
46malayaliclassifieds.com51434.3
47delhi-city.adeex.in51434.3
48storeboard.com51545.4
49freeadsbook.com50363.6
50webclassifieds.us50424.2
51globalclassified.net50525.2
52clickooz.com50434.3
53eknazar.com50454.5
54vivastreet.co.in50505
55freewebads.biz49515.1
56posthereads.com49424.2
57postherefree.com49414.1
58adsandclassifieds.com49424.2
59admaya.in48444.4
60freead1.net48434.3
61adsyellowpages.com48454.5
62getadsonline.com48414.1
63mypetads.com48414.1
64ivarta.com48404
65qwikad.com48494.9
66classifieds4me.com48424.2
67oyedekh.com48484.8
68topclassifieds.com48404
69whereincity.com48454.5
70indialist.com47494.9
71freeadsciti.com47434.3
72adsblue.com47404
73freewebads.us47393.9
74classified4u.biz47404
75classifieds4free.biz47434.3
76hotfreelist.com47414.1
77dewalist.co.in46494.9
78adskorner.com46464.6
79ezclassifiedads.com46414.1
80freeadsonline.biz46404
81citynews.com46393.9
82indianweb.com46404
83adpress.in46494.9
84guadeloupe.global-free-classified-ads.com46313.1
85askmeclassifieds.com45464.6
86quickfinds.in45454.5
87indiaza.net45373.7
88selfiads.com45454.5
89freeclassifiedssites.com45464.6
90indianreunited.net45373.7
91indiaconnect.com44484.8
92adaalo.com44464.6
93bedpage.com44474.7
94indiadynamics.com44444.4
95classtize.com44444.4
96twarak.com43434.3
97adclassified.in43474.7
98postonlineads.com43474.7
99web-free-ads.com43474.7
100epageindia.com43393.9
101releasemyad.com43414.1
102nullads.org42414.1
103dragg.in42474.7
104youpost.org42363.6
1051smartlist.com42474.7
106kahi.in42404
107helptobuynsell.in42474.7
108ad.i1corner.com42454.5
109unolist.in42363.6
110craigslist.co.in42444.4
111expatads.com42444.4
11210dayads.com41333.3
113chennaiclassic.com41373.7
114digitalbhoomi.com41424.2
115classifiedsguru.in41474.7
116tcnext.com41454.5
117rackons.com41393.9
118flegoo.com41383.8
119kugli.com41464.6
120locanto.in41474.7
121viceads.com40383.8
122doplim.in40414.1
123delhi.namanas.com40363.6
124goodlinksindia.com40383.8
125thisismyindia.com40444.4
126surfindia.com40444.4
127yellowpages.ivarta.com40383.8
128stclassifieds.sg40414.1
129new-delhi.adhoards.com39343.4
130indiaaclick.com39464.6
131viewfreeads.com39303
132oclicker.com39464.6
133classifiedindia.co.in39464.6
134india-classifieds.in39292.9
135epage.com39505
136adresourcechannel.com38454.5
137adexpert.in38454.5
138freeonlineviewads.com38454.5
139ebackpage.com38454.5
140mysearchindia.com38454.5
141admag.com38414.1
142ibackpage.com38454.5
143freeclassifieds.com38434.3
144sellbuystuffs.com37363.6
145kippee.com37373.7
146delhionline.in37404
147secondsmall.com36373.7
148imclassified.com36373.7
149classifiedwale.com36343.4
150adeex.in36444.4
151adsnity.com36414.1
152freeadstime.org36454.5
153findermaster.com35373.7
154way2ad.com35343.4
155indiacatalog.com35434.3
156ad-mart.co.uk35454.5
157adfreeposting.com34373.7
158onlyforads.com34323.2
159bavun.in33373.7
160budu.com33363.6
161postfreeadshere.com33424.2
162ablewise.com33484.8
163hindustanlink.com33454.5
164itsbharat.com32373.7
165bisell.in32333.3
166delhincrads.com32313.1
167khojle.in32444.4
168adoos.co.uk32434.3
169koolbusiness.com31353.5
170xookr.in31353.5
171ishuads.in31353.5
172zicfy.com31313.1
173indoclassified.com31363.6
174daslot.in31353.5
175rentlx.com31323.2
176advertigo.net31393.9
177postfreeonlineads.com30343.4
178kluky.in30252.5
179fastadpost.com30303
180findinall.com30313.1
181publicdial.com30232.3
182adsciti.com30454.5
183jobiba.com30404
184mitula.in30404
185classi4u.com30424.2
186dtwdesi.com29313.1
187adsapt.com29323.2
188classifiedsfactor.com29323.2
189egoota.com29343.4
190corporatehours.com29333.3
191eventsetter.com29414.1
192adproceed.com28353.5
193goruncit.com28353.5
194wallclassifieds.com28323.2
195oozz.in28393.9
196ismartads.com28404
197jawbite.ning.com28454.5
198beatyourprice.com28444.4
199salenearn.com27333.3
200justinfoline.com27262.6
201sacdesi.com27333.3
20299localads.com27282.8
203postallfreeads.com27262.6
204adbizindia.com27333.3
205spicyadz.in27373.7
206adskeep.com27404
207bizmartindia.com27424.2
208bhartiads.com27393.9
209freeads24.eu27383.8
210zikbay.com27393.9
211gurugramonline.in26303
212quickyads.in26343.4
213goadindia.com26282.8
214adspostfree.com26292.9
215locatfly.in26333.3
216cityclassify.com26262.6
217namanas.com26414.1
218khrido.com26393.9
219wikidok.com26383.8
220emoment.net26424.2
221in.zobazo.com25292.9
222cheapwb.com25262.6
223kps.co.in25303
224tikshare.com25282.8
225adonview.com25373.7
226adoos.in25414.1
227cootera.com24242.4
228onlads.com24313.1
229pittdesi.com24292.9
230adoak.com24424.2
231mlmad.in24313.1
232flatfy.in24313.1
233myadmonster.com24414.1
234osyska.com23212.1
235fmclassifieds.com23383.8
236jobs.freeadsinindia.in23292.9
237greatclassified.in23393.9
23899localsearch.com23404
239freeadsinindia.in23424.2
240h1ad.com23353.5
241ibackpage.com23363.6
242freeads.in23393.9
243adsfree.in22252.5
244webclassi.com22191.9
245adwayer.in22373.7
246dragg.in/classifieds22323.2
247digisok.com22363.6
248highlandclassifieds.com22434.3
249freeead.com22363.6
250nanubhaiproperty.com22383.8
251clicknsell.in22303
252biggestclassifieds.com22434.3
253comrite.com22383.8
254addlistsite.com22393.9
255adhiad.com21272.7
256clickadlink.com21292.9
257india.sebule.com21404
258adpiece.in21424.2
259bookmyad.com21303
260searchingurgaon.com/classifieds21262.6
261evolskill.com21353.5
262findermaster.com21363.6
263giganticlist.com21313.1
264advertiseera.com21343.4
265goforads.in20252.5
266ebazarindia.com20242.4
267postforads.com20343.4
268adbazzaar.com20353.5
269freeadshome.com20353.5
270metroads.in20292.9
271cityehub.com20303
272gnn9.com20222.2
273dymm.com20353.5
274peepmart.com19262.6
275vooclick.com19363.6
276addsera.in19373.7
277inddealz.com19333.3
278adsnity.in19333.3
279postfreeadvertising.com19353.5
280justklick.in19333.3
281tips4india.in19414.1
282ebackpage.com19363.6
283anunico.in19373.7
284clankart.com18252.5
285ad2max.in18272.7
286arjunaddz.com18171.7
287mumbaiclassic.com18373.7
288adycart.in18292.9
289freeclassified.biz18242.4
290classifiedsdekho.com18313.1
291tradetu.com18303
292multidimensions.net18393.9
293locopost.com18343.4
294wallclassifieds.com18333.3
295localshout.in17232.3
296adslynk.com17343.4
297everestads.com17363.6
298sgclassify.com17353.5
299freeclassifieds4u.in17353.5
300freeclassads.eu17373.7
301coimbatoreclassified.com17333.3
302indiansclassifieds.com17323.2
303k2classifieds.com17373.7
304bananadirectories.com17393.9
305krislon.net17343.4
306icracker.com.au17333.3
307eclassifiedsweb.com17383.8
308izifound.in16232.3
309mytiruvarur.com16343.4
310adrevu.com16383.8
311indiasfreeclassified.com16383.8
312myavoo.in16303
313kanosa.com16303
314adway24.com16262.6
315admyad.com16343.4
316mashoble.com16282.8
317hotpost.in15212.1
318helloindia.co15333.3
319indialeads.com15232.3
320indian-freeads.com15333.3
321listingwala.com15292.9
322directories.net.in15181.8
323dealtalk.co.in15292.9
324click4post.com15272.7
325oorgin.com15323.2
326websouq.com15353.5
327classifiedsfactor.com15333.3
328ginder.in14171.7
329shopindia.co.in14393.9
330iluvads.com14272.7
331gofreeclassified.com14333.3
332classifiedads.in14272.7
333browsemycity.com14363.6
334demo.tekhspy.com14161.6
335h1ad.com13151.5
336izifound.com13232.3
337adpostkaro.com13272.7
338siteplugger.com13252.5
339dailyees.com/index.php13141.4
340in.classi4u.com12202
341indbc.com12353.5
342iklanbandung.com12343.4
343digitalclassifieds.net12272.7
34477traders.com12222.2
345clickwala.in12232.3
346beeykar.com11323.2
347classified247.net11191.9
348justclassified.co.in11222.2
349jikla.com11191.9
350advertisingflux.com10141.4
351localpost.in10252.5
352mistiji.com10272.7
353exportersandimporters.com9202
354listrest.com9222.2
355globalclassifiedads.xyz7272.7
356thepostads.com690.9
357netvidia.com3101
358peppertray.com130.3

Soa Technology

Microsoft Teams Adds Custom Background Effects During Video Call, Other New Features

Microsoft Teams, the video conferencing service by Microsoft, is getting a host of new updates, including the ability to use custom photos as background images during video calls. The feature is available to users of the platform’s free version and Indian customers of Teams can use it as well. Users of Microsoft Teams free version can also now schedule meetings and share links via Outlook or Google calendar. The Redmond company in a blog post has stated that Teams customers in the US can turn on live captions during their calls and meetings as well.

With the latest upgrades added to the platform, Microsoft is hoping to give tough competition to competitors such as Zoom and Google Meet. In a blog post, corporate vice president for Microsoft 365, Jared Spataro announced that the recent updates are a result of Teams’ growing userbase amid the global pandemic.

Custom background on Microsoft Teams

Starting with the new custom background effects on Microsoft Teams, the company notes that users can customise the background by uploading own images or choosing one of the collections of backgrounds available online. The platform already allows users to choose special backgrounds during a video call, in addition to the option to blur background.

Microsoft is also adding event-specific background collections for its users. Starting June 16, users can download special LGBTQI+ background photos to celebrate pride month. To upload a custom photo during a Team video call, users need to select More actions (represented by three horizontal dots) on the screen > Show background effects > Click on Add new.

Other new features on Microsoft Teams

Microsoft is also adding new features to the free version of its video conferencing platform. The company says with the new updates, Teams free version customers can work and connect from home “effectively.”

Free version users are now able to schedule meetings and send out invitations in advance. This capability builds upon the existing ability to “Meet Now.” Meeting schedulers have the option of either copying the meeting link to send directly to other participants or sending an invite via Outlook or Google calendar.

Microsoft in the post says that the much-requested schedule feature is being rolled out to current users, while users who are just signing up now will be able to “experience it soon.” Additionally, Teams customers in the US will soon be able to use live captions during a Teams call.

Meanwhile, the company last month announced that the Teams platform is looking to increase its group call participants limit to 250. The current limit on the video conferencing platform is 100.

source:ndtv

$_server in php

$_SERVER is a PHP super global variable which holds information about headers, paths, and script locations.

Example

<?php
echo $_SERVER['PHP_SELF'];
echo "<br>";
echo $_SERVER['SERVER_NAME'];
echo "<br>";
echo $_SERVER['HTTP_HOST'];
echo "<br>";
echo $_SERVER['HTTP_REFERER'];
echo "<br>";
echo $_SERVER['HTTP_USER_AGENT'];
echo "<br>";
echo $_SERVER['SCRIPT_NAME'];
?>

The following table lists the most important elements that can go inside $_SERVER:

Element/CodeDescription
$_SERVER[‘PHP_SELF’]Returns the filename of the currently executing script
$_SERVER[‘GATEWAY_INTERFACE’]Returns the version of the Common Gateway Interface (CGI) the server is using
$_SERVER[‘SERVER_ADDR’]Returns the IP address of the host server
$_SERVER[‘SERVER_NAME’]Returns the name of the host server (such as www.w3schools.com)
$_SERVER[‘SERVER_SOFTWARE’]Returns the server identification string (such as Apache/2.2.24)
$_SERVER[‘SERVER_PROTOCOL’]Returns the name and revision of the information protocol (such as HTTP/1.1)
$_SERVER[‘REQUEST_METHOD’]Returns the request method used to access the page (such as POST)
$_SERVER[‘REQUEST_TIME’]Returns the timestamp of the start of the request (such as 1377687496)
$_SERVER[‘QUERY_STRING’]Returns the query string if the page is accessed via a query string
$_SERVER[‘HTTP_ACCEPT’]Returns the Accept header from the current request
$_SERVER[‘HTTP_ACCEPT_CHARSET’]Returns the Accept_Charset header from the current request (such as utf-8,ISO-8859-1)
$_SERVER[‘HTTP_HOST’]Returns the Host header from the current request
$_SERVER[‘HTTP_REFERER’]Returns the complete URL of the current page (not reliable because not all user-agents support it)
$_SERVER[‘HTTPS’]Is the script queried through a secure HTTP protocol
$_SERVER[‘REMOTE_ADDR’]Returns the IP address from where the user is viewing the current page
$_SERVER[‘REMOTE_HOST’]Returns the Host name from where the user is viewing the current page
$_SERVER[‘REMOTE_PORT’]Returns the port being used on the user’s machine to communicate with the web server
$_SERVER[‘SCRIPT_FILENAME’]Returns the absolute pathname of the currently executing script
$_SERVER[‘SERVER_ADMIN’]Returns the value given to the SERVER_ADMIN directive in the web server configuration file (if your script runs on a virtual host, it will be the value defined for that virtual host) (such as someone@w3schools.com)
$_SERVER[‘SERVER_PORT’]Returns the port on the server machine being used by the web server for communication (such as 80)
$_SERVER[‘SERVER_SIGNATURE’]Returns the server version and virtual host name which are added to server-generated pages
$_SERVER[‘PATH_TRANSLATED’]Returns the file system based path to the current script
$_SERVER[‘SCRIPT_NAME’]Returns the path of the current script
$_SERVER[‘SCRIPT_URI’]Returns the URI of the current page

how to check dns settings for domain

DNS Lookup

DNS Lookup tool finds all DNS records of a given domain name. The records include but not limited to A, AAAA, CNAME, MX, NS, PTR, SRV, SOA, TXT, CAA.

https://dnschecker.org/all-dns-records-of-domain.php

A
TypeDomain NameAddressTTL
Asoatechnology.net35.173.197.10910799
AAAA
Sorry no record found!
CNAME
Sorry no record found!
MX
TypePrefDomain NameHostnameTTL
MX10soatechnology.netaspmx.l.google.com299
MX50soatechnology.netaspmx3.googlemail.com299
MX40soatechnology.netaspmx2.googlemail.com299
MX30soatechnology.netalt2.aspmx.l.google.com299
MX20soatechnology.netalt1.aspmx.l.google.com299
NS
TypeDomain NameNSTTL
NSsoatechnology.netns57.domaincontrol.com3599
NSsoatechnology.netns58.domaincontrol.com3599
PTR
Sorry no record found!
SRV
Sorry no record found!
SOA
TypeDomain NamePrimary NSResponsible EmailTTL
SOAsoatechnology.netns57.domaincontrol.comdns.jomax.net599
TXT
TypeDomain NameRecordTTL
TXTmissindia-world.comv=spf1 +a +mx +ip4:67.227.252.228 ~all299
CAA
Sorry no record found!

Storing and displaying unicode string (हिन्दी) using PHP and MySQL

Sample Script

<html>
  <head>
    <title>Hindi</title></head>
  <body>
    <?php
      include("connection.php"); //simple connection setting
      $result = mysql_query("SET NAMES utf8"); //the main trick
      $cmd = "select * from hindi";
      $result = mysql_query($cmd);
      while ($myrow = mysql_fetch_row($result))
      {
          echo ($myrow[0]);
      }
    ?>
  </body>
</html>

The dump for my database storing hindi utf strings is

CREATE TABLE `hindi` (
  `data` varchar(1000) character set utf8 collate utf8_bin default NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

INSERT INTO `hindi` VALUES ('सूर्योदय');

charset in the HTML Head section

<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">

set content type in your php script using 

   header( 'Content-Type: text/html; charset=utf-8' ); 

Mysql Example

CREATE DATABASE hindi_test
CHARACTER SET utf8
COLLATE utf8_unicode_ci;
USE hindi_test;
CREATE TABLE `hindi` (`data` varchar(200) COLLATE utf8_unicode_ci NOT NULL) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `hindi` (`data`) VALUES('कंप्यूटर');

Essential Services Registration Form | Covid-19 ePass

महाराष्ट्र से आने के लिए, नीचे दिए गए लिंक पर ऑनलाइन आवेदन करें।
https://covid19.mhpolice.in/registration

राजस्थान से आने के लिए, नीचे दिए गए लिंक पर ऑनलाइन आवेदन करें।
https://epass.rajasthan.gov.in/login;jsessionid=15DEDF97244B6DA52ED6AB0AB801E526

चेन्नई से आने के लिए, नीचे दिए गए लिंक पर ऑनलाइन आवेदन करें।
http://covid19.chennaicorporation.gov.in/c19/travel_pass/travel_reg.jsp

मध्य प्रदेश से आने के लिए, नीचे दिए गए लिंक पर ऑनलाइन आवेदन करें
https://mapit.gov.in/covid-19/

उत्तराखंड से आने के लिए, निम्न लिंक पर ऑनलाइन आवेदन करें
https://www.bgsbuniversity.org/wp-content/uploads/2020/04/uttrakhand-epass-details.jpg

पश्चिम बंगाल (कोलकाता) से आने के लिए नीचे दिए गए लिंक पर ऑनलाइन आवेदन करें
https://coronapass.kolkatapolice.org/

दिल्ली से आने के लिए, नीचे दिए गए लिंक पर ऑनलाइन आवेदन करें
https://epass.jantasamvad.org/epass/relief/english/

गुरगांव से आने के लिए नीचे दिए गए लिंक पर ऑनलाइन आवेदन करें
https://onemapggm.gmda.gov.in/movementpassggm/admin/Register

निम्नलिखित लिंक पर हरियाणा से आने के लिए ऑनलाइन आवेदन करें
https://saralharyana.gov.in/

नीचे दिए गए लिंक पर पंजाब से आने के लिए ऑनलाइन आवेदन करें
https://epasscovid19.pais.net.in/

गोवा से आने के लिए, नीचे दिए गए लिंक पर ऑनलाइन आवेदन करें
https://goaonline.gov.in/Public/UserRegistration_af

हिमाचल प्रदेश से आने के लिए, नीचे दिए गए लिंक पर ऑनलाइन आवेदन करें
http://covidepass.hp.gov.in/apply-for-e-pass/

तमिलनाडु से आने के लिए, नीचे दिए गए लिंक पर ऑनलाइन आवेदन करें
https://epasskki.info/

केरल से आने के लिए, नीचे दिए गए लिंक पर ऑनलाइन आवेदन करें
https://pass.bsafe.kerala.gov.in/

बिहार से आने के लिए, नीचे दिए गए लिंक पर ऑनलाइन आवेदन करें
https://serviceonline.bihar.gov.in

कर्नाटक से आने के लिए निम्न लिंक पर ऑनलाइन आवेदन करें
https://kspclearpass.mygate.com/signup

बेंगलुरु से आने के लिए, नीचे दिए गए लिंक पर ऑनलाइन आवेदन करें
https://play.google.com/store/apps/details?id=com.mygate.express&hl=en

उत्तर प्रदेश से आने के लिए, नीचे दिए गए लिंक पर ऑनलाइन आवेदन करें
https://www.bgsbuniversity.org/up-epass-online-apply-status-lockdown/

झारखंड से आने के लिए, नीचे दिए गए लिंक पर ऑनलाइन आवेदन करें
http://164.100.59.117/public/index.php

असम से आने के लिए, नीचे दिए गए लिंक पर ऑनलाइन आवेदन करें
http://103.8.249.88/applyonline/index.php/gatepasscontrol/applycaronline

चंडीगढ़ से आने के लिए, नीचे दिए गए लिंक पर ऑनलाइन आवेदन करें
http://admser.chd.nic.in/dpc/Default.aspx

आंध्र प्रदेश से आने के लिए, नीचे दिए गए लिंक पर ऑनलाइन आवेदन करें
https://gramawardsachivalayam.ap.gov.in/CVPASSAPP/CV/CVOrganizationRegistration

उड़ीसा से आने के लिए नीचे दिए गए नंबर पर कॉल करें
-0674-2620200 और 1929 पर कॉल करें

तेलंगाना से आने के लिए, निम्नलिखित मेल आईडी पर मेल करें
covid19hyd@gmail.com

छत्तीसगढ़ से आने के लिए नीचे दिए गए लिंक पर ऑनलाइन आवेदन करें
https://play.google.com/store/apps/details?id=com.allsoft.corona

जम्मू और कश्मीर से आने के लिए, नीचे दिए गए लिंक पर ऑनलाइन आवेदन करें
https://serviceonline.gov.in

अंडमान निकोबार और आइसलैंड से आने के लिए, नीचे दिए गए लिंक पर ऑनलाइन आवेदन करें
निकोबार जिला – https://nicobars.andaman.nic.in/about-district/whos-who/
उत्तर अंडमान – https://northmiddle.andaman.nic.in/about-district/whos-who/
दक्षिण अंडमान – https://southandaman.nic.in/whos-who/

Insert data into mysql table in php using mysqli method

Create File first.php using form

<style>
    input{
        display: block;
    }
    </style>
    <form method="post" action="second.php" enctype="multipart/form-data">
<input type="text" name="user_name">
<input type="password" name="user_password">

Male <input type="radio" name="gender" value="male" checked>
Female <input type="radio" name="gender" value="female">

<input type="checkbox" name="car" value="Maruti"> Car 
<input type="checkbox" name="house" value="Narela"> House 
<input type="checkbox" name="bike" value="Bajaj"> Bike 

<input type="file" name="image[]" multiple>

<input type="submit" value="Click" name="click">
</form>

Create file second.php to insert data into table

this example show only two fields, you can add more field in php code to insert.

<?php
$host="localhost";
$user="root";
$password="";
$database="pankaj";


$link= mysqli_connect($host, $user, $password, $database);
if(!$link)
{
    echo "Not Connected".mysqli_error($link);
    die();
}

$user_name=$_POST['user_name'];
$user_Password=$_POST['user_password'];

$cmd="insert into user  set user_name='$user_name', user_password='$user_Password'";
if(mysqli_query($link, $cmd))
{
 echo "Success";   
}
else
{
    echo "User Already Exists";//mysqli_error($link);
}




?>


Multiple File Upload Example In PHP

1. Create file first.php

<style>
    input{
        display: block;
    }
    </style>
    <form method="post" action="second.php" enctype="multipart/form-data">
<input type="text" name="user_name">
<input type="password" name="user_password">

Male <input type="radio" name="gender" value="male" checked>
Female <input type="radio" name="gender" value="female">

<input type="checkbox" name="car" value="Maruti"> Car 
<input type="checkbox" name="house" value="Narela"> House 
<input type="checkbox" name="bike" value="Bajaj"> Bike 

<input type="file" name="image[]" multiple>

<input type="submit" value="Click" name="click">
</form>

2. Create file second.php

<?php

$i=0;
foreach($_FILES['image']['name'] as $file => $name)
{
  echo $_FILES['image']["tmp_name"][$file]."<br>";
  echo $_FILES['image']["name"][$file]."<br>";
  echo $_FILES['image']["type"][$file]."<br>";
  echo $_FILES['image']["size"][$file]."<br>";
   
   $ext=pathinfo(basename($_FILES["image"]["name"][$file]), PATHINFO_EXTENSION);

$target_file="./profile".$i.".".$ext;
$i++;
   
   move_uploaded_file($_FILES["image"]["tmp_name"][$file], $target_file);
}

echo "total file ".count($_FILES['image']['name']);
?>

Below code show example for check file size, file extension, file type for uploading valid file

<?php
print_r($_POST);
echo "<br>";
print_r($_FILES);

echo "<br>File Name : ".$_FILES['image']['name']."<br>";
echo "File Type : ".$_FILES['image']['type']."<br>";
echo "File Temp Name  : ".$_FILES['image']['tmp_name']."<br>";
echo "File Size : in bytes ".$_FILES['image']['size']."<br>";
$file=$_FILES['image']['size'] / 1024;
echo "File Size : in KB ".number_format($file, 2)."<br>";
$file=$file / 1024;

echo "File Size : in MB ".number_format($file, 2)."<br>";
echo "File Error : ".$_FILES['image']['error']."<br>";


$ext=pathinfo(basename($_FILES["image"]["name"]), PATHINFO_EXTENSION);
$filename=time();
$target_file="./".$filename.".".$ext;

move_uploaded_file($_FILES["image"]["tmp_name"], $target_file);

?>