
Search In
die() function is error handling method in PHP which used to handle a error in web application. It's also used to check whether the function is work properly or not.
<?php
$file=fopen("myfile.txt","r");
?>
If myfile.txt file does not exist,
While making API you can have different kind of response and you have to handle that for displaying data
public IHttpActionResult GetDetails(string Id)
{
logger.Info("GetDetailsById method called");
// BadRequest det
Hello friends,
When I clicked on an image and dragged it on UBUNTU I faced an issue that unfortunately there are two cursors on the screen. I searched for the problem and checked system settings--> mouse and touchpad settings but no solution foun
If you having any sting or text containing the url of any websites
<?php
$text = "I have to extract the url http://abc.com from this line";
echo explode(' ',strstr($text,'http://'))[0];
Output :-
http://abc.com
Although there are so many o
Hello I'm using git and I just updated code on my get portal but everytime I'm trying to push the update from terminal this error message is showing:-
fatal: Not a git repository (or any of the parent directories): .git
root@ongeza-live-evon
After dealing with html2pdf library,I found that if we are trying to generate html to PDFs for more than one page never use nested table layout structure.in order to avoid this error "The content of a TD tag does not fit on only one page "..Instead
After dealing with html2pdf library,I found that if we are trying to generate html to PDFs for more than one page never use nested table layout structure.in order to avoid this error "The content of a TD tag does not fit on only one page "..Instead
Below are the state of any bug by which bug goes through during test life cycle.
1.NEW : Tester Found new bug in the application.
2.Assigned : Tester assign Bug to the developer.
3.Open : Developer is fixing the bug .
4.Fixed : Developer has fixed t
I would like to share an interesting feature that I found as I was trying to submit form through JavaScript.
If you are trying to "form.submit()" through javascript and any form elements present with the name of "submit" in it, then in that case it w
I came across a requirement where i had to find the current domain address of the app as i had to send an email to users with a public page url. I knew the virtual address of page but it would not work as in order to open a page from my website using
