Trending questions in Web Development

0 votes
1 answer

verbose stack Error: missing script: start

Hello @kartik, It looks like you might not ...READ MORE

Sep 4, 2020 in Java-Script by Niroj
• 82,880 points
7,229 views
0 votes
1 answer

How to check if a user email already exist?

Hello @kartik, The validation feature built into Laravel ...READ MORE

Dec 7, 2020 in Laravel by Niroj
• 82,880 points
3,193 views
0 votes
1 answer

How to send JavaScript Object with Socket.io from server to client?

Hello @kartik, You actually need to emit an ...READ MORE

Nov 30, 2020 in Node-js by Niroj
• 82,880 points
3,456 views
0 votes
1 answer

How to find the operating system version using JavaScript?

Hello @kartik, Try this: var OSName = "Unknown"; if (window.navigator.userAgent.indexOf("Windows ...READ MORE

Oct 7, 2020 in Java-Script by Niroj
• 82,880 points
5,754 views
0 votes
1 answer

How throw forbidden exception from middleware in laravel5?

Hello @kartik, You can simply use the abort() helper. (Or App::abort()) public ...READ MORE

Oct 23, 2020 in Laravel by Niroj
• 82,880 points
5,056 views
0 votes
1 answer

How to delete object from array inside foreach loop?

Hello @kartik, Use this: foreach($array as $elementKey => $element) ...READ MORE

Sep 15, 2020 in PHP by Niroj
• 82,880 points
6,680 views
0 votes
1 answer

How to get the anchor from the URL using jQuery?

Hello @kartik, For current window, you can use this: var ...READ MORE

Oct 9, 2020 in Java-Script by Niroj
• 82,880 points
5,626 views
0 votes
1 answer

How to check if memcache or memcached is installed for PHP?

Hii, You can look at phpinfo() or check ...READ MORE

Nov 6, 2020 in PHP by Niroj
• 82,880 points
4,394 views
0 votes
1 answer

How to convert a string to JSON object in PHP?

Hello @kartik, it seems that your JSON is ...READ MORE

Oct 20, 2020 in PHP by Niroj
• 82,880 points
5,112 views
0 votes
1 answer

How to Start another node application using node.js?

Hello @kartik, Use child_process.fork(). It is similar to spawn(), but ...READ MORE

Nov 30, 2020 in Node-js by Niroj
• 82,880 points
3,360 views
0 votes
1 answer

PHP Warning Permission denied (13) on session_start()

Hello @kartik, You don't appear to have write ...READ MORE

Nov 17, 2020 in PHP by Niroj
• 82,880 points
3,861 views
0 votes
1 answer

How to update nested state properties in React

Hello @kartik, In order to setState for a nested object ...READ MORE

Jul 22, 2020 in Angular by Niroj
• 82,880 points
8,946 views
0 votes
1 answer

How to compare two encrypted(bcrypt) password in laravel?

Hello @kartik, You can simply use Hash::check() method eg: if(Hash::check('plain-text', $hashedPassword)) ...READ MORE

Oct 21, 2020 in Laravel by Niroj
• 82,880 points
5,044 views
0 votes
1 answer

unable to load image file using <img> tag

This error means that file was not ...READ MORE

Oct 7, 2020 in HTML by Niroj
• 82,880 points
5,619 views
0 votes
1 answer

How to retrieve config and env variable in vue component?

Hello @kartik, To access your env variables in ...READ MORE

Jun 11, 2020 in Java-Script by Niroj
• 82,880 points
10,686 views
0 votes
1 answer

How to adjust width and height of iframe to fit with content in it?

Hello @kartik, <script type="application/javascript"> function resizeIFrameToFitContent( iFrame ) { ...READ MORE

Sep 4, 2020 in Java-Script by Niroj
• 82,880 points
7,004 views
0 votes
1 answer

How to store input value into array then localstorage?

Hello @ abhittac, You have create the array everytime the ...READ MORE

Jul 24, 2020 in Java-Script by Niroj
• 82,880 points
8,800 views
0 votes
1 answer

How to add `style=display:“block”` to an element using jQuery?

Hello @kartik, Try this: $("#YourElementID").css("display","block"); Or $("#YourElementID").css({ display: "block" }); Hope it ...READ MORE

Oct 7, 2020 in Java-Script by Niroj
• 82,880 points
5,531 views
0 votes
1 answer

Error: listen EACCES 0.0.0.0:80 OSx Node.js

Hello @kartik, Give root access to node and ...READ MORE

Oct 14, 2020 in Node-js by Niroj
• 82,880 points
5,236 views
0 votes
1 answer

How to decode HTML entities using jQuery?

Hello @kartik, To encode: $("<textarea/>").html('<a>').html(); ...READ MORE

Sep 2, 2020 in Java-Script by Niroj
• 82,880 points
7,054 views
0 votes
1 answer

How to setup route for websocket server in express?

Hello @kartik, You'll want to use the path option: var wss ...READ MORE

Oct 16, 2020 in Node-js by Niroj
• 82,880 points
5,104 views
0 votes
1 answer

How to check whether property exists in object or class in php?

Hello @kartik, Using  property_exists( mixed $class , string $property ...READ MORE

Oct 1, 2020 in PHP by Niroj
• 82,880 points
5,747 views
0 votes
1 answer

How to configure Laravel mail.php to use built-in mail function?

Hello, To do the same as mail() PHP ...READ MORE

Dec 3, 2020 in Laravel by Niroj
• 82,880 points
2,996 views
0 votes
1 answer

How to match input password and database hash password in laravel?

Hello @kartik, First, you'll need to find the ...READ MORE

Sep 30, 2020 in Laravel by Niroj
• 82,880 points
5,745 views
0 votes
1 answer

How to access PHP session variables from jQuery function in a .js file?

Hello, You can produce the javascript file via ...READ MORE

Apr 29, 2020 in Java-Script by Niroj
• 82,880 points
12,401 views
0 votes
1 answer

How to convert timestamp to date in MySQL query?

Hello @kartik, Try this: DATE_FORMAT(FROM_UNIXTIME(`user.registration`), '%e %b %Y') AS ...READ MORE

Aug 19, 2020 in PHP by Niroj
• 82,880 points
7,548 views
0 votes
1 answer

Error:invalid address: @invalid@email You must provide at least one recipient email address.

Hello, PHPMailer uses Exceptions. Try the following code: require_once '../class.phpmailer.php'; $mail = new ...READ MORE

Nov 13, 2020 in PHP by Niroj
• 82,880 points
3,830 views
0 votes
1 answer

How to show an alert box in PHP?

Hello, use this code echo '<script language="javascript">'; echo 'alert("message successfully ...READ MORE

Nov 4, 2020 in PHP by Niroj
• 82,880 points
4,211 views
0 votes
1 answer

How to allow duplicate keys in php array?

Hello @kartik, You could have a single key ...READ MORE

Nov 19, 2020 in PHP by Niroj
• 82,880 points
3,558 views
0 votes
1 answer

How to use withErrors with Exception error messages in Laravel?

Hello @kartik, Try this: return Redirect::to('admin/users/create') ...READ MORE

Oct 28, 2020 in Laravel by Niroj
• 82,880 points
4,452 views
0 votes
1 answer

Error : Call to undefined method Illuminate\Http\Request::put()

Hello, You need to customize the request $data = ...READ MORE

Nov 11, 2020 in Laravel by Niroj
• 82,880 points
3,834 views
0 votes
1 answer

Error:Symfony\Component\Debug\Exception\FatalErrorException] syntax error, unexpected ',', expecting variable (T_VARIABLE)

Hii, Try this command: php -S localhost:8000 -t public Then ...READ MORE

Dec 4, 2020 in Laravel by Niroj
• 82,880 points
2,822 views
0 votes
1 answer

How to write CSV To File Without Enclosures In PHP?

Hello @kartik, The warnings about foregoing enclosures are ...READ MORE

Nov 9, 2020 in PHP by Niroj
• 82,880 points
3,883 views
0 votes
1 answer

How do you set a default value for a MySQL Datetime column?

Hello @kartik, In version 5.6.5, it is possible ...READ MORE

Aug 18, 2020 in PHP by Niroj
• 82,880 points
7,495 views
0 votes
1 answer

How to import all classes from another namespace in PHP?

Hello @kartik, This is not possible in PHP. All ...READ MORE

Oct 20, 2020 in PHP by Niroj
• 82,880 points
4,747 views
0 votes
1 answer

Error:'bower' is not recognized as an internal or external command, operable program or batch file

Hello @kartik, Fixed it by adding the 'npm' ...READ MORE

Oct 14, 2020 in Node-js by Niroj
• 82,880 points
5,002 views
0 votes
1 answer

Error:Cannot find module 'xmlhttprequest'

Hello @kartik, XMLHttpRequest is a built-in object in web ...READ MORE

Sep 7, 2020 in Node-js by Niroj
• 82,880 points
6,588 views
0 votes
1 answer

How to check if a string contains a specific text using php?

Hello @kartik, Use the strpos function:  $haystack = "foo bar baz"; $needle ...READ MORE

Nov 10, 2020 in PHP by Niroj
• 82,880 points
3,819 views
0 votes
1 answer

How to get the npm global path prefix?

Hello @kartik, Try this: npm config get prefix will return ...READ MORE

Oct 15, 2020 in Node-js by Niroj
• 82,880 points
4,914 views
0 votes
1 answer

How to get the id when you're validating in the model Validation unique on update using laravel?

Hello @kartik, in Laravel's inbuilt auth system, the ...READ MORE

Sep 11, 2020 in Laravel by Niroj
• 82,880 points
6,362 views
0 votes
1 answer

How to get rid of underline for Link component of React Router?

Hello, If you are using styled-components, you could do ...READ MORE

May 18, 2020 in Java-Script by Niroj
• 82,880 points
11,356 views
0 votes
1 answer

How to Get the Current URL Inside @if Statement in Laravel?

Hello @kartik, You can use: Request::url() to obtain the current ...READ MORE

Nov 11, 2020 in Laravel by Niroj
• 82,880 points
3,718 views
0 votes
1 answer

How do I get raw form data in laravel?

Hii @kartik, Laravel intercepts all input. If you're ...READ MORE

Oct 28, 2020 in Laravel by Niroj
• 82,880 points
4,315 views
0 votes
1 answer

How to reset <input type = “file”> using javascript?

Hello @kartik, You need to wrap <input type = ...READ MORE

Sep 18, 2020 in Java-Script by Niroj
• 82,880 points
6,006 views
0 votes
1 answer

How to increase request timeout in IIS?

Hello @kartik, To Increase request time out add ...READ MORE

Jul 23, 2020 in Angular by Niroj
• 82,880 points
8,474 views
0 votes
1 answer

How to write a test which expects an Error to be thrown in Jasmine?

Hello @kartik, Try using an anonymous function instead: expect( ...READ MORE

Jul 13, 2020 in Node-js by Niroj
• 82,880 points
8,882 views
0 votes
1 answer

How can I ping a server port with PHP?

Hello @kartik, Test different ports: $wait = 1; // ...READ MORE

Nov 19, 2020 in PHP by Niroj
• 82,880 points
3,310 views
0 votes
1 answer

Fatal error: Call to undefined function mysql_connect()

Hello @kartik, You upgraded to PHP 7, and ...READ MORE

Nov 23, 2020 in PHP by Niroj
• 82,880 points
3,132 views
0 votes
1 answer

How can I pass parameter from Route to Filter in laravel?

Hii, Filters can be passed parameters, like the ...READ MORE

Dec 4, 2020 in Laravel by Niroj
• 82,880 points
2,660 views
0 votes
1 answer

How to asynchronous shell exec in PHP?

Hello @kartik, good way to run an asynchronous ...READ MORE

Sep 29, 2020 in Laravel by Niroj
• 82,880 points
5,481 views