<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Accel Frontline Ltd interview questions and answers</title>
	<atom:link href="https://www.wikitechy.com/interview-questions/tag/accel-frontline-ltd-interview-questions-and-answers/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.wikitechy.com/interview-questions/tag/accel-frontline-ltd-interview-questions-and-answers/</link>
	<description>Interview Questions</description>
	<lastBuildDate>Fri, 17 Sep 2021 10:25:56 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://www.wikitechy.com/interview-questions/wp-content/uploads/2025/10/cropped-wikitechy-icon-32x32.png</url>
	<title>Accel Frontline Ltd interview questions and answers</title>
	<link>https://www.wikitechy.com/interview-questions/tag/accel-frontline-ltd-interview-questions-and-answers/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Why we don’t use 2-20mA, 1-20mA, 3-20mA or 10-50mA signal instead of 4-20mA ?</title>
		<link>https://www.wikitechy.com/interview-questions/instrumentation/why-we-dont-use-2-20ma-1-20ma-3-20ma-or-10-50ma-signal-instead-of-4-20ma/</link>
					<comments>https://www.wikitechy.com/interview-questions/instrumentation/why-we-dont-use-2-20ma-1-20ma-3-20ma-or-10-50ma-signal-instead-of-4-20ma/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Thu, 05 Aug 2021 07:07:00 +0000</pubDate>
				<category><![CDATA[Instrumentation]]></category>
		<category><![CDATA[1-20mA]]></category>
		<category><![CDATA[120db]]></category>
		<category><![CDATA[2-20mA]]></category>
		<category><![CDATA[3-20mA or 10-50mA signal instead of 4-20mA]]></category>
		<category><![CDATA[4 20 ma control circuit]]></category>
		<category><![CDATA[4 20 ma generator]]></category>
		<category><![CDATA[4 20 ma test circuit]]></category>
		<category><![CDATA[4 20 milliamp]]></category>
		<category><![CDATA[4 20 milliamp circuit]]></category>
		<category><![CDATA[4 20ma analog to digital converter]]></category>
		<category><![CDATA[4 20ma calculation formula]]></category>
		<category><![CDATA[4 20ma circuit]]></category>
		<category><![CDATA[4 20ma current source]]></category>
		<category><![CDATA[4 20ma current source manufacturers]]></category>
		<category><![CDATA[4 20ma hart protocol]]></category>
		<category><![CDATA[4-20ma circuit schematic]]></category>
		<category><![CDATA[4-20ma tester]]></category>
		<category><![CDATA[4-20ma vs 0-10]]></category>
		<category><![CDATA[4ma to 20ma current loop receiver]]></category>
		<category><![CDATA[4to20ma circuit]]></category>
		<category><![CDATA[Accel Frontline Ltd interview questions and answers]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Amity University interview questions and answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Asian Paints Ltd. interview questions and answers]]></category>
		<category><![CDATA[AVEVA Software interview questions and answers]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[Cipla interview questions and answers]]></category>
		<category><![CDATA[Cummins interview questions and answers]]></category>
		<category><![CDATA[current time in massachusetts]]></category>
		<category><![CDATA[difference between 0- 20ma and 4-20ma]]></category>
		<category><![CDATA[eInfochips interview questions and answers]]></category>
		<category><![CDATA[electrical instrumentation]]></category>
		<category><![CDATA[electronics and instrumentation]]></category>
		<category><![CDATA[electronics and instrumentation engineering]]></category>
		<category><![CDATA[Elico HealthCare Services Ltd interview questions and answers]]></category>
		<category><![CDATA[Feedback Infra Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Godrej and Boyce Mfg.Co.Ltd interview questions and answers]]></category>
		<category><![CDATA[history of 4-20ma]]></category>
		<category><![CDATA[how does a 4 to 20ma loop work]]></category>
		<category><![CDATA[how to build a 4-20ma signal generator]]></category>
		<category><![CDATA[how to measure 4 to 20ma with multimeter]]></category>
		<category><![CDATA[how to measure milliamps with a fluke digital multimeter]]></category>
		<category><![CDATA[how to measure milliamps with multimeter]]></category>
		<category><![CDATA[how to test a 4-20ma pressure transducer]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[industrial instrumentation]]></category>
		<category><![CDATA[instrumentation]]></category>
		<category><![CDATA[instrumentation and control]]></category>
		<category><![CDATA[instrumentation and control engineering]]></category>
		<category><![CDATA[instrumentation engineer]]></category>
		<category><![CDATA[instrumentation engineering]]></category>
		<category><![CDATA[instrumentation engineering jobs]]></category>
		<category><![CDATA[instrumentation jobs]]></category>
		<category><![CDATA[instrumentation technician]]></category>
		<category><![CDATA[instrumentation technology]]></category>
		<category><![CDATA[Jubilant Life Sciences interview questions and answers]]></category>
		<category><![CDATA[leds c4]]></category>
		<category><![CDATA[Matrimony.com Limited interview questions and answers]]></category>
		<category><![CDATA[measurement and instrumentation]]></category>
		<category><![CDATA[Murugappa Group interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[plc analog input 4-20ma]]></category>
		<category><![CDATA[RANDSTAD interview questions and answers]]></category>
		<category><![CDATA[Saipem interview questions and answers]]></category>
		<category><![CDATA[Schneider Electric interview questions and answers]]></category>
		<category><![CDATA[Sodexo Food Solutions India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Symphony Teleca interview questions and answers]]></category>
		<category><![CDATA[Tata Projects Ltd interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[The Linde Group interview questions and answers]]></category>
		<category><![CDATA[transmit meaning]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[vbenefits of 4-20ma over 0-10v signals]]></category>
		<category><![CDATA[what type of signal is 0-20ma]]></category>
		<category><![CDATA[why 3-15 psi standard is used]]></category>
		<category><![CDATA[why 4-20ma standard is used]]></category>
		<category><![CDATA[why we use 4 20ma in instrumentation]]></category>
		<category><![CDATA[why we use the 4-20ma in transmitting signal]]></category>
		<category><![CDATA[Xoriant Solutions Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Yash Technologies interview questions and answers]]></category>
		<category><![CDATA[yashmun engineers interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=1485</guid>

					<description><![CDATA[Answer : Generally, in a transistor some amount of voltage is required for turning it on...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<p class="color-pink">Why we don’t use 2-20mA, 1-20mA, 3-20mA or 10-50mA signal instead of 4-20mA ?</p>
</div>
</div>
<div class="Content">
<div class="hddn">
<ul>
<li>Generally, in a transistor some amount of voltage is required for turning it on.</li>
<li>This voltage is the cut in voltage. Up to this voltage it exists a nonlinearity in its characteristics. Beyond this cut in voltage the characteristics of transistor is linear.</li>
<li>This nonlinear region lays between 0-4mA, beyond 4ma it linear. That&#8217;s why 4-20 mA range is used.</li>
</ul>
</div>
</div>
<div class="subheading">
<p><strong>Due to some following reasons 4-20mA signal is used,</strong></p>
</div>
<div class="Content">
<div class="hddn">
<ul>
<li>4-20mA has an inherent &#8216;live zero&#8217;. Zero engineering unit is 4mA not 0.0mA indicates an open circuit, fault in the line which is not valid.</li>
<li>4-20 mA has little, if any, signal loss in its circuit; current regulation compensates for minor resistances in terminal boxes, whereas voltage drop across resistances for voltage signals creates an error.</li>
<li>S 4-20 mA signal is less susceptible to noise pickup than a voltage circuit. So it is free from interference from other signals.</li>
<li>4-20 mA works at a relatively long distance(&gt;1 Km ) boosting the power supply voltage will drive the signal further.</li>
</ul>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/instrumentation/why-we-dont-use-2-20ma-1-20ma-3-20ma-or-10-50ma-signal-instead-of-4-20ma/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to calculate the flow rate in Vortex flow meter ? What is K factor ? Can you give me an example calculation to understand the same as better ?</title>
		<link>https://www.wikitechy.com/interview-questions/instrumentation/how-to-calculate-the-flow-rate-in-vortex-flow-meter-what-is-k-factor-can-you-give-me-an-example-calculation-to-understand-the-same-as-better/</link>
					<comments>https://www.wikitechy.com/interview-questions/instrumentation/how-to-calculate-the-flow-rate-in-vortex-flow-meter-what-is-k-factor-can-you-give-me-an-example-calculation-to-understand-the-same-as-better/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Thu, 05 Aug 2021 07:05:18 +0000</pubDate>
				<category><![CDATA[Instrumentation]]></category>
		<category><![CDATA[Accel Frontline Ltd interview questions and answers]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Amity University interview questions and answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Asian Paints Ltd. interview questions and answers]]></category>
		<category><![CDATA[AVEVA Software interview questions and answers]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[Cipla interview questions and answers]]></category>
		<category><![CDATA[Cummins interview questions and answers]]></category>
		<category><![CDATA[difference between k factor and meter factor]]></category>
		<category><![CDATA[differential pressure flow meter working principle]]></category>
		<category><![CDATA[eInfochips interview questions and answers]]></category>
		<category><![CDATA[Elico HealthCare Services Ltd interview questions and answers]]></category>
		<category><![CDATA[Feedback Infra Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[flow measurement]]></category>
		<category><![CDATA[flow meter]]></category>
		<category><![CDATA[flow meter k factor calculation flow meter k factor calculation]]></category>
		<category><![CDATA[flow meter principle]]></category>
		<category><![CDATA[Godrej and Boyce Mfg.Co.Ltd interview questions and answers]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Jubilant Life Sciences interview questions and answers]]></category>
		<category><![CDATA[k factor calculator]]></category>
		<category><![CDATA[k factor flow formula]]></category>
		<category><![CDATA[k factor table]]></category>
		<category><![CDATA[Matrimony.com Limited interview questions and answers]]></category>
		<category><![CDATA[Murugappa Group interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[RANDSTAD interview questions and answers]]></category>
		<category><![CDATA[Saipem interview questions and answers]]></category>
		<category><![CDATA[Schneider Electric interview questions and answers]]></category>
		<category><![CDATA[Sodexo Food Solutions India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Symphony Teleca interview questions and answers]]></category>
		<category><![CDATA[Tata Projects Ltd interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[The Linde Group interview questions and answers]]></category>
		<category><![CDATA[turbine flow meter k factor]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[vortex flow meter k factor calculation]]></category>
		<category><![CDATA[vortex flow meter principle]]></category>
		<category><![CDATA[vortex flow meter working principle]]></category>
		<category><![CDATA[vortex flow transmitter]]></category>
		<category><![CDATA[vortex mass flow meter]]></category>
		<category><![CDATA[vortex meter]]></category>
		<category><![CDATA[what is vortex flow meter]]></category>
		<category><![CDATA[Xoriant Solutions Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Yash Technologies interview questions and answers]]></category>
		<category><![CDATA[Zadco Interview Questions and Answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=1484</guid>

					<description><![CDATA[Answer : Vortex flow meters are flow sensors that detect the frequency of vortices...]]></description>
										<content:encoded><![CDATA[<div class="row">
<div class="col-sm-12">
<div class="TextHeading">
<div class="hddn">
<p class="color-pink">How to calculate the flow rate in Vortex flow meter ? What is K factor ? Can you give me an example calculation to understand the same as better ?</p>
</div>
</div>
<ul>
<li>Vortex flow meters are flow sensors that detect the frequency of vortices shed by a bluff body placed in a flow stream.</li>
<li>The frequency of the vortices is proportional to the flow velocity.</li>
</ul>
<p><img decoding="async" class="alignnone size-medium" src="https://cdn.wikitechy.com/interview-questions/Instrumentation/vortex-flow-meter.png" alt="Vortex flow Meter" width="317" height="85" /></p>
</div>
</div>
<p>Where:</p>
<div class="Content">
<div class="hddn">
<ul>
<li>f<sub>v</sub> is the frequency of vortex shedding.</li>
<li>D is the diameter of the pipe.</li>
<li>w is the width of bluff body over diameter of pipe.</li>
<li>K is the a constant for all fluids given design of meter. A k factor is introduced to compensate for the non-uniform profile of pipe flow.</li>
<li>S is the Strouhal number, determined experimentally.</li>
</ul>
</div>
</div>
<ul>
<li>Flow rate information can be output as an analog current signal.</li>
</ul>
<div class="TextHeading">
<div class="hddn">
<h2 id="what-is-k-factor" class="color-green">What is K factor ?</h2>
</div>
</div>
<div class="Content">
<div class="hddn">
<ul>
<li>K-factor is a dividing factor.</li>
<li>The term is usually encountered when dealing with pulse signals although analog K-factors are sometimes used.</li>
</ul>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/instrumentation/how-to-calculate-the-flow-rate-in-vortex-flow-meter-what-is-k-factor-can-you-give-me-an-example-calculation-to-understand-the-same-as-better/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Difference Between Get and Post Method in PHP ?</title>
		<link>https://www.wikitechy.com/interview-questions/php/difference-between-get-and-post-method-in-php/</link>
					<comments>https://www.wikitechy.com/interview-questions/php/difference-between-get-and-post-method-in-php/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Wed, 21 Jul 2021 13:30:53 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[3i Infotech Limited interview questions and answers]]></category>
		<category><![CDATA[Accel Frontline Ltd interview questions and answers]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Brillio Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Cactus Communications interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[CSG International interview questions and answers]]></category>
		<category><![CDATA[Cybage interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[dget and post]]></category>
		<category><![CDATA[diff between get and post]]></category>
		<category><![CDATA[difference between get and post]]></category>
		<category><![CDATA[difference between get and post in html]]></category>
		<category><![CDATA[difference between get and post in java]]></category>
		<category><![CDATA[difference between get and post in php]]></category>
		<category><![CDATA[difference between get and post method]]></category>
		<category><![CDATA[difference between get and post method in htm]]></category>
		<category><![CDATA[difference between get and post method in java]]></category>
		<category><![CDATA[difference between get and post method in php]]></category>
		<category><![CDATA[difference between get and post method in php with example]]></category>
		<category><![CDATA[difference between get and post request]]></category>
		<category><![CDATA[difference between http get and post]]></category>
		<category><![CDATA[difference get and post]]></category>
		<category><![CDATA[example of get and post method]]></category>
		<category><![CDATA[example of get and post method in php]]></category>
		<category><![CDATA[geekyants interview questions and answers]]></category>
		<category><![CDATA[get and post difference]]></category>
		<category><![CDATA[get and post examples]]></category>
		<category><![CDATA[get and post in php]]></category>
		<category><![CDATA[get and post metho]]></category>
		<category><![CDATA[get and post method in c#]]></category>
		<category><![CDATA[get and post method in html]]></category>
		<category><![CDATA[get and post method in html examples]]></category>
		<category><![CDATA[get and post method in java]]></category>
		<category><![CDATA[get and post method in php]]></category>
		<category><![CDATA[get and post request]]></category>
		<category><![CDATA[Harbinger Systems interview questions and answers]]></category>
		<category><![CDATA[html get and post]]></category>
		<category><![CDATA[html get and post example]]></category>
		<category><![CDATA[http get and post]]></category>
		<category><![CDATA[http get and post method]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[Info Edge interview questions and answers]]></category>
		<category><![CDATA[Infogain interview questions and answers]]></category>
		<category><![CDATA[javascript get and post]]></category>
		<category><![CDATA[Maintec Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[Net Solutions interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[Prokarma Softech Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Raqmiyat Information Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Sopra Steria interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[ValueLabs interview questions and answers]]></category>
		<category><![CDATA[Virtusa Consulting Services Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[what is get and post]]></category>
		<category><![CDATA[what is get and post method]]></category>
		<category><![CDATA[what is the difference between get and post]]></category>
		<category><![CDATA[what is the difference between get and post method]]></category>
		<category><![CDATA[when to use get and post]]></category>
		<category><![CDATA[Wipro interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=1148</guid>

					<description><![CDATA[Answer : GET requests can be cached...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="difference-between-get-and-post-method-in-php" class="color-pink">Difference Between Get and Post Method in PHP ?</h2>
</div>
</div>
<div class="table-responsive">
<div class="hddn">
<table class="table-bordered table-striped table table-responsive">
<tbody>
<tr>
<th><a href="https://www.wikitechy.com/php/php-get" target="_blank" rel="noopener">$_GET Method</a></th>
<th><a href="https://www.wikitechy.com/php/php-post" target="_blank" rel="noopener">$_POST Method</a></th>
</tr>
<tr>
<td class="text-leftalign">GET requests can be cached.</td>
<td class="text-leftalign">POST requests are never cached.</td>
</tr>
<tr>
<td class="text-leftalign">GET requests remain in the browser history.</td>
<td class="text-leftalign">POST requests do not remain in the browser history.</td>
</tr>
<tr>
<td class="text-leftalign">Easier to hack for script kiddies.</td>
<td class="text-leftalign">More difficult to hack.</td>
</tr>
<tr>
<td class="text-leftalign">Restrictions on form data type. Only ASCII characters<br />
allowed.</td>
<td class="text-leftalign">No restrictions. Binary data is also allowed.</td>
</tr>
<tr>
<td class="text-leftalign">GET requests can be bookmarked.</td>
<td class="text-leftalign">POST requests cannot be bookmarked.</td>
</tr>
<tr>
<td class="text-leftalign">GET is less secure compared to POST because data sent<br />
is part of the URL. So it&#8217;s saved in browser history<br />
and server logs in plaintext.</td>
<td class="text-leftalign">POST is a little safer than GET because the parameters are not stored in browser history or in web server logs.</td>
</tr>
<tr>
<td class="text-leftalign">GET requests have length limitations.</td>
<td class="text-leftalign">POST requests have no limitations on data length .</td>
</tr>
<tr>
<td class="text-leftalign">GET method should not be used when<br />
sending passwords or other sensitive data.<br />
GET requests is only used to request data (not modify).</td>
<td class="text-leftalign">POST method used when sending passwords or other sensitive data.</td>
</tr>
<tr>
<td class="text-leftalign">
<div class="TextHeading">
<div class="hddn">
<h2 id="sample-code" class="color-purple">Sample Code</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-markup code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-markup code-embed-code">&lt;!DOCTYPE html&gt; <br/>&lt;html lang=&quot;en&quot;&gt; <br/>&lt;head&gt;<br/> &lt;title&gt;Example of PHP GET method&lt;/title&gt; <br/>&lt;/head&gt; <br/>&lt;body&gt; <br/>&lt;?php<br/> if(isset($_GET[&quot;name&quot;])){<br/> echo &quot;&lt;p&gt;Hi, &quot; . $_GET[&quot;name&quot;] . &quot;&lt;/p&gt;&quot;; <br/>} ?&gt;<br/> &lt;form method=&quot;get&quot; action=&quot;&lt;?<br/>php echo $_SERVER[&quot;PHP_SELF&quot;];?&gt;&quot;&gt;<br/> &lt;label for=&quot;inputName&quot;&gt;Name:&lt;/label&gt; <br/>&lt;input type=&quot;text&quot; name=&quot;name&quot; id=&quot;inputName&quot;&gt;<br/> &lt;input type=&quot;submit&quot; value=&quot;Submit&quot;&gt; <br/>&lt;/form&gt; <br/>&lt;/body&gt;</code></pre> </div>
</div>
</div>
<div class="CodeContent">
<div class="hddn"></div>
</div>
</td>
<td class="text-leftalign">
<div class="TextHeading">
<div class="hddn">
<h2 id="sample-code-2" class="color-purple">Sample Code</h2>
</div>
</div>
<div class="CodeContent">
<div class="hddn">
<figure class="highlight"><div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-markup code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-markup code-embed-code">&lt;!DOCTYPE html&gt; <br/>&lt;html lang=&quot;en&quot;&gt;<br/> &lt;head&gt; <br/>&lt;title&gt;Example of PHP POST method&lt;/title&gt;<br/> &lt;/head&gt; &lt;body&gt; <br/>&lt;?php <br/>if(isset($_POST[&quot;name&quot;])){ <br/>echo &quot;&lt;p&gt;Hi, &quot; . $_POST[&quot;name&quot;] . &quot;&lt;/p&gt;&quot;; } <br/>?&gt; <br/>&lt;form method=&quot;post&quot; action=&quot;<br/>&lt;?php echo $_SERVER[&quot;PHP_SELF&quot;];?<br/>&gt;&quot;&gt; <br/>&lt;label for=&quot;inputName&quot;&gt;Name:&lt;/label&gt; <br/>&lt;input type=&quot;text&quot; name=&quot;name&quot; id=&quot;inputName&quot;&gt;<br/> &lt;input type=&quot;submit&quot; value=&quot;Submit&quot;&gt;<br/> &lt;/form&gt;<br/> &lt;/body&gt;</code></pre> </div></figure>
</div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/php/difference-between-get-and-post-method-in-php/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to run PHP in command line ?</title>
		<link>https://www.wikitechy.com/interview-questions/php/how-to-run-php-in-command-line/</link>
					<comments>https://www.wikitechy.com/interview-questions/php/how-to-run-php-in-command-line/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Wed, 21 Jul 2021 13:27:56 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[3i Infotech Limited interview questions and answers]]></category>
		<category><![CDATA[Accel Frontline Ltd interview questions and answers]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Brillio Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Cactus Communications interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[check php command line]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[CSG International interview questions and answers]]></category>
		<category><![CDATA[Cybage interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[execute php file from command line]]></category>
		<category><![CDATA[execute php file from command line linux]]></category>
		<category><![CDATA[Harbinger Systems interview questions and answers]]></category>
		<category><![CDATA[how to run php in kali linux]]></category>
		<category><![CDATA[how to run php on windows]]></category>
		<category><![CDATA[how to run php program in linux]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[Info Edge interview questions and answers]]></category>
		<category><![CDATA[Infogain interview questions and answers]]></category>
		<category><![CDATA[Maintec Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[Net Solutions interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[php 7 command linerun php in terminal macexecute php script from command line linux]]></category>
		<category><![CDATA[php cli]]></category>
		<category><![CDATA[php cli command]]></category>
		<category><![CDATA[php cli example]]></category>
		<category><![CDATA[php cli execute code]]></category>
		<category><![CDATA[php cli install]]></category>
		<category><![CDATA[php cli windows]]></category>
		<category><![CDATA[php cmd]]></category>
		<category><![CDATA[php command]]></category>
		<category><![CDATA[php command line]]></category>
		<category><![CDATA[php command line args]]></category>
		<category><![CDATA[php command line arguments]]></category>
		<category><![CDATA[php command line input]]></category>
		<category><![CDATA[php command line interface]]></category>
		<category><![CDATA[php command line options]]></category>
		<category><![CDATA[php command line script]]></category>
		<category><![CDATA[php command line windows]]></category>
		<category><![CDATA[php command prompt]]></category>
		<category><![CDATA[php console]]></category>
		<category><![CDATA[php console application]]></category>
		<category><![CDATA[php console output]]></category>
		<category><![CDATA[php execute command line]]></category>
		<category><![CDATA[php execute shell script]]></category>
		<category><![CDATA[php linux commandphp.exe location in windows xampp]]></category>
		<category><![CDATA[php terminal]]></category>
		<category><![CDATA[Prokarma Softech Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Raqmiyat Information Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[run php as a service]]></category>
		<category><![CDATA[run php from command line]]></category>
		<category><![CDATA[run php from command line windows xampp]]></category>
		<category><![CDATA[run php from terminal]]></category>
		<category><![CDATA[Sopra Steria interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[ValueLabs interview questions and answers]]></category>
		<category><![CDATA[Virtusa Consulting Services Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Wipro interview questions and answers]]></category>
		<category><![CDATA[xtreeme interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=1147</guid>

					<description><![CDATA[Answer : PHP is a server side scripting language, a lot of development using PHP...]]></description>
										<content:encoded><![CDATA[<div class="row">
<div class="col-sm-12">
<div class="TextHeading">
<div class="hddn">
<h2 id="how-to-run-php-in-command-line" class="color-pink" style="text-align: justify;">How to run PHP in command line ?</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>PHP is a server side scripting language, a lot of development using PHP is done on a live web environment. However, PHP does allow you to install it and run scripts on your local machine with no web access needed.</li>
<li>Running PHP from Windows command line can be especially useful when trying to rapidly develop custom scripts, or to read and modify local files.</li>
</ul>
</div>
</div>
<div class="subheading" style="text-align: justify;">
<h2 id="step-1">Step 1</h2>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>First you will need download the latest version of PHP and extract it to your C:\ directory.</li>
<li>https://windows.php.net/download#php-5.6</li>
</ul>
</div>
</div>
<div class="ImageContent" style="text-align: justify;">
<div class="hddn"><a href="https://cdn.wikitechy.com/interview-questions/php/how-to-run-php-in-command-line-1.png"><img fetchpriority="high" decoding="async" class="aligncenter size-medium" src="https://cdn.wikitechy.com/interview-questions/php/how-to-run-php-in-command-line-1.png" alt="how to run php in command line" width="677" height="112" /></a></div>
</div>
<div class="subheading" style="text-align: justify;">
<h2 id="step-2">Step 2</h2>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Navigate to Control Panel &gt; System and Security &gt; System &gt; Advanced system settings. In the System variables panel click, find and edit the Path variable and append the path to your extracted PHP folder.</li>
</ul>
</div>
</div>
<div class="CodeContent" style="text-align: justify;">
<div class="hddn">
<figure class="highlight">
<pre><code id="code1" class="hljs css" data-lang=""><span class="nt"><span class="hljs-tag">C</span>:\<span class="hljs-attr_selector">[php folder]</span></span></code></pre>
</figure>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<p>Note: Use semicolon to delimit between System Variables.</p>
</div>
</div>
<div class="ImageContent" style="text-align: justify;">
<div class="hddn"><img decoding="async" class="alignnone size-medium aligncenter" src="https://cdn.wikitechy.com/interview-questions/php/how-to-run-php-in-command-line-2.png" alt="how to run php in command line" width="453" height="289" /></div>
</div>
<div class="subheading" style="text-align: justify;">
<h2 id="step-3">Step 3</h2>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Open the CMD and enter PATH. Verify your PHP System Variable has been added. (Optional)</li>
</ul>
<p><img loading="lazy" decoding="async" class="alignnone size-medium aligncenter" src="https://cdn.wikitechy.com/interview-questions/php/how-to-run-php-in-command-line-3.png" alt="how to run php in command line" width="817" height="126" /></p>
</div>
</div>
<div class="subheading" style="text-align: justify;">
<h2 id="step-4">Step 4</h2>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Type “cd C:\[folder name]” in CMD to enter your PHP directory. Replace [folder name] with the name of your extracted PHP download.</li>
</ul>
</div>
</div>
<div class="subheading" style="text-align: justify;">
<h2 id="step-5">Step 5</h2>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Type “php -v” to confirm version is correct.</li>
</ul>
</div>
</div>
<div class="ImageContent" style="text-align: justify;">
<div class="hddn"><img loading="lazy" decoding="async" class="alignnone size-medium aligncenter" src="https://cdn.wikitechy.com/interview-questions/php/how-to-run-php-in-command-line-4.png" alt="how to run php in command line" width="516" height="134" /></div>
</div>
<div class="subheading" style="text-align: justify;">
<h2 id="step-6">Step 6</h2>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Enter “php c:\[directory]\[folder]\[php function].php”. Replace [php function] with your file.</li>
</ul>
</div>
</div>
<div class="ImageContent">
<div class="hddn" style="text-align: justify;"><img loading="lazy" decoding="async" class="aligncenter size-medium" src="https://cdn.wikitechy.com/interview-questions/php/how-to-run-php-in-command-line-5.png" width="565" height="67" /></div>
</div>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/php/how-to-run-php-in-command-line/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to download a php script directly in your script page ?</title>
		<link>https://www.wikitechy.com/interview-questions/php/how-to-download-a-php-script-directly-in-your-script-page/</link>
					<comments>https://www.wikitechy.com/interview-questions/php/how-to-download-a-php-script-directly-in-your-script-page/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Wed, 21 Jul 2021 13:20:09 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[3i Infotech Limited interview questions and answers]]></category>
		<category><![CDATA[Accel Frontline Ltd interview questions and answers]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[add php script to html]]></category>
		<category><![CDATA[apache php download instead execute]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Brillio Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Cactus Communications interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[compile php script]]></category>
		<category><![CDATA[CSG International interview questions and answers]]></category>
		<category><![CDATA[Cybage interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[download a folder using phpdownload php file from server directory]]></category>
		<category><![CDATA[download file from folder in php]]></category>
		<category><![CDATA[download file php script]]></category>
		<category><![CDATA[download php files]]></category>
		<category><![CDATA[execute php script]]></category>
		<category><![CDATA[Harbinger Systems interview questions and answers]]></category>
		<category><![CDATA[how to call php script from html]]></category>
		<category><![CDATA[how to create php script]]></category>
		<category><![CDATA[how to execute php script]]></category>
		<category><![CDATA[how to make a php script]]></category>
		<category><![CDATA[how to use php script in html]]></category>
		<category><![CDATA[how to use script in php]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[Info Edge interview questions and answers]]></category>
		<category><![CDATA[Infogain interview questions and answers]]></category>
		<category><![CDATA[Maintec Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[mysql trigger php script]]></category>
		<category><![CDATA[Net Solutions interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[php code for downloading a file from database]]></category>
		<category><![CDATA[php code for downloading a file from folder]]></category>
		<category><![CDATA[php code for downloading a file from server]]></category>
		<category><![CDATA[php download all files in directory]]></category>
		<category><![CDATA[php download file script]]></category>
		<category><![CDATA[php download folder from servercode for downloading a file in phphow to make a file downloadable in phpphp script free download]]></category>
		<category><![CDATA[php download php file]]></category>
		<category><![CDATA[php file download example]]></category>
		<category><![CDATA[php file download script]]></category>
		<category><![CDATA[php file download script example]]></category>
		<category><![CDATA[php file downloader]]></category>
		<category><![CDATA[php file hosting script]]></category>
		<category><![CDATA[php include script]]></category>
		<category><![CDATA[php list all files in directory and subdirectories]]></category>
		<category><![CDATA[php list folders in directory]]></category>
		<category><![CDATA[php mysql download]]></category>
		<category><![CDATA[php script]]></category>
		<category><![CDATA[php script example]]></category>
		<category><![CDATA[php script in html page]]></category>
		<category><![CDATA[php script name]]></category>
		<category><![CDATA[php script online]]></category>
		<category><![CDATA[php script path]]></category>
		<category><![CDATA[php server script]]></category>
		<category><![CDATA[php web script]]></category>
		<category><![CDATA[Prokarma Softech Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Raqmiyat Information Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[run php script]]></category>
		<category><![CDATA[run php script from command line]]></category>
		<category><![CDATA[sample php script]]></category>
		<category><![CDATA[Sopra Steria interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[test php script]]></category>
		<category><![CDATA[test php script online]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[ValueLabs interview questions and answers]]></category>
		<category><![CDATA[Virtusa Consulting Services Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Wipro interview questions and answers]]></category>
		<category><![CDATA[write php script]]></category>
		<category><![CDATA[zmanda interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=1146</guid>

					<description><![CDATA[Answer : Here we create a PHP script, name it "download.php"...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="how-to-download-a-php-script-directly-in-your-script-page" class="color-pink">How to download a php script directly in your script page ?</h2>
</div>
</div>
<p>Here we create a PHP script, name it “download.php” and copy/paste the following code:</p>
<div class="text-center row">
<div class="col-sm-12">
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-php code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-php code-embed-code">&lt;?php<br/> <br/>ignore_user_abort(true);<br/>set_time_limit(0); // disable the time limit for this script<br/> <br/>$path = &quot;/absolute_path_to_your_files/&quot;; // change the path to fit your websites document structure<br/> <br/>$dl_file = preg_replace(&quot;([^\w\s\d\-_~,;:\[\]\(\).]|[\.]{2,})&quot;, &#039;&#039;, $_GET[&#039;download_file&#039;]); // simple file name validation<br/>$dl_file = filter_var($dl_file, FILTER_SANITIZE_URL); // Remove (more) invalid characters<br/>$fullPath = $path.$dl_file;<br/> <br/>if ($fd = fopen ($fullPath, &quot;r&quot;)) {<br/>    $fsize = filesize($fullPath);<br/>    $path_parts = pathinfo($fullPath);<br/>    $ext = strtolower($path_parts[&quot;extension&quot;]);<br/>    switch ($ext) {<br/>        case &quot;pdf&quot;:<br/>        header(&quot;Content-type: application/pdf&quot;);<br/>        header(&quot;Content-Disposition: attachment; filename=\&quot;&quot;.$path_parts[&quot;basename&quot;].&quot;\&quot;&quot;); // use &#039;attachment&#039; to force a file download<br/>        break;<br/>        // add more headers for other content types here<br/>        default;<br/>        header(&quot;Content-type: application/octet-stream&quot;);<br/>        header(&quot;Content-Disposition: filename=\&quot;&quot;.$path_parts[&quot;basename&quot;].&quot;\&quot;&quot;);<br/>        break;<br/>    }<br/>    header(&quot;Content-length: $fsize&quot;);<br/>    header(&quot;Cache-control: private&quot;); //use this to open files directly<br/>    while(!feof($fd)) {<br/>        $buffer = fread($fd, 2048);<br/>        echo $buffer;<br/>    }<br/>}<br/>fclose ($fd);<br/>exit;</code></pre> </div>
</div>
</div>
<p>Create on your webpage links for each file which attacks in a password protected directory or in a directory above the website root directory.</p>
<p>In our example use the following download URL:</p>
<div class="CodeContent">
<div class="hddn">
<figure class="highlight"><div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-php code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-php code-embed-code">&lt;a href=&quot;https://mydomain.com/download.php?download_file=some_file.pdf&quot;&gt;PHP download file&lt;/a&gt;</code></pre> </div></figure>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/php/how-to-download-a-php-script-directly-in-your-script-page/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What is Magic Code ?</title>
		<link>https://www.wikitechy.com/interview-questions/php/what-is-magic-code/</link>
					<comments>https://www.wikitechy.com/interview-questions/php/what-is-magic-code/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Wed, 21 Jul 2021 13:17:05 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[3i Infotech Limited interview questions and answers]]></category>
		<category><![CDATA[Accel Frontline Ltd interview questions and answers]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Brillio Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Cactus Communications interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[CSG International interview questions and answers]]></category>
		<category><![CDATA[Cybage interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[get_magic_quotes_gpc]]></category>
		<category><![CDATA[get_magic_quotes_gpc php 7]]></category>
		<category><![CDATA[Harbinger Systems interview questions and answers]]></category>
		<category><![CDATA[how to add double quotes in string in php]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[Info Edge interview questions and answers]]></category>
		<category><![CDATA[Infogain interview questions and answers]]></category>
		<category><![CDATA[magic code]]></category>
		<category><![CDATA[magic code in php]]></category>
		<category><![CDATA[magic quotes gpc off]]></category>
		<category><![CDATA[magic quotes gpc off cpanel]]></category>
		<category><![CDATA[magic quotes in php]]></category>
		<category><![CDATA[magic quotes php]]></category>
		<category><![CDATA[magic quotes php 7]]></category>
		<category><![CDATA[magic quotes php example]]></category>
		<category><![CDATA[magic_quotes_gpc in php]]></category>
		<category><![CDATA[magic_quotes_gpc php]]></category>
		<category><![CDATA[magic_quotes_gpc php 7]]></category>
		<category><![CDATA[Maintec Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[mysql_real_escape_string in php]]></category>
		<category><![CDATA[Net Solutions interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[php 5.6 magic quotes]]></category>
		<category><![CDATA[php 7 enable magic quotes]]></category>
		<category><![CDATA[php addslashes]]></category>
		<category><![CDATA[php escape forward slash]]></category>
		<category><![CDATA[php escape single quote]]></category>
		<category><![CDATA[php escape special characters]]></category>
		<category><![CDATA[php magic code]]></category>
		<category><![CDATA[php magic quotes]]></category>
		<category><![CDATA[php magic quotes example]]></category>
		<category><![CDATA[php magic quotes replacement]]></category>
		<category><![CDATA[php mysql escape single quote]]></category>
		<category><![CDATA[php_flag magic_quotes_gpc off 500 error]]></category>
		<category><![CDATA[Prokarma Softech Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Raqmiyat Information Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Sopra Steria interview questions and answers]]></category>
		<category><![CDATA[stripslashes in php]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[ValueLabs interview questions and answers]]></category>
		<category><![CDATA[Virtusa Consulting Services Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Wipro interview questions and answers]]></category>
		<category><![CDATA[zynga interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=1145</guid>

					<description><![CDATA[Answer : Magic code is used to describe...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="what-is-magic-code" class="color-pink" style="text-align: justify;">What is Magic Code ?</h2>
</div>
</div>
<div class="Content">
<div class="hddn">
<ul>
<li style="text-align: justify;">Magic code is used to describe the code which handles the critical task without showing the complexity to present a simple interface.</li>
<li style="text-align: justify;">Some special characters is called magic code, as single quote( &#8216; ), double quote (“), amperson (&amp;) etc. It’s useful for beginner programmer.</li>
</ul>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/php/what-is-magic-code/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Explain about error handling in php ?</title>
		<link>https://www.wikitechy.com/interview-questions/php/explain-about-error-handling-in-php/</link>
					<comments>https://www.wikitechy.com/interview-questions/php/explain-about-error-handling-in-php/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Wed, 21 Jul 2021 13:14:32 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[3i Infotech Limited interview questions and answers]]></category>
		<category><![CDATA[Accel Frontline Ltd interview questions and answers]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[basic php errors or problems]]></category>
		<category><![CDATA[Brillio Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Cactus Communications interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[CSG International interview questions and answers]]></category>
		<category><![CDATA[Cybage interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[disable warning in php ini]]></category>
		<category><![CDATA[error handling in php]]></category>
		<category><![CDATA[error reporting php inierror_reporting(0) not working]]></category>
		<category><![CDATA[Harbinger Systems interview questions and answers]]></category>
		<category><![CDATA[how to display an error message on the form using php]]></category>
		<category><![CDATA[how to display error message in html using php]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[Info Edge interview questions and answers]]></category>
		<category><![CDATA[Infogain interview questions and answers]]></category>
		<category><![CDATA[Maintec Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[Net Solutions interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[php 7 not showing errorsphp display_errors]]></category>
		<category><![CDATA[php display_errors]]></category>
		<category><![CDATA[PHP Error and Exception Handling]]></category>
		<category><![CDATA[php error handling]]></category>
		<category><![CDATA[PHP Error Handling and Logging]]></category>
		<category><![CDATA[php error handling best practices]]></category>
		<category><![CDATA[php error handling try catch]]></category>
		<category><![CDATA[php error handling tutorial]]></category>
		<category><![CDATA[php error meaning]]></category>
		<category><![CDATA[php error message]]></category>
		<category><![CDATA[php error message display]]></category>
		<category><![CDATA[php error messagephp error message display]]></category>
		<category><![CDATA[php error reporting not working]]></category>
		<category><![CDATA[php error()]]></category>
		<category><![CDATA[php error()php hide errors]]></category>
		<category><![CDATA[php mysql error handling]]></category>
		<category><![CDATA[php startup error]]></category>
		<category><![CDATA[php try catch fatal error]]></category>
		<category><![CDATA[php.ini display_errors]]></category>
		<category><![CDATA[Prokarma Softech Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Raqmiyat Information Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Sopra Steria interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[types of error in php]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[ValueLabs interview questions and answers]]></category>
		<category><![CDATA[Virtusa Consulting Services Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Wipro interview questions and answers]]></category>
		<category><![CDATA[yahoo interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=1144</guid>

					<description><![CDATA[Answer : Error handling is the process of catching errors...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="explain-about-error-handling-in-php" class="color-pink" style="text-align: justify;">Explain about error handling in php ?</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Error handling is the process of catching errors elevated from program and then taking correct action. If you would handle errors then the most common error checking methods given in PHP.
<ul>
<li>die() function</li>
<li>Custom errors and error triggers</li>
<li>Error reporting</li>
</ul>
</li>
</ul>
</div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="die-function" class="color-green">die() function</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>To write the PHP program you should check all possible error condition before checking and take appropriate action when required.</li>
<li>The following example without having /tmp/test.xt file and with this file.</li>
</ul>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-php code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-php code-embed-code">&lt;?php<br/>   if(!file_exists(&quot;/tmp/test.txt&quot;)) {<br/>      die(&quot;File not found&quot;);<br/>   }else {<br/>      $file = fopen(&quot;/tmp/test.txt&quot;,&quot;r&quot;);<br/>      print &quot;Opend file sucessfully&quot;;<br/>   }<br/>   // Test of the code here.<br/>?&gt;</code></pre> </div>
</div>
</div>
<div class="CodeContent" style="text-align: justify;">
<div class="hddn"></div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="custom-errors-and-error-triggers" class="color-green">Custom errors and error triggers</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>We can write own function to handling any error. PHP provides a framework to define error handling function.</li>
<li>This function must be able to handle a minimum of two parameters (error level and error message) but can accept up to five parameters (optionally: file, line-number, and the error context)</li>
</ul>
</div>
</div>
<div class="subheading" style="text-align: justify;">
<h2 id="syntax">Syntax</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-php code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-php code-embed-code">error_function(error_level,error_message, error_file,error_line,error_context);</code></pre> </div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="error-reporting" class="color-green">Error reporting</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>These error report levels are the different types of error the user-defined error handler can be used.</li>
<li>The errors are .E_ERROR, E_WARNING, E_PARSE, E_NOTICE, E_CORE_ERROR, E_CORE_WARNING, E_USER_ERROR, E_USER_WARNING, E_USER_NOTICE, E_STRICT, E_RECOVERABLE_ERROR, E_ALL</li>
<li>These all errors handle to using set_error_handler function.</li>
</ul>
</div>
</div>
<div class="CodeContent" style="text-align: justify;">
<div class="hddn">
<figure class="highlight"><div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-php code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-php code-embed-code">&lt;?php<br/>   error_reporting( E_ERROR );<br/>   <br/>   function handleError($errno, $errstr,$error_file,$error_line) {<br/>      echo &quot;&lt;b&gt;Error:&lt;/b&gt; [$errno] $errstr - $error_file:$error_line&quot;;<br/>      echo &quot;&lt;br /&gt;&quot;;<br/>      echo &quot;Terminating PHP Script&quot;;<br/>      <br/>      die();<br/>   }<br/>   <br/>   //set error handler<br/>   set_error_handler(&quot;handleError&quot;);<br/>   <br/>   //trigger error<br/>   myFunction();<br/>?&gt;</code></pre> </div></figure>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/php/explain-about-error-handling-in-php/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to find out, how a user visited a particular page ?</title>
		<link>https://www.wikitechy.com/interview-questions/php/how-to-find-out-how-a-user-visited-a-particular-page/</link>
					<comments>https://www.wikitechy.com/interview-questions/php/how-to-find-out-how-a-user-visited-a-particular-page/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Wed, 21 Jul 2021 13:11:09 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[3i Infotech Limited interview questions and answers]]></category>
		<category><![CDATA[Accel Frontline Ltd interview questions and answers]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Brillio Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Cactus Communications interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[check website traffic google]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[CSG International interview questions and answers]]></category>
		<category><![CDATA[Cybage interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[direct traffic]]></category>
		<category><![CDATA[get google analytics]]></category>
		<category><![CDATA[get traffic stats for a specific page in google analytics]]></category>
		<category><![CDATA[google analytics - how to see visits per page]]></category>
		<category><![CDATA[google analytics behavior flow for specific page]]></category>
		<category><![CDATA[google analytics certain pages]]></category>
		<category><![CDATA[google analytics custom report for specific pages]]></category>
		<category><![CDATA[google analytics dashboard for specific pages]]></category>
		<category><![CDATA[google analytics direct traffic]]></category>
		<category><![CDATA[google analytics how to tell where traffic is coming from]]></category>
		<category><![CDATA[google analytics page views by url]]></category>
		<category><![CDATA[google analytics report for specific pages]]></category>
		<category><![CDATA[google analytics sessions for specific page]]></category>
		<category><![CDATA[google analytics specific page]]></category>
		<category><![CDATA[google analytics visits per page]]></category>
		<category><![CDATA[google traffic]]></category>
		<category><![CDATA[Harbinger Systems interview questions and answers]]></category>
		<category><![CDATA[how a user visited a particular page]]></category>
		<category><![CDATA[how to check website traffic]]></category>
		<category><![CDATA[How to find out]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[Info Edge interview questions and answers]]></category>
		<category><![CDATA[Infogain interview questions and answers]]></category>
		<category><![CDATA[Maintec Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[most trafficked websites]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[Net Solutions interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[page views by url]]></category>
		<category><![CDATA[pagetraffic]]></category>
		<category><![CDATA[Prokarma Softech Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Raqmiyat Information Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[referral traffic]]></category>
		<category><![CDATA[site traffic checker]]></category>
		<category><![CDATA[Sopra Steria interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[traffic sources]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[ValueLabs interview questions and answers]]></category>
		<category><![CDATA[Virtusa Consulting Services Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[web traffic analysis]]></category>
		<category><![CDATA[website traffic]]></category>
		<category><![CDATA[website traffic analysis]]></category>
		<category><![CDATA[website traffic checker]]></category>
		<category><![CDATA[website traffic tracker]]></category>
		<category><![CDATA[Wipro interview questions and answers]]></category>
		<category><![CDATA[yahoo interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=1143</guid>

					<description><![CDATA[Answer : We add a counter in that page....]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="how-to-find-out-how-a-user-visited-a-particular-page" class="color-pink" style="text-align: justify;">How to find out, how a user visited a particular page ?</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>We add a counter in that page.</li>
<li>When a page load that counter value will increase.</li>
<li>For storing its previous value we can use session, database etc.</li>
</ul>
</div>
</div>
<div class="CodeContent">
<div class="hddn">
<figure class="highlight" style="text-align: justify;">
<pre><strong><code id="code1" class="hljs bash" data-lang=""><span class="nt">&lt;?php
<span class="hljs-variable">$counter</span>++;
?&gt;</span></code></strong></pre>
</figure>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/php/how-to-find-out-how-a-user-visited-a-particular-page/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
