<?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>Harbinger Systems interview questions and answers - Wikitechy</title>
	<atom:link href="https://www.wikitechy.com/interview-questions/tag/harbinger-systems-interview-questions-and-answers/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.wikitechy.com/interview-questions/tag/harbinger-systems-interview-questions-and-answers/</link>
	<description>Interview Questions</description>
	<lastBuildDate>Fri, 17 Sep 2021 10:27:05 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>

<image>
	<url>https://www.wikitechy.com/interview-questions/wp-content/uploads/2025/10/cropped-wikitechy-icon-32x32.png</url>
	<title>Harbinger Systems interview questions and answers - Wikitechy</title>
	<link>https://www.wikitechy.com/interview-questions/tag/harbinger-systems-interview-questions-and-answers/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>What is the error message that you would get if you try to assign &#8220;Null&#8221; to an integer variable ?</title>
		<link>https://www.wikitechy.com/interview-questions/visual-basic/what-is-the-error-message-that-you-would-get-if-you-try-to-assign-null-to-an-integer-variable/</link>
					<comments>https://www.wikitechy.com/interview-questions/visual-basic/what-is-the-error-message-that-you-would-get-if-you-try-to-assign-null-to-an-integer-variable/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Thu, 22 Jul 2021 07:48:17 +0000</pubDate>
				<category><![CDATA[Visual Basic]]></category>
		<category><![CDATA[3i Infotech Li interview questions and answers]]></category>
		<category><![CDATA[404 error message]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Capgemini 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[Collabera Technologies interview questions and answers]]></category>
		<category><![CDATA[computer error messages]]></category>
		<category><![CDATA[Conduent interview questions and answers]]></category>
		<category><![CDATA[Datamatics Global Services Ltd interview questions and answers]]></category>
		<category><![CDATA[Dell Internationa interview questions and answers]]></category>
		<category><![CDATA[error 400]]></category>
		<category><![CDATA[error handling in vb]]></category>
		<category><![CDATA[error message]]></category>
		<category><![CDATA[error message generator]]></category>
		<category><![CDATA[error message in visual basics]]></category>
		<category><![CDATA[excel vba error handling]]></category>
		<category><![CDATA[excel vba error handlingerror message in visual basics]]></category>
		<category><![CDATA[excel vba on error]]></category>
		<category><![CDATA[FIS Global Business Solutions India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[funny error messages]]></category>
		<category><![CDATA[Genpact Headstrong Capital Markets interview questions and answers]]></category>
		<category><![CDATA[Genpact interview questions and answers]]></category>
		<category><![CDATA[Harbinger Systems interview questions and answers]]></category>
		<category><![CDATA[HCL Technologies interview questions and answers]]></category>
		<category><![CDATA[HealthAsyst Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[if error vba]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[javascript error message]]></category>
		<category><![CDATA[microsoft visual basic error]]></category>
		<category><![CDATA[microsoft visual basic error 400]]></category>
		<category><![CDATA[microsoft visual basic for applications error]]></category>
		<category><![CDATA[Mindtree interview questions and answers]]></category>
		<category><![CDATA[null error in vb]]></category>
		<category><![CDATA[null error in visual basic]]></category>
		<category><![CDATA[Persistent Systems interview questions and answers]]></category>
		<category><![CDATA[php error message]]></category>
		<category><![CDATA[R Systems interview questions and answers]]></category>
		<category><![CDATA[script error message]]></category>
		<category><![CDATA[Synechron Technologies Pvt Ltd 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[vb error]]></category>
		<category><![CDATA[vb error handling]]></category>
		<category><![CDATA[vb on error]]></category>
		<category><![CDATA[vb.net interview questions and answers for 3 years experience]]></category>
		<category><![CDATA[vba error 400]]></category>
		<category><![CDATA[vba error handling]]></category>
		<category><![CDATA[vba on error]]></category>
		<category><![CDATA[vba on error goto]]></category>
		<category><![CDATA[vba on error goto 0]]></category>
		<category><![CDATA[vba on error resume next]]></category>
		<category><![CDATA[Virtusa Consulting Services Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[visual basic]]></category>
		<category><![CDATA[visual basic 2010 exam questions]]></category>
		<category><![CDATA[visual basic 6.0 exam questions and answers]]></category>
		<category><![CDATA[visual basic 6.0 interview questions and answers]]></category>
		<category><![CDATA[visual basic 6.0 practical questions answers]]></category>
		<category><![CDATA[visual basic error 400]]></category>
		<category><![CDATA[visual basic exam questions and answers]]></category>
		<category><![CDATA[visual basic on error]]></category>
		<category><![CDATA[visual basic practical questions]]></category>
		<category><![CDATA[visual basic programming questions]]></category>
		<category><![CDATA[visual basic programming questions and answers]]></category>
		<category><![CDATA[visual basic question bank with answers]]></category>
		<category><![CDATA[visual basic questions and answers]]></category>
		<category><![CDATA[visual basic questions answers multiple choice]]></category>
		<category><![CDATA[Wells Farg interview questions and answers]]></category>
		<category><![CDATA[windows error message]]></category>
		<category><![CDATA[WNS ltd interview questions and answers]]></category>
		<category><![CDATA[yahoo interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=1216</guid>

					<description><![CDATA[Answer : error message: cannot convert null to int...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="what-is-the-error-message-that-you-would-get-if-you-try-to-assign-null-to-an-integer-variable" class="color-pink" style="text-align: justify;">What is the error message that you would get if you try to assign &#8220;Null&#8221; to an integer variable ?</h2>
</div>
</div>
<div class="Content">
<div class="hddn">
<ul>
<li style="text-align: justify;"><b>Error message : </b>Cannot convert null to int because it is a non-nullable value type(or) INVALID use of NULL.</li>
</ul>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/visual-basic/what-is-the-error-message-that-you-would-get-if-you-try-to-assign-null-to-an-integer-variable/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 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>
